PHP 4.0 Bug #8023: Mystyping reset(X) cause script dies whithout diag
| From: | sp at alkor dot ru | Date: | Wed, 29 Nov 2000 05:21:25 +0000 |
| Subject: | PHP 4.0 Bug #8023: Mystyping reset(X) cause script dies whithout diag | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39446@lists.php.net to get a copy of this message | ||
From: sp@alkor.ru
Operating system: FreeBSD 4.1-RELEASE
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: Mystyping reset(X) cause script dies whithout diag
When you mistype reset(X) instead of reset($X) script
dies [probably at parse state] without any diag/output.
When you're mistyping in complex script it's hard to
understand where's error.
Type foo.php and see results
<?
reset(X);
die("foo");
?>
--
Edit Bug report at: http://bugs.php.net/?id=8023&edit=1