[PHP-DEV] PHP 4.0 Bug #2881: Not Parse error for invalid ereg arguments. From: php-bug <email protected>
Date: 11/30/99

From: php-bug <email protected>
Operating system: Linux/RH6.0
PHP version: 4.0 Beta 2
PHP Bug Type: Scripting Engine problem
Bug description: Not Parse error for invalid ereg arguments.

The following line I would expect to produce a parse error since the third argument of the ereg function is not a variable.

ereg("^(ONE|TWO)[ ]+(THREE FOUR)$","ONE FOUR",argreg);

Instead the scripting engine bombs out with no output before producing any output that should have been before it. This suggests that the error is occuring during the parse phase.

I haven't included a backtrace since your instructions on howto do so was a missing page.

"Not Found
The requested URL /version4/bugs-generating-backtrace.php3 was not found on this server."

Thanks

Richard

-- 
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>