#37740 [Opn->Bgs]: PHP Crash

From: Date: Thu, 08 Jun 2006 10:46:07 +0000
Subject: #37740 [Opn->Bgs]: PHP Crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98168@lists.php.net to get a copy of this message
ID: 37740 Updated by: bjori@php.net Reported By: thomas at ecommerce dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: SuSE Linux 10,0 PHP Version: 5.1.4 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2006-06-08 09:29:08] thomas at ecommerce dot com ups, wrong title name ------------------------------------------------------------------------ [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 (#98168) next »