Zend Framework

Zend_Gdata uses split() which is deprecated since PHP 5.3

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.4
  • Fix Version/s: 1.9.0
  • Component/s: Zend_Gdata
  • Labels:
    None

Description

The now-deprecated split() function is used is various Zend_Gdata classes, which causes the tests to fail.
preg_split() or explode() should be used instead.

Activity

Hide
Trevor Johns added a comment -

Updated description to indicate that this affects more than just Zend_Gdata_Youtube.

Show
Trevor Johns added a comment - Updated description to indicate that this affects more than just Zend_Gdata_Youtube.
Hide
Trevor Johns added a comment -

Fixed in trunk by r16937.

Resolving as fixed for next minor version.

commit cc110429f4fa8c0ad98136c856f9c6c5e9bcc28c
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Tue Jul 21 22:49:14 2009 +0000

    ZF-7325: Replace calls to split() in Zend_Gdata with calls to explode() or preg_spllit().
    
    The split() function is depreciated as of PHP 5.3.0.
    
    git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16937 44c647ce-9c0f-0410-b52a-842ac1e357ba

 demos/Zend/Gdata/Blogger.php                 |    8 ++++----
 demos/Zend/Gdata/Gbase.php                   |    2 +-
 demos/Zend/Gdata/MyLibrary/demo.php          |    2 +-
 demos/Zend/Gdata/Spreadsheet-ClientLogin.php |   12 ++++++------
 library/Zend/Gdata/YouTube/VideoEntry.php    |    2 +-
 tests/Zend/Gdata/YouTube/VideoEntryTest.php  |    4 ++--
 6 files changed, 15 insertions(+), 15 deletions(-)
Show
Trevor Johns added a comment - Fixed in trunk by r16937. Resolving as fixed for next minor version.
commit cc110429f4fa8c0ad98136c856f9c6c5e9bcc28c
Author: tjohns <tjohns@44c647ce-9c0f-0410-b52a-842ac1e357ba>
Date:   Tue Jul 21 22:49:14 2009 +0000

    ZF-7325: Replace calls to split() in Zend_Gdata with calls to explode() or preg_spllit().
    
    The split() function is depreciated as of PHP 5.3.0.
    
    git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16937 44c647ce-9c0f-0410-b52a-842ac1e357ba

 demos/Zend/Gdata/Blogger.php                 |    8 ++++----
 demos/Zend/Gdata/Gbase.php                   |    2 +-
 demos/Zend/Gdata/MyLibrary/demo.php          |    2 +-
 demos/Zend/Gdata/Spreadsheet-ClientLogin.php |   12 ++++++------
 library/Zend/Gdata/YouTube/VideoEntry.php    |    2 +-
 tests/Zend/Gdata/YouTube/VideoEntryTest.php  |    4 ++--
 6 files changed, 15 insertions(+), 15 deletions(-)
Hide
Dolf Schimmel (Freeaqingme) added a comment -

....which will be 1.9

Show
Dolf Schimmel (Freeaqingme) added a comment - ....which will be 1.9

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: