[php-maint] Bug#658872: Call-time pass-by-reference has been removed from php5 (>= 5.4)

Ondřej Surý ondrej at debian.org
Mon Feb 6 13:53:46 UTC 2012

Package: php-net-ldap2
Version: 2.0.9-1
Severity: important
User: pkg-php-maint at lists.alioth.debian.org
Usertags: php54

Dear maintainer,

package php-net-ldap2 currently fails to parse correctly with
PHP 5.4 with following error(s):

PHP Parse error:  syntax error, unexpected ''delete'' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /usr/share/doc/php-net-ldap2/doc/examples/modify_entry2.php on line 29
Errors parsing /usr/share/doc/php-net-ldap2/doc/examples/modify_entry2.php
xargs: php5: exited with status 255; aborting

These error were generated by php in the lint mode.  To reproduce
please install php5-cli and run:

dpkg -L php-net-ldap2 | grep -E ".php[54]?" | xargs -i php -l {}

PHP 5.4 is planned to be included in wheezy, as such, this bug might
become RC if not fixed before 5.4 is uploaded to sid.

Ondřej Surý <ondrej at debian.org>

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the pkg-php-maint mailing list