eval puzzle

From: Date: Fri, 18 Feb 2005 05:46:33 +0000
Subject: eval puzzle
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-36254@lists.php.net to get a copy of this message
Salut Vincent !
Can you think of any $string containing valid PHP code for eval such that eval($string) and eval($string.";") don't do the same thing
toggg    $string=$string.'//'
Can I try:
$string=$string."\n//"; à+ -- bertrand Gugger (toggg)

« previous php.pear.dev (#36254) next »