From:             thomas at ecommerce dot com
Operating system: SuSE Linux 10,0
PHP version:      5.1.4
PHP Bug Type:     *General Issues
Bug description:  OOP -> Maximum function nesting error

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 bug report at http://bugs.php.net/?id=37740&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37740&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=37740&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37740&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37740&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37740&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37740&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37740&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37740&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37740&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37740&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37740&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37740&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37740&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37740&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37740&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37740&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37740&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37740&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37740&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37740&r=mysqlcfg

Reply via email to