From 2a0e4837be91e9e7ced44b285ea11e5b2b9eac8a Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Thu, 20 Nov 2008 23:13:30 +0000 Subject: [PATCH] - Changed split() to preg_split() --- ext/mcrypt/tests/blowfish.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/mcrypt/tests/blowfish.phpt b/ext/mcrypt/tests/blowfish.phpt index ea1040ff77..9124b92d2d 100644 --- a/ext/mcrypt/tests/blowfish.phpt +++ b/ext/mcrypt/tests/blowfish.phpt @@ -18,7 +18,7 @@ $td = mcrypt_module_open ("blowfish", "", MCRYPT_MODE_ECB, ""); foreach($vectors as $data) { $data = trim($data); if ($data) { - list($key,$plain,$crypt) = split("[[:space:]]+",$data); + list($key,$plain,$crypt) = preg_split("/[[:space:]]+/",$data); printf("%s %s ", $key, $plain -- 2.50.1