PHP 4.0 Bug #9466: Eval With return doesn't work

From: Date: Mon, 26 Feb 2001 18:32:53 +0000
Subject: PHP 4.0 Bug #9466: Eval With return doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-47573@lists.php.net to get a copy of this message
From: pvzweden@caiw.nl Operating system: Linux PHP version: 4.0.3pl1 PHP Bug Type: Unknown/Other Function Bug description: Eval With return doesn't work When i create a piece of code with eval like : eval = "if (!isset(\$$value)) {"; eval .= " return 0; " eval .= "}"; eval("$eval"); The return statement doesn't work. It works with earlier versions of php. (php3). -- Edit Bug report at: http://bugs.php.net/?id=9466&edit=1

« previous php.dev (#47573) next »