felipe          Thu Nov 20 23:13:30 2008 UTC

  Modified files:              
    /php-src/ext/mcrypt/tests   blowfish.phpt 
  Log:
  - Changed split() to preg_split()
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mcrypt/tests/blowfish.phpt?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/mcrypt/tests/blowfish.phpt
diff -u php-src/ext/mcrypt/tests/blowfish.phpt:1.5 
php-src/ext/mcrypt/tests/blowfish.phpt:1.6
--- php-src/ext/mcrypt/tests/blowfish.phpt:1.5  Wed Nov 15 22:51:45 2006
+++ php-src/ext/mcrypt/tests/blowfish.phpt      Thu Nov 20 23:13:30 2008
@@ -18,7 +18,7 @@
 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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to