Skip to content

Commit f938847

Browse files
committed
1
1 parent 756aa54 commit f938847

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
//报告E_NOTICE之外的所有错误(可解决变量不存在导致的错误,如GET、POST数据)
4-
error_reporting(E_ALL & ~E_NOTICE);
5-
63
require_once '../vendor/autoload.php';
74
require_once '../src/HttpClient.php';
85

6+
//报告E_NOTICE之外的所有错误(可解决变量不存在导致的错误,如GET、POST数据)
7+
error_reporting(E_ALL & ~E_NOTICE);
8+
99
$options = [
1010
'timeout' => 10,
1111
'redirects' => true,

0 commit comments

Comments
 (0)