diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-10-06 21:03:35 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-10-06 21:03:35 +0000 |
commit | f815a4ef10fe55888e504b3193036f809ae00fd8 (patch) | |
tree | c176484995f8a704b5980df886afe56e3945ee42 /README.UPDATE_5_2 | |
parent | 3a4603b4b0fd87baa079d52da50f022327a07b32 (diff) | |
download | php-git-f815a4ef10fe55888e504b3193036f809ae00fd8.tar.gz |
modulo 0 news entry
Diffstat (limited to 'README.UPDATE_5_2')
-rw-r--r-- | README.UPDATE_5_2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/README.UPDATE_5_2 b/README.UPDATE_5_2 index 434cdad3ed..a2f35b7976 100644 --- a/README.UPDATE_5_2 +++ b/README.UPDATE_5_2 @@ -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 |