lstrojny Thu Dec 11 02:38:10 2008 UTC Modified files: /php-src run-tests.php Log: MFB: Fixing strict warning http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.384&r2=1.385&diff_format=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.384 php-src/run-tests.php:1.385 --- php-src/run-tests.php:1.384 Tue Dec 9 15:20:58 2008 +++ php-src/run-tests.php Thu Dec 11 02:38:10 2008 @@ -24,7 +24,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: run-tests.php,v 1.384 2008/12/09 15:20:58 jani Exp $ */ +/* $Id: run-tests.php,v 1.385 2008/12/11 02:38:10 lstrojny Exp $ */ /* Sanity check to ensure that pcre extension needed by this script is available. * In the event it is not, print a nice error message indicating that this script will @@ -617,7 +617,7 @@ $html_output = is_resource($html_file); break; case '--version': - echo '$Revision: 1.384 $' . "\n"; + echo '$Revision: 1.385 $' . "\n"; exit(1); default: @@ -1009,7 +1009,7 @@ $data = ''; $bin_env = array(); - foreach($env as $key => $value) { + foreach((array)$env as $key => $value) { $bin_env[(binary)$key] = (binary)$value; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php