General > Support

Deprecated function split()

(1/1)

san5630:
Hi everyone
im newbie and i try to install the program, and all the time apears this:
"Deprecated: Function split() is deprecated in C:\Archivos de programa\EasyPHP5.3.0\www\webim\libs\common.php on line 164"

The version of php is 5.3 and i read this function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.

What can i do?
Thanks and sorry for my bad english.

Inspirer:
Replace split with preg_split, and enclose first argument into // (perl-regexps).
Ie.
split("," .....
is replaced by
preg_split("/,/" ....

Found 4 places in the source. Fixed locally for 1.6.3.

Thanks for the report!

san5630:
Thanks inspirer.
Im gonna replace that part like you say.
Thanks for your help.

Navigation

[0] Message Index

Go to full version