Pluf Framework

Sign in or create your account | Project List | Help

Issue 233: The function split() is deprecated in PHP 5.3

Reported by Dantrell B., Jun 9, 2009

To fix simply change line 108 in src/Pluf/HTTP/URL.php from:

list($model, $method) = split('::', $view);

to:

list($model, $method) = explode('::', $view);

Comment 1 by Loïc d'Anterroches, Jul 9, 2009

A git grep shows way more places to be fixed. I will do that when a 
bit tired as this does not require a lot of thinking. Thanks for the 
report!

Comment 2 by Patrick Georgi, Sep 2, 2009

The attached patch should do it.

I also reduced the scope of the error handler because indefero has 
some other problem with "deprecated" features that I can't 
track down right now, and this works around it.

Comment 3 by Loïc d'Anterroches, Sep 28, 2009

Fixed in commit a1560823a2425f. Thanks a lot!
Status: Fixed

Created: 9 months 7 days ago by Dantrell B.

Updated: 5 months 16 days ago

Status: Fixed

Followed by: 2 persons

Labels:
Priority:Medium
Type:Defect