|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 15:01:28 2023 UTC