php-benchmark-script icon indicating copy to clipboard operation
php-benchmark-script copied to clipboard

Fix to prevent deprecated-notes in PHP 8.4 and newer

Open MacGritsch opened this issue 11 months ago • 0 comments

@@ -132,7 +132,7 @@
             rtrim($string);
             sha1($string);
             soundex($string);
-            str_getcsv($string);
+            str_getcsv($string, ",", "\"", "\\");
             str_ireplace('fox', 'cat', $string);
             str_pad($string, 50);
             str_repeat($string, 10);
\ No newline at end of file

MacGritsch avatar Feb 06 '25 10:02 MacGritsch