> Vs. the JSON form:
> {
>     time: {'$and': [
>         {'$gt': strtotime('-1 day')},
>         {'$lt': time()},
>     ]},
>     '$or': [
>         {foo: 'bar'},
>         {hello: 'world'}
>     ]
> }

That  isn't  valid  JSON  for  many  different reasons... if you think
that's "pure JSON," you need to spend some time with JSONLint.

If  you  (and  others)  mean  "Javascript  object  literal,"  say  it.
(Similarly, if you mean "Javascript," don't say "jQuery" <gags>.)

-- S.





-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to