rfc:comparison_inconsistency
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:comparison_inconsistency [2014/01/04 00:44] – yohgaki | rfc:comparison_inconsistency [2014/01/08 01:56] – yohgaki | ||
---|---|---|---|
Line 137: | Line 137: | ||
" | " | ||
- | === String Integer conversion === | + | ==== String Integer conversion |
PHP converts " | PHP converts " | ||
Line 157: | Line 157: | ||
https:// | https:// | ||
- | === NAN/INF of float === | + | ==== NAN/INF of float ==== |
NAN/INF issue. | NAN/INF issue. | ||
Line 177: | Line 177: | ||
This could be mitigated by GMP float support. | This could be mitigated by GMP float support. | ||
+ | |||
+ | |||
+ | ==== Object Array conversion of numeric property/ | ||
+ | |||
+ | https:// | ||
+ | |||
+ | $ php -v | ||
+ | PHP 5.5.7 (cli) (built: Dec 11 2013 07: | ||
+ | Copyright (c) 1997-2013 The PHP Group | ||
+ | Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies | ||
+ | | ||
+ | $ php -r '$obj = new StdClass; $obj-> | ||
+ | object(stdClass)# | ||
+ | [" | ||
+ | int(234) | ||
+ | } | ||
+ | int(567) | ||
+ | |||
+ | |||
+ | Notice: Undefined offset: 12 in Command line code on line 1 | ||
+ | array(1) { | ||
+ | [" | ||
+ | int(234) | ||
+ | } | ||
+ | NULL <= SHOULD BE int(234) | ||
+ | |||
+ | |||
+ | |||
==== Function/ | ==== Function/ |