Le 28/04/2013 17:33, julien PAULI a écrit : >> - number only parse as integer (no automatic cast to double) > I guess we could use zend_strtod() for that.
No, as the parsing is done "in" the json-c library which return a int, it's to late for any other conversion. In fact, I can improve a bit for value between maxint32 and maxint64 on 32bits build, but who still use 32bits OS ? ;) I need to find a solution "in" the library which is acceptable by json-c upstream (I have already propose some) Remi. -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php