. syntax .
Posted: Tue May 09, 2006 12:04 pm
Okay, I know this is probably really basic, but there's really no good way to search for it...it should only need a simple answer:
In help, tutorials, the PHP manual (which I don't have time to read cover-to-cover), I keep seeing things like:
What in the world does putting things in . . do? Is it an alternative to something else? Where can I find it in documentation? Thanks?
In help, tutorials, the PHP manual (which I don't have time to read cover-to-cover), I keep seeing things like:
Code: Select all
<?php
$a = array(2, 4, 6, 8);
echo "sum(a) = " . array_sum($a) . "\n";
$b = array("a" => 1.2, "b" => 2.3, "c" => 3.4);
echo "sum(b) = " . array_sum($b) . "\n";
?>