PHP 4.0 Bug #9152 Updated: undefined function not signaled

From: Date: Tue, 06 Mar 2001 13:23:10 +0000
Subject: PHP 4.0 Bug #9152 Updated: undefined function not signaled
Groups: php.dev 
Request: Send a blank email to php-dev+get-48036@lists.php.net to get a copy of this message
ID: 9152 Updated by: stas Reported By: carmelo@akooe.com Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: That's not a bug, that's a feature. Since you have no constructor, you need no arguments for it. Since you do not need them, they are never evaluaed. So, a() call is never called, and since functions in PHP are runtime-bound, it never needs to discover that a() does not exist. Previous Comments: --------------------------------------------------------------------------- [2001-02-07 11:24:45] carmelo@akooe.com this construct doesn't yeld an error. it should no??? <?php class titi { } $ti=new titi( $p1,$p2,a()); ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9152&edit=2

« previous php.dev (#48036) next »