<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Package: php5
<br>
Version: 5.3.8-2
<br>
Severity: normal
<br>
<br>
Call to functions with arguments passed by reference are deprecated
since PHP 5.3. However, these do not trigger a notice/error. There
is an option to allow these calls without causing notices
(allow_call_time_pass_reference) but it is not enabled here.<br>
<br>
I created a test script for that which I'm attaching. I'm attaching
its output and errors too. The split() call simply confirms that the
problem is not that E_DEPRECATED is not set.<br>
<br>
I asked other people on ##php to test and they reported their PHP
generated notices for the pass-by-reference call script, as
expected. These 2 people pasted their results, which may still be
available on <a class="moz-txt-link-freetext" href="http://codepad.viper-7.com/303dgf">http://codepad.viper-7.com/303dgf</a> and
<a class="moz-txt-link-freetext" href="http://codepad.viper-7.com/iiYsph">http://codepad.viper-7.com/iiYsph</a><br>
Note that these were running an earlier version of the script. Their
output contains:<br>
<br>
<blockquote type="cite"><b>Deprecated</b>: Call-time
pass-by-reference has been deprecated; If you would like to pass
it by reference, modify the declaration of foo(). If you would
like to enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file in <b>/code/iiYsph</b>
on line <b>8</b></blockquote>
<br>
I tested on a squeeze server and reproduced the issue. I also asked
on #debian and another user reproduced also using squeeze.<br>
<br>
--- System information. ---
<br>
Architecture: i386
<br>
Kernel: Linux 3.0.0-2-amd64
<br>
<br>
Debian Release: wheezy/sid
<br>
990 testing security.debian.org <br>
990 testing <a class="moz-txt-link-abbreviated" href="ftp://ftp.ca.debian.org">ftp.ca.debian.org</a> <br>
500 unstable <a class="moz-txt-link-abbreviated" href="ftp://ftp.ca.debian.org">ftp.ca.debian.org</a> <br>
1 experimental <a class="moz-txt-link-abbreviated" href="ftp://ftp.ca.debian.org">ftp.ca.debian.org</a> <br>
<br>
--- Package information. ---
<br>
Depends (Version) | Installed
<br>
===========================================-+-==============
<br>
libapache2-mod-php5 (>= 5.3.8-2) | 5.3.8-2
<br>
OR libapache2-mod-php5filter (>= 5.3.8-2) | <br>
OR php5-cgi (>= 5.3.8-2) | <br>
OR php5-fpm (>= 5.3.8-2) | <br>
php5-common (>= 5.3.8-2) | 5.3.8-2
<br>
<br>
<br>
Package's Recommends field is empty.
<br>
<br>
Package's Suggests field is empty.
<br>
<br>
<br>
<br>
</body>
</html>