#22037 [Opn->Fbk]: calling a function which expects a ref
| From: | moriyoshi@php.net | Date: | Mon, 03 Feb 2003 19:45:25 +0000 |
| Subject: | #22037 [Opn->Fbk]: calling a function which expects a ref | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-32012@lists.php.net to get a copy of this message | ||
ID: 22037
Updated by: moriyoshi@php.net
Reported By: adhir@symplicity.com
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Redhat 7.3 Linux
PHP Version: 4.3.0
New Comment:
Can't be reproduced with the latest CVS version (ZE1 / ZE2).
Does your problem look like bug #21600?
Previous Comments:
------------------------------------------------------------------------
[2003-02-03 13:35:52] adhir@symplicity.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22037&edit=1