From b0a538459d747adf3b2058ec248453303e7c46c9 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Fri, 21 Feb 2020 14:12:01 +0900 Subject: [PATCH] Update string.utils.php --- helper/string.utils.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/helper/string.utils.php b/helper/string.utils.php index 7e95f90..8225751 100644 --- a/helper/string.utils.php +++ b/helper/string.utils.php @@ -151,6 +151,13 @@ if(!is_fn("explode_by_line")) { } } +// Deprecated: split_by_line() +if(!is_fn("split_by_line")) { + function split_by_line($str) { + return explode_by_line($str); + } +} + if(!is_fn("explode_storage_file_by_line")) { function explode_storage_file_by_line($filename, $options=array()) { return explode_by_line(read_storage_file($filename, $options));