diff options
| author | Felipe Pena <felipe@php.net> | 2008-11-20 23:13:30 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-11-20 23:13:30 +0000 |
| commit | 2a0e4837be91e9e7ced44b285ea11e5b2b9eac8a (patch) | |
| tree | 54099e663ef780d1844db6be6e1d5fda4116893f | |
| parent | 4361a1ef277b54522e6c095cb7e06984bcda48c4 (diff) | |
| download | php-git-2a0e4837be91e9e7ced44b285ea11e5b2b9eac8a.tar.gz | |
- Changed split() to preg_split()
| -rw-r--r-- | ext/mcrypt/tests/blowfish.phpt | 2 |
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 |
