ID:               20547
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Scripting Engine problem
 Operating System: Linux
 PHP Version:      4.2.2
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2002-11-21 11:59:58] [EMAIL PROTECTED]

I think, that following example is self-explaining. Shouldn't the
parser detect such as errors? After testing, try to uncomment line #
serialize($tmp); and refresh the page - PHP hungs-up...

Danny

<?php
error_reporting(E_ALL);

class test {
        function tt() {
                echo "yooo";
        }

        function tt() {
                echo "neee";
        }
        
        function __sleep() {            
        }
        
        function __sleep() {            
        }
}

$tmp=new test();
$tmp->tt();

# serialize($tmp);

echo "TEST:END";
?>

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


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

Reply via email to