note 76432 added to language.basic-syntax
| From: | truepath at infiniteinjury dot org | Date: | Sun, 15 Jul 2007 08:08:28 +0000 |
| Subject: | note 76432 added to language.basic-syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128535@lists.php.net to get a copy of this message | ||
"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
----
Server IP: 69.147.83.197
Probable Submitter: 71.198.108.125
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.php
Edit -- https://master.php.net/note/edit/76432
Del: integrated -- https://master.php.net/note/delete/76432/integrated
Del: useless -- https://master.php.net/note/delete/76432/useless
Del: bad code -- https://master.php.net/note/delete/76432/bad+code
Del: spam -- https://master.php.net/note/delete/76432/spam
Del: non-english -- https://master.php.net/note/delete/76432/non-english
Del: in docs -- https://master.php.net/note/delete/76432/in+docs
Del: other reasons-- https://master.php.net/note/delete/76432
Reject -- https://master.php.net/note/reject/76432
Search -- https://master.php.net/manage/user-notes.php