Date: 02/22/01
- Next message: Ian Holsman: "[PHP-DEV] Apache 2"
- Previous message: bugs <email protected>: "[PHP-DEV] PHP 4.0 Bug #9416: ereg_replace returns "Warning: Invalid content of \{\}""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: david <email protected>
Operating system: GNU/linux
PHP version: 4.0 Latest CVS (22/02/2001)
PHP Bug Type: Feature/Change Request
Bug description: zend_eval_string() doesn't work like eval() :(
I need to simulate a call to eval() and the only function
that seems to be able to do it is zend_eval_string().
Although it evaluates the string when I put NULL as second
parameter (retval_ptr), it doesn't work (parse error) when I
want to simulate the new behavior of PHP4 eval() (ie. with a
return value)
Is it possible to change the existing zend_eval_string (I
think not cause pcre and assert use it this way already) ?
If not, is it possible to have a new function that would
behave like eval(), with the same parameters as
zend_eval_string (I want to be able to specify a name on the
string) ?
Thanx
-- Edit Bug report at: http://bugs.php.net/?id=9417&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Ian Holsman: "[PHP-DEV] Apache 2"
- Previous message: bugs <email protected>: "[PHP-DEV] PHP 4.0 Bug #9416: ereg_replace returns "Warning: Invalid content of \{\}""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

