1--TEST--
2curl_version(): error conditions
3--SKIPIF--
4<?php
5if (!extension_loaded('curl')) die('skip curl extension not available');
6?>
7--FILE--
8<?php
9curl_version(CURLVERSION_NOW);
10curl_version(0);
11?>
12===DONE===
13--EXPECTF--
14Deprecated: curl_version(): the $version parameter is deprecated in %s on line %d
15
16Warning: curl_version(): $version argument ignored in %s on line %d
17===DONE===
18