Home Tutorial Php Phparray PHP array as string


Share on Google+Share on Google+
PHP array as string
Posted on: October 27, 2009 at 12:00 AM
This section demonstrates Learn the PHP Array as String as well as how to use implode() php function.

  • implode () function joins the array elements into a single string variable.

Example of PHP Array as String



echo $ar1;

echo "<br>size is ".sizeof($ar1);


echo "<br>".$a;

echo "<br> size is ".sizeof($a);



size is 4
size is 1


Related Tags for PHP array as string:

Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 27, 2009

Recommend the tutorial

Advertisements Advertisements