note 76432 rejected from language.basic-syntax by thiago
| From: | thiago@php.net | Date: | Wed, 20 Aug 2008 02:24:19 +0000 |
| Subject: | note 76432 rejected from language.basic-syntax by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-143653@lists.php.net to get a copy of this message | ||
Note Submitter: truepath at infiniteinjury dot org
----
"This works as expected, because when PHP hits the ?> closing tags, it simply starts
outputting whatever it finds"
This is worded very confusingly so if you think you know what's going on just ignore this (I
knew how this had to work from ruby but this comment made me think I was confused). To be clear the
documentation is NOT saying that whenever the PHP *parser* hits the closing tag it starts outputting
whatever if finds. What they mean is that ?> acts just like a php instruction that outputs
whatever text it finds until it sees a <?php