[Vtigercrm-commits] [Vtiger development] #8616: Replace deprecated spliti function with explode method
Vtiger development
vtiger-tickets at trac.vtiger.com
Mon Aug 24 08:48:40 GMT 2015
#8616: Replace deprecated spliti function with explode method
------------------------+-----------------------
Reporter: tim | Owner: developer
Type: patch | Status: new
Priority: unassigned | Milestone: 6.4.0
Component: vtigercrm | Version: 6.3.0
Severity: Medium | Keywords:
------------------------+-----------------------
http://php.net/manual/en/function.spliti.php
{{{
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature
is highly discouraged.
}}}
{{{
split() is deprecated as of PHP 5.3.0. preg_split() is the suggested
alternative to this function. If you don't require the power of regular
expressions, it is faster to use explode(), which doesn't incur the
overhead of the regular expression engine.
}}}
A quick scan shows that almost every single one of the spliti usages only
have to exchanged with a explode and the code is not deprecated anymore.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8616>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list