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:
----------------
[EMAIL PROTECTED]:~> php test.php
NULL
OK
[EMAIL PROTECTED]:~>

Actual result:
--------------
[EMAIL PROTECTED]:~> php test.php
[EMAIL PROTECTED]:~>


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37740&edit=1

Reply via email to