ID: 9152
Updated by: stas
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Assigned To: 

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???

class titi {

$ti=new titi( $p1,$p2,a());



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
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