Page 1 of 1

Deprecated: Function split() is deprecated in php 5.3.0

Posted: Thu Dec 03, 2009 11:02 pm
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

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

Posted: Thu Dec 03, 2009 11:03 pm
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

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

Posted: Thu Dec 03, 2009 11:04 pm
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()