1--TEST--
2curl_strerror basic test
3--EXTENSIONS--
4curl
5--FILE--
6<?php
7
8var_dump(strtolower(curl_strerror(CURLE_OK)));
9var_dump(strtolower(curl_strerror(CURLE_UNSUPPORTED_PROTOCOL)));
10var_dump(strtolower(curl_strerror(-1)));
11
12?>
13--EXPECT--
14string(8) "no error"
15string(20) "unsupported protocol"
16string(13) "unknown error"
17