]> granicus.if.org Git - php/commitdiff
modulo 0 news entry
authorIlia Alshanetsky <iliaa@php.net>
Fri, 6 Oct 2006 21:03:35 +0000 (21:03 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 6 Oct 2006 21:03:35 +0000 (21:03 +0000)
README.UPDATE_5_2

index 434cdad3ededc891482073572ff4e94174264b9b..a2f35b797683c3a38bd09e9020243affb63da297 100644 (file)
@@ -168,3 +168,11 @@ Items from the NEWS file explained
   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