note 115371 added to function.halt-compiler

From: Date: Mon, 14 Jul 2014 09:41:56 +0000
Subject: note 115371 added to function.halt-compiler
Groups: php.notes 
Request: Send a blank email to php-notes+get-199926@lists.php.net to get a copy of this message
Joey, you're wrong saying that __halt_compiler have strange behavior. This structure works exactly the same as any other build in structure like empty or isset (even similarly to functions; at least in tokenizer level). About T_OPEN_TAG - after one open tag is present you didn't expect other one in current php code section, so tokenizer try to handle this "thing" in other way and it's perfectly normal... ---- Server IP: 46.17.113.50 Probable Submitter: 89.68.93.9 ---- Manual Page -- http://php.net/manual/en/function.halt-compiler.php Edit -- https://master.php.net/note/edit/115371 Del: integrated -- https://master.php.net/note/delete/115371/integrated Del: useless -- https://master.php.net/note/delete/115371/useless Del: bad code -- https://master.php.net/note/delete/115371/bad+code Del: spam -- https://master.php.net/note/delete/115371/spam Del: non-english -- https://master.php.net/note/delete/115371/non-english Del: in docs -- https://master.php.net/note/delete/115371/in+docs Del: other reasons-- https://master.php.net/note/delete/115371 Reject -- https://master.php.net/note/reject/115371 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199926) next »