note 42924 deleted from function.eval by sniper

From: Date: Thu, 29 Dec 2005 09:15:28 +0000
Subject: note 42924 deleted from function.eval by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-100912@lists.php.net to get a copy of this message
Note Submitter: ulderico at maber dot com dot br ---- For some perverted reason that I haven't manage to figure out, CONTINUE and BREAK do not break a loop OUTSIDE the eval code... Thus: eval(" for(...){ continue; }"); works, BUT: for(...){ eval("continue;"); } DO NOT WORK. Pay attention to this when you're trying to develope a program that would rewrite it's own source code using eval as a realtime compiler.

« previous php.notes (#100912) next »