Allowing falsy values to be passed as a speed for show().
[jquery.git] / test / data / json.php
blob08e3f9e3292f6d0409612e26254e10f2ad7b2af4
1 <?php
2 error_reporting(0);
3 $json = $_REQUEST['json'];
4 if($json) {
5 echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';
6 } else {
7 echo '{ "data": {"lang": "en", "length": 25} }';
9 ?>