ID: 9152
Updated by: stas
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to