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/02 19:59] – yohgaki | rfc:comparison_inconsistency [2014/01/08 01:54] – yohgaki | ||
---|---|---|---|
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/ | ||
+ | |||
+ | === is_numeric === | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | === base_convert ==== | ||
+ | |||
+ | https:// | ||
+ | |||
=== min() function === | === min() function === | ||
Line 212: | Line 250: | ||
There are bug reports that complain return value inconsistency. The document could be improved with more explanations. | There are bug reports that complain return value inconsistency. The document could be improved with more explanations. | ||
- | == Related Bug Reports | + | **Related Bug Reports** |
* https:// | * https:// | ||
* https:// | * https:// |