[pkg-horde] Bug#658870: Bug#658870: Call-time pass-by-reference has been removed from php5 (>= 5.4)

Ondřej Surý ondrej at debian.org
Mon Feb 6 15:57:05 UTC 2012


Also please note that php -l just checks the syntax of your code (syntax
errors, new reserved keywords, etc., so there could be different failures
in the source code which would be only revealed by running the code live.
But, alas, I don't have a time for that.

Ondrej

On Mon, Feb 6, 2012 at 16:02, Ondřej Surý <ondrej at debian.org> wrote:
> [Noticed the question after sending first email, reply below.]
>
> On Mon, Feb 6, 2012 at 15:51, Mathieu Parent <math.parent at gmail.com> wrote:
>> tag 658870 + upstream patch
>> forwarded 658870 http://bugs.horde.org/ticket/10965
>> thanks
>
>> Thanks for the report. Does this mean that this is the only fatal error?
>
> There was similar bug in horde3:
>
> php5.4/horde3.php-lint:PHP Fatal error:  Call-time pass-by-reference
> has been removed in /usr/share/horde3/lib/Horde/Kolab/Test/ilter.php
> on line 135
> php5.4/horde3.php-lint:Errors parsing
> /usr/share/horde3/lib/Horde/Kolab/Test/Filter.php
> php5.4/horde3.php-lint:xargs: php5: exited with status 255; aborting
>
> And hmm, just noticed this warning :-/
>
> php5.4/php-horde-auth.php-lint:PHP Fatal error:  Call-time
> pass-by-reference has been removed in /usr/share/php/Horde/Auth/Pam.pp
> on line 66
> php5.4/php-horde-auth.php-lint:Errors parsing /usr/share/php/Horde/Auth/Pam.php
> php5.4/php-horde-auth.php-lint:xargs: php5: exited with status 255; aborting
>
> When changed to:
> dpkg -L php-horde-auth | grep -E ".php[54]?" | xargs -i sh -c "php -l
> {} || true"
>
> It prints one more:
>
> PHP Parse error:  syntax error, unexpected 'version' (T_STRING) in
> /usr/share/php/tests/Horde_Auth/Horde/Auth/phpunit.xml on line 1
> Errors parsing /usr/share/php/tests/Horde_Auth/Horde/Auth/phpunit.xml
>
> But you will likely find this error with PHP 5.3 too.
>
> O.
> --
> Ondřej Surý <ondrej at sury.org>



-- 
Ondřej Surý <ondrej at sury.org>





More information about the pkg-horde-hackers mailing list