Make sure that +, >, ~ leading, rooted, selectors go to the old engine. Thanks to...
[jquery.git] / test / data / jsonp.php
1 <?php
2 error_reporting(0);
3 $callback = $_REQUEST['callback'];
4 $json = $_REQUEST['json'];
5 if($json) {
6         echo $callback . '([ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ])';
7 } else {
8         echo $callback . '({ "data": {"lang": "en", "length": 25} })';
9 }
10 ?>