FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » json_decode problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: json_decode problem [message #178845 is a reply to message #178844] Sun, 12 August 2012 13:28 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 12-08-2012 13:44, Thomas 'PointedEars' Lahn wrote:
> $ php -r "\$x = json_decode('{\"foo\": null}'); var_dump(isset(\$x->foo));"
> bool(false)

php -r "\$y = null; \$x = json_decode('{\"foo\": null}');
var_dump(isset(\$y));"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PEAR Auth package woes
Next Topic: redirect on zend
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 16:51:46 GMT 2024

Total time taken to generate the page: 0.05371 seconds