[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/language/types/_integer.xml?=
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2018-10-19 13:34:25
Message-ID: svn-cmb-1539956065-345850-1493503984 () svn ! php ! net
[Download RAW message or body]

cmb                                      Fri, 19 Oct 2018 13:34:25 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=345850

Log:
Fix #77034: Casting null to int undefined

Bug: https://bugs.php.net/77034 (Re-Opened) Casting null to int undefined
      
Changed paths:
    U   phpdoc/en/trunk/language/types/integer.xml

Modified: phpdoc/en/trunk/language/types/integer.xml
===================================================================
--- phpdoc/en/trunk/language/types/integer.xml	2018-10-19 13:03:49 UTC (rev 345849)
+++ phpdoc/en/trunk/language/types/integer.xml	2018-10-19 13:34:25 UTC (rev 345850)
@@ -267,6 +267,14 @@
    </simpara>
   </sect3>

+  <sect3 xml:id="language.types.integer.casting-from-null">
+   <title>From <type>NULL</type></title>
+
+   <simpara>
+    &null; is always converted to zero (<literal>0</literal>).
+   </simpara>
+  </sect3>
+
   <sect3 xml:id="language.types.integer.casting.from-other">
    <title>From other types</title>




-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic