php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9152 undefined function not signaled
Submitted: 2001-02-07 11:24 UTC Modified: 2001-03-06 08:23 UTC
From: carmelo at akooe dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.4pl1 OS: suse7.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: carmelo at akooe dot com
New email:
PHP Version: OS:

 

 [2001-02-07 11:24 UTC] carmelo at akooe dot com
this construct doesn't yeld an error.
it should no???
<?php

class titi {
}

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

?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-06 08:23 UTC] stas@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 12:01:29 2025 UTC