fix leaks / invalid frees
[m6w6/ext-http] / tests / client001.phpt
1 --TEST--
2 client drivers
3 --SKIPIF--
4 <?php
5 include "skipif.inc";
6 ?>
7 --FILE--
8 <?php
9 echo "Test\n";
10
11 foreach (http\Client::getAvailableDrivers() as $driver) {
12 $client = new http\Client($driver);
13 var_dump($client instanceof http\Client);
14 }
15
16 ?>
17 Done
18 --EXPECTREGEX--
19 Test
20 (?:bool\(true\)
21 )+Done