mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
16 lines
324 B
Plaintext
16 lines
324 B
Plaintext
|
--TEST--
|
||
|
Test curl_init() function with basic functionality
|
||
|
--CREDITS--
|
||
|
Jean-Marc Fontaine <jmf@durcommefaire.net>
|
||
|
--SKIPIF--
|
||
|
<?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$ch = curl_init();
|
||
|
var_dump($ch);
|
||
|
?>
|
||
|
===DONE===
|
||
|
--EXPECTF--
|
||
|
resource(%d) of type (curl)
|
||
|
===DONE===
|