Disable error reporting in PHP test files

This commit is contained in:
Jörn Zaefferer 2007-01-10 15:03:40 +00:00
parent 9b0aaeebea
commit 8ec860d637
2 changed files with 2 additions and 0 deletions

View file

@ -1,4 +1,5 @@
<?php
error_reporting(0);
$json = $_REQUEST['json'];
if($json) {
echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';

View file

@ -1,4 +1,5 @@
<?php
error_reporting(0);
$wait = $_REQUEST['wait'];
if($wait) {
sleep($wait);