note 96413 deleted from function.eval by peehaa

From: Date: Mon, 09 Dec 2013 11:57:55 +0000
Subject: note 96413 deleted from function.eval by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-197860@lists.php.net to get a copy of this message
Note Submitter: vladimiroski at gmail dot com ---- Please note that when you do something like this: <?php eval('?>' . $code . '<?'); ?> You must end it with '<?' because the following will give you a parse error: <?php eval('?>' . $code . '<?php'); ?> Somehow eval() only likes PHP opening short-tag AKA '<?' but fails with '<?php'

« previous php.notes (#197860) next »