felipe          Thu Nov 20 23:11:25 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /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.3.6.1.2.1&r2=1.3.6.1.2.2&diff_format=u
Index: php-src/ext/mcrypt/tests/blowfish.phpt
diff -u php-src/ext/mcrypt/tests/blowfish.phpt:1.3.6.1.2.1 
php-src/ext/mcrypt/tests/blowfish.phpt:1.3.6.1.2.2
--- php-src/ext/mcrypt/tests/blowfish.phpt:1.3.6.1.2.1  Thu Nov 20 13:27:00 2008
+++ php-src/ext/mcrypt/tests/blowfish.phpt      Thu Nov 20 23:11:25 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
@@ -52,104 +52,38 @@
 ?>
 --EXPECTF--
 key               plain             crypt             guess             stat
-
-Deprecated: Function split() is deprecated in %s on line %d
 0000000000000000  0000000000000000  4ef997456198dd78  4ef997456198dd78  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 FFFFFFFFFFFFFFFF  FFFFFFFFFFFFFFFF  51866fd5b85ecb8a  51866fd5b85ecb8a  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 3000000000000000  1000000000000001  7d856f9a613063f2  7d856f9a613063f2  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 1111111111111111  1111111111111111  2466dd878b963c9d  2466dd878b963c9d  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 0123456789ABCDEF  1111111111111111  61f9c3802281b096  61f9c3802281b096  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 1111111111111111  0123456789ABCDEF  7d0cc630afda1ec7  7d0cc630afda1ec7  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 FEDCBA9876543210  0123456789ABCDEF  0aceab0fc6a0a28d  0aceab0fc6a0a28d  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 7CA110454A1A6E57  01A1D6D039776742  59c68245eb05282b  59c68245eb05282b  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 0131D9619DC1376E  5CD54CA83DEF57DA  b1b8cc0b250f09a0  b1b8cc0b250f09a0  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 07A1133E4A0B2686  0248D43806F67172  1730e5778bea1da4  1730e5778bea1da4  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 3849674C2602319E  51454B582DDF440A  a25e7856cf2651eb  a25e7856cf2651eb  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 04B915BA43FEB5B6  42FD443059577FA2  353882b109ce8f1a  353882b109ce8f1a  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 0113B970FD34F2CE  059B5E0851CF143A  48f4d0884c379918  48f4d0884c379918  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 0170F175468FB5E6  0756D8E0774761D2  432193b78951fc98  432193b78951fc98  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 43297FAD38E373FE  762514B829BF486A  13f04154d69d1ae5  13f04154d69d1ae5  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 07A7137045DA2A16  3BDD119049372802  2eedda93ffd39c79  2eedda93ffd39c79  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 04689104C2FD3B2F  26955F6835AF609A  d887e0393c2da6e3  d887e0393c2da6e3  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 37D06BB516CB7546  164D5E404F275232  5f99d04f5b163969  5f99d04f5b163969  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 1F08260D1AC2465E  6B056E18759F5CCA  4a057a3b24d3977b  4a057a3b24d3977b  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 584023641ABA6176  004BD6EF09176062  452031c1e4fada8e  452031c1e4fada8e  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 025816164629B007  480D39006EE762F2  7555ae39f59b87bd  7555ae39f59b87bd  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 49793EBC79B3258F  437540C8698F3CFA  53c55f9cb49fc019  53c55f9cb49fc019  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 4FB05E1515AB73A7  072D43A077075292  7a8e7bfa937e89a3  7a8e7bfa937e89a3  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 49E95D6D4CA229BF  02FE55778117F12A  cf9c5d7a4986adb5  cf9c5d7a4986adb5  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 018310DC409B26D6  1D9D5C5018F728C2  d1abb290658bc778  d1abb290658bc778  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 1C587F1C13924FEF  305532286D6F295A  55cb3774d13ef201  55cb3774d13ef201  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 0101010101010101  0123456789ABCDEF  fa34ec4847b268b2  fa34ec4847b268b2  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 1F1F1F1F0E0E0E0E  0123456789ABCDEF  a790795108ea3cae  a790795108ea3cae  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 E0FEE0FEF1FEF1FE  0123456789ABCDEF  c39e072d9fac631d  c39e072d9fac631d  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 0000000000000000  FFFFFFFFFFFFFFFF  014933e0cdaff6e4  014933e0cdaff6e4  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 FFFFFFFFFFFFFFFF  0000000000000000  f21e9a77b71c49bc  f21e9a77b71c49bc  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 0123456789ABCDEF  0000000000000000  245946885754369a  245946885754369a  OK
-
-Deprecated: Function split() is deprecated in %s on line %d
 FEDCBA9876543210  FFFFFFFFFFFFFFFF  6b5c5a9c5d9e0a5a  6b5c5a9c5d9e0a5a  OK
 
 6b77b4d63006dee605b156e27403979358deb9e7154616d959f1652bd5ff92cc



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

Reply via email to