php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37740 PHP Crash
Submitted: 2006-06-08 09:24 UTC Modified: 2006-06-08 10:46 UTC
From: thomas at ecommerce dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.1.4 OS: SuSE Linux 10,0
Private report: No CVE-ID: None
 [2006-06-08 09:24 UTC] 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:~>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-08 09:29 UTC] thomas at ecommerce dot com
ups, wrong title name
 [2006-06-08 10:46 UTC] bjori@php.net
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


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 21 12:00:03 2025 UTC