php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #6343 enable pass by reference to be optional
Submitted: 2000-08-24 23:24 UTC Modified: 2005-08-11 17:51 UTC
Votes:4
Avg. Score:4.8 ± 0.4
Reproduced:3 of 4 (75.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: waldschrott@php.net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0 Latest CVS (24/08/2000) OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: waldschrott@php.net
New email:
PHP Version: OS:

 

 [2000-08-24 23:24 UTC] waldschrott@php.net
It would quite fine if zend would support this syntax...

function ref(&$var='') {}
To enable optional references. If no parameter is supplied,
set $var to standard value, as usual.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-23 20:40 UTC] rainmaker at omenmedia dot com
This was submitted almost three years ago, is still open, and there are no additional comments on this report?  This particular issue is a major one and needs urgent attention.
 [2003-03-23 20:40 UTC] rainmaker at omenmedia dot com
This was submitted almost three years ago, is still open, and there are no additional comments on this report?  This particular issue is a major one and needs urgent attention.
 [2005-08-11 17:51 UTC] nlopess@php.net
This works in PHP 5.1.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 09:00:03 2025 UTC