Deprecated: Function split() is deprecated in php 5.3.0

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
vilasdh1232
Forum Newbie
Posts: 1
Joined: Thu Dec 03, 2009 12:26 am

Deprecated: Function split() is deprecated in php 5.3.0

Post by vilasdh1232 »

Deprecated: Function split() is deprecated in C:\xampp\htdocs\project

I have no idea what it means or how to fix
and it didnt happen with my host before
btw:
PHP: 5.3.0
MySQL: 5.1.36
Apache : 2.2.11
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Deprecated: Function split() is deprecated in php 5.3.0

Post by alex.barylski »

It means don't use that functiona anymore it is no longer supported or included in the build.

Use explode() or preg_split() instead

Cheers,
Alex
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Deprecated: Function split() is deprecated in php 5.3.0

Post by John Cartwright »

split() is an alias for explode(), and as the error suggests is it deprecated (outdated) and will be removed in future versions.

So just replace split() with explode()
Post Reply