ZF-7325: Zend_Gdata uses split() which is deprecated since PHP 5.3

Issue Type: Bug Created: 2009-07-20T12:45:28.000+0000 Last Updated: 2009-07-21T16:11:57.000+0000 Status: Resolved Fix version(s): - 1.9.0 (31/Jul/09)

Reporter: Shahar Evron (shahar) Assignee: Trevor Johns (tjohns) Tags: - Zend_Gdata

Related issues: Attachments:


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.


Posted by Trevor Johns (tjohns) on 2009-07-21T15:28:22.000+0000

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

Posted by Trevor Johns (tjohns) on 2009-07-21T16:10:06.000+0000

Fixed in trunk by r16937.

Resolving as fixed for next minor version.

<pre class="literal">
commit cc110429f4fa8c0ad98136c856f9c6c5e9bcc28c
Author: tjohns 
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: <a href="">…</a> 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(-)

Posted by Dolf Schimmel (Freeaqingme) (freak) on 2009-07-21T16:11:56.000+0000

....which will be 1.9 ;)

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.