|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22037 calling a function which expects a ref
Submitted: 2003-02-03 13:35 UTC Modified: 2003-02-13 19:52 UTC
From: adhir at symplicity dot com Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.3.0 OS: Redhat 7.3 Linux
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: adhir at symplicity dot com
New email:
PHP Version: OS:


 [2003-02-03 13:35 UTC] adhir at symplicity dot com
The following code works fine in 4.2.3, but segfaults in 4.3.0 (even though it passes the syntax check):


function hi(&$aref) {
  echo $aref."\n";


hi($_dummy = "hey");


My configure line:

# ./configure  --with-apxs=/usr/local/apache/bin/apxs --with-java --with-pdflib=/usr/local --with-gd --w
ith-ttf --enable-trans-sid --with-curl --with-openssl --enable-sysvsem --enable-sysvshm --with-zlib --wi
th-mysql=/usr/local/mysql --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-gette
xt --with-imap --with-imap-ssl --with-ldap --with-kerberos --enable-ftp --with-iodbc=/usr --with-oci8 --
with-imagick --enable-xslt --with-xslt-sablot=/usr/local --with-expat-dir=/usr


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-03 13:45 UTC]
Can't be reproduced with the latest CVS version (ZE1 / ZE2).
Does your problem look like bug #21600?

 [2003-02-13 19:52 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 01 13:01:30 2024 UTC