All your question about php
-
mister_v
- Posts: 199
- Joined: Thu Mar 04, 2010 9:19 pm
Post
by mister_v »
I get the following warning message
Code: Select all
PHP Deprecated: Function split() is deprecated
Should I use another function?
Last edited by
mister_v on Wed Sep 26, 2012 1:49 pm, edited 1 time in total.
-
chris
- Site Admin
- Posts: 205
- Joined: Mon Jul 21, 2008 9:52 am
Post
by chris »
Yes, you should use
explode().
It has the same syntax so it 's just renaming.
Code: Select all
array explode ( string $delimiter , string $string [, int $limit ] )
Code: Select all
array split ( string $pattern , string $string [, int $limit ] )