Skip to content
Snippets Groups Projects
Commit db3ef7f9 authored by Prasad's avatar Prasad
Browse files

PHP 7 - split function defined.

parent 8058abf5
No related branches found
No related tags found
No related merge requests found
......@@ -2302,4 +2302,9 @@ function getCompanyDetails() {
function lower_array(&$string){
$string = strtolower(trim($string));
}
/* PHP 7 support */
if (!function_exists('split')) {
function split($delim, $str) { return explode($delim, $str); }
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment