php.net |  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
46 + 21 = ?
Subscribe to this entry?

 
 [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";
}

$a="hi";
hi($a);

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

 [2003-02-13 19:52 UTC] sniper@php.net
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: Sun Apr 28 21:01:29 2024 UTC