|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-09-29 18:00 UTC] Adam dot Kirk at edu dot sait dot ca
Description:
------------
When using the Echo to output text using a comma but inside the parenthesis () the output doesnt work
Reproduce code:
---------------
<?PHP
$first = Adam;
echo("My Name is ", $first);
?>
Expected result:
----------------
My Name is Adam
Actual result:
--------------
actual results is blank screen
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 02:00:02 2025 UTC |
As to my knowledge echo is a built in method (function) of php and per object oriented standards all methods including print and echo use parenthesis even in all the php 5 text books that I have seen use echo ("Name is ", $first); as consistant standard?