php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #1770 Dynamic defaults for class constructors
Submitted: 1999-07-20 17:01 UTC Modified: 2000-06-12 20:02 UTC
From: georgeh at blowtorch dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Beta 1 OS: All
Private report: No CVE-ID: None
 [1999-07-20 17:01 UTC] georgeh at blowtorch dot com
I know the PHP4 website says this is an inconsistancy between PHP4 and PHP3, but it wasn't clear if it was a consistancy that was permanant or one that was going to change.

Contrary to the PHP site, I think the ability to have any expression used to initialize a parameter to a function is extremely useful in many cases.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-12 20:02 UTC] zeev at cvs dot php dot net
It's permanant
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Jun 18 00:00:02 2026 UTC