From b2ac010cc4a3db62c7483892b164f5eda5c9b31f Mon Sep 17 00:00:00 2001 From: Laurence Cope Date: Tue, 13 May 2014 13:33:10 +0100 Subject: [PATCH] split() is deprecated, using explode() instead --- vatValidation.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vatValidation.class.php b/vatValidation.class.php index 1a8eac9..f2726e8 100644 --- a/vatValidation.class.php +++ b/vatValidation.class.php @@ -86,7 +86,7 @@ private function cleanUpString($string) { } $newString = ""; - $words = split(" ",$string); + $words = explode(" ",$string); foreach($words as $k=>$w) { $newString .= ucfirst(strtolower($w))." "; @@ -95,4 +95,4 @@ private function cleanUpString($string) { } } -?> \ No newline at end of file +?>