Skip to content

Commit

Permalink
add test file
Browse files Browse the repository at this point in the history
  • Loading branch information
calabashdoll committed Sep 27, 2017
1 parent 9d65b35 commit 50bc743
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php
require_once "vendor/autoload.php";

use CurlFuture\HttpFuture;

$uri = "http://www.baidu.com";
$oCurl = new HttpFuture($uri);

$oCurl = $oCurl->fetch();

0 comments on commit 50bc743

Please sign in to comment.