note 114589 added to language.basic-syntax.phpmode

From: Date: Mon, 10 Mar 2014 07:01:34 +0000
Subject: note 114589 added to language.basic-syntax.phpmode
Groups: php.notes 
Request: Send a blank email to php-notes+get-198845@lists.php.net to get a copy of this message
Although not specifically pointed out in the main text, escaping from HTML also applies to other control statements: <?php for ($i = 0; $i < 5; ++$i): ?> Hello, there! <?php endfor; ?> When the above code snippet is executed we get the following output: Hello, there! Hello, there! Hello, there! Hello, there! ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/language.basic-syntax.phpmode.php Edit -- https://master.php.net/note/edit/114589 Del: integrated -- https://master.php.net/note/delete/114589/integrated Del: useless -- https://master.php.net/note/delete/114589/useless Del: bad code -- https://master.php.net/note/delete/114589/bad+code Del: spam -- https://master.php.net/note/delete/114589/spam Del: non-english -- https://master.php.net/note/delete/114589/non-english Del: in docs -- https://master.php.net/note/delete/114589/in+docs Del: other reasons-- https://master.php.net/note/delete/114589 Reject -- https://master.php.net/note/reject/114589 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198845) next »