|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-21 18:45 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 21:00:01 2025 UTC |
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"; ?>