Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 988905
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:42:17+00:00 2026-05-16T05:42:17+00:00

var_dump(implode(‘,’, array(’11’,’22’))); And var_dump(implode(array(’11’,’22’), ‘,’)); Which is right?

  • 0
var_dump(implode(',', array('11','22')));

And

var_dump(implode(array('11','22'), ','));

Which is right?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T05:42:18+00:00Added an answer on May 16, 2026 at 5:42 am

    According to the documentation on implode():

    implode() can, for historical reasons, accept its parameters in either order. For consistency with explode(), however, it may be less confusing to use the documented order of arguments.

    The documented description is:

    string implode ( string $glue , array $pieces  ) 
    

    implode(',', array('11','22')) (the documented order) is identical to implode(array('11','22'), ',')). Both create the string 11,22.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

public function insert($table, $data = array()) { $fieldnames = array_keys ( $data ); var_dump(implode
When I dump my the varable var_dump($search_results_returned['post_q_2_full']); the following is printed: array(1) { [0]=>
Here is the result of var_dump($my_var[id]) on the object I'm having issues with: array(1)
I have the following output (via link) which displays the var_dump of some XML
when i say var_dump($this->variables['DEFAULTS_VALUES']); I get the Following array array(1) { [ABE LOB RPT]=>
i have this two lines: var_dump($parametros_post_signin); $this->redirect('prueba/aux?email='.$parametros_post_signin['signin']); the first one prints this: array 'signin'
var_dump(preg_match_all('/(job_show\.asp\?id=[0-9]*)>/s',':</font><a href=job_show.asp?id=42',$match)); $hrefs = $match[1]; var_dump($hrefs); Output is: int(0) array(0) { } It's supposed
My var_dump is returning this: array(5) { [radioinput]=> string(12) sidebar-left [option1]=> int(0) [sometext]=> string(0)
Var_dump result: object(stdClass)#2 (1) { [0]=> array(5) { [title]=> string(71) Tarihte Bugün Neler Olmuş?
When I var_dump on a variable called $tags (a multidimensional array) I get this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.