PHP 4.0 Bug #2881: Not Parse error for invalid ereg arguments.

From: Date: Wed, 01 Dec 1999 01:32:54 +0000
Subject: PHP 4.0 Bug #2881: Not Parse error for invalid ereg arguments.
Groups: php.dev 
Request: Send a blank email to php-dev+get-13316@lists.php.net to get a copy of this message
From: php-bug@slayford.com 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

« previous php.dev (#13316) next »