iliaa Fri Oct 6 21:03:35 2006 UTC Modified files: (Branch: PHP_5_2) /php-src README.UPDATE_5_2 Log: modulo 0 news entry http://cvs.php.net/viewvc.cgi/php-src/README.UPDATE_5_2?r1=1.1.2.15&r2=1.1.2.16&diff_format=u Index: php-src/README.UPDATE_5_2 diff -u php-src/README.UPDATE_5_2:1.1.2.15 php-src/README.UPDATE_5_2:1.1.2.16 --- php-src/README.UPDATE_5_2:1.1.2.15 Mon Sep 11 23:11:18 2006 +++ php-src/README.UPDATE_5_2 Fri Oct 6 21:03:35 2006 @@ -168,3 +168,11 @@ unpredictable behavior due to an un-expected configuration file being read. This functionality was removed in 5.2 and PHP will no longer search CWD for the presence of the php.ini or the php-cli.ini files. + +- Added a notice when performing modulus 0 operation (Tony) + + In earlier versions of PHP performing integer % 0 did not emit any + warning messages, instead retuning an un-expected return value of false. + As of PHP 5.2 this operation will emit E_WARNING as is the case in all + other instance where division by zero is performed. + \ No newline at end of file
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php