cvs: php-src /ext/mcrypt/tests blowfish.phpt

From: Date: Thu, 20 Nov 2008 23:13:30 +0000
Subject: cvs: php-src /ext/mcrypt/tests blowfish.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-54357@lists.php.net to get a copy of this message
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

« previous php.cvs (#54357) next »