mirror of
https://github.com/php/php-src.git
synced 2026-04-18 05:21:02 +02:00
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
15 lines
303 B
PHP
15 lines
303 B
PHP
--TEST--
|
|
Test curl_init() function with $url parameter defined
|
|
--CREDITS--
|
|
Jean-Marc Fontaine <jmf@durcommefaire.net>
|
|
--EXTENSIONS--
|
|
curl
|
|
--FILE--
|
|
<?php
|
|
$url = 'http://www.example.com/';
|
|
$ch = curl_init($url);
|
|
var_dump($url == curl_getinfo($ch, CURLINFO_EFFECTIVE_URL));
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|