#37740 [Opn]: PHP Crash

From: Date: Thu, 08 Jun 2006 09:29:09 +0000
Subject: #37740 [Opn]: PHP Crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98166@lists.php.net to get a copy of this message
ID: 37740 User updated by: thomas at ecommerce dot com -Summary: OOP -> Maximum function nesting error Reported By: thomas at ecommerce dot com Status: Open Bug Type: *General Issues Operating System: SuSE Linux 10,0 PHP Version: 5.1.4 New Comment: ups, wrong title name Previous Comments: ------------------------------------------------------------------------ [2006-06-08 09:24:42] thomas at ecommerce dot com Description: ------------ The following code is crashing PHP. There is no output at all or something like that. The class blabla don't exists, and i put a @ before the variable name to avoid erros. $sdf should be null ( or an stdClass() var ), but still, all after this line will not be executed. @$sdf = new blabla; Reproduce code: --------------- <?php @$sdf = new blabla; //-- should create atleast an error message var_dump($sdf); echo "OK\n"; Expected result: ---------------- Thomas@linux:~> php test.php NULL OK Thomas@linux:~> Actual result: -------------- Thomas@linux:~> php test.php Thomas@linux:~> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37740&edit=1

« previous php.bugs (#98166) next »