summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mcrypt/tests/blowfish.phpt2
1 files changed, 1 insertions, 1 deletions
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