repo.or.cz
/
jquery.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allowing falsy values to be passed as a speed for show().
[jquery.git]
/
test
/
data
/
json.php
blob
08e3f9e3292f6d0409612e26254e10f2ad7b2af4
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} }'
;
8
}
9
?
>