PHP Fatal Error: Error Number: 8192 Message: Function split() is deprecated

This annoyance popped up when I was moving a site from an old RedHat 4.4 server to a new ubuntu 12.04 server.

[Error message: [PHP Fatal Error: Error Number: 8192
Message: Function split() is deprecated

Replacing the split() function with explode() fixed it for me.   I had googled and found a recommendation to use preg_split() but it didn’t work exactly the same.

This entry was posted in PHP. Bookmark the permalink.

Comments are closed.