[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657077: transition: php5 5.4



2012/2/7 Mehdi Dogguy <mehdi@debian.org>:
> On 06/02/12 23:21, Ondřej Surý wrote:
>>
>> On Mon, Feb 6, 2012 at 22:14, Ondřej Surý<ondrej@sury.org>  wrote:
>>>>
>>>> I'm pretty sure something like that was done for python.  I don't
>>>> think perl breaks source level compatibility to anywhere near the
>>>> same extent (could be wrong, though).
>>
>>
>> http://wiki.debian.org/PHP/54Transition
>>
>> All those "NEED-CHECK" has been checked by me that there are no
>> regressions from 5.3 to 5.4, but there are some errors anyway which
>> should be checked by maintainer.
>>
>
> It's "NEED-VERIFY" fwiw.

Ok, changed.

> And what means "there are no regressions but
> there are some errors"? Can you be more specific?

This means some files were already broken in PHP 5.3, so there are
same errors in 5.3 and in 5.4.
For example docbookwiki:

php 5.3:
-- cut here --
PHP Parse error:  syntax error, unexpected T_VARIABLE in
/docbookwiki-0.9.2-2/usr/share/php/web_app/session/sample/test.Session.php
on line 56
Errors parsing /docbookwiki-0.9.2-2/usr/share/php/web_app/session/sample/test.Session.php
PHP Parse error:  syntax error, unexpected T_STRING in
/docbookwiki-0.9.2-2/usr/share/docbookwiki/upload.php on line 31
Errors parsing /docbookwiki-0.9.2-2/usr/share/docbookwiki/upload.php
-- cut here --

php 5.4:
-- cut here --
PHP Parse error:  syntax error, unexpected '$SESSION_VARS'
(T_VARIABLE) in
/docbookwiki-0.9.2-2/usr/share/php/web_app/session/sample/test.Session.php
on line 56
Errors parsing /docbookwiki-0.9.2-2/usr/share/php/web_app/session/sample/test.Session.php
PHP Parse error:  syntax error, unexpected 'set_locale' (T_STRING) in
/docbookwiki-0.9.2-2/usr/share/docbookwiki/upload.php on line 31
Errors parsing /docbookwiki-0.9.2-2/usr/share/docbookwiki/upload.php
-- cut here --

The only difference is name of the variable in the error log.

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



Reply to: