|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-08-22 08:10 UTC] rasmus
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 02:00:01 2025 UTC |
ChangeLog documents new constructor feature. I've not seen any documentation on how this works, however running some old scripts through 3.0.3 fails: <? class test { function test($what) { } } $obj = new test; ?> The above under 3.0.1 works fine. 3.0.3 gives: Warning: Missing argument 1 in call to test() in 303test.php3 on line 3 Is it just my luck that I used functions with the same name as the class? Should I edit all my source?