note 51368 deleted from function.echo by tularis
| From: | tularis@php.net | Date: | Thu, 01 Nov 2007 09:16:29 +0000 |
| Subject: | note 51368 deleted from function.echo by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-131910@lists.php.net to get a copy of this message | ||
Note Submitter: renrutal at gmail dot com
----
Note that:
<?php
echo "2 + 2 = " . 2+2; // This will print 4
echo "2 + 2 = " , 2+2; // This will print 2+2 = 4
?>
The commas will parse the result of the expressions correctly.