Re: Inconsistent json_decode() results

From: Date: Wed, 05 May 2010 17:29:20 +0000
Subject: Re: Inconsistent json_decode() results
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-304916@lists.php.net to get a copy of this message
Hi I have this problem too. I think that the version of php results this problem. I have searched later but could not find any solution. 2010/5/5 François Beausoleil <francois@teksol.info>: > Hello all! > > We're seeing inconsistent json decoding between PHP versions: > http://gist..github.com/390090 > > Calling json_decode() from 5.2.6 returns an associative array when asked, while 5.2.10 always > returns a stdClass.  Is this a bug or a problem with my calling convention? > > Thanks! > François -- Ali Asghar Torabi

« previous php.general (#304916) next »