php 5.3

Have a good idea ? Want to suggest something ? Have a couple of lines of code to back it up ?
Post it here !

php 5.3

Postby chco on 24-08-2010 10:17

Hi!

Quick tip: PHP 5.3 no longer uses the function split() [displ_performer.php line 123], instead use explode (simply replace the word split with explode).

Cheers,
Charly
User avatar
chco
Newbie
Newbie
 
Posts: 6
Joined: 31-05-2009 20:20

Re: php 5.3

Postby Michael on 25-08-2010 18:25

Hi Charly,

You're right. Thanks for the notification!

By doing a quick grep on all the .php-files, I can see that split is used in 14 places.

I'll certainly replace split with explode for the next release.

Thanks again.

//Michael.
User avatar
Michael
Site Admin
Site Admin
 
Posts: 449
Joined: 03-07-2007 13:46
Location: Denmark


Return to Requests / suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

cron