Disable error reporting in PHP test files
This commit is contained in:
parent
9b0aaeebea
commit
8ec860d637
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
error_reporting(0);
|
||||
$json = $_REQUEST['json'];
|
||||
if($json) {
|
||||
echo '[ {"name": "John", "age": 21}, {"name": "Peter", "age": 25 } ]';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
error_reporting(0);
|
||||
$wait = $_REQUEST['wait'];
|
||||
if($wait) {
|
||||
sleep($wait);
|
||||
|
|
Loading…
Reference in a new issue