|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-05-21 10:53 UTC] mike@php.net
-Status: Open
+Status: Feedback
[2014-05-21 10:53 UTC] mike@php.net
[2014-05-21 10:53 UTC] mike@php.net
-Assigned To:
+Assigned To: mike
[2014-05-27 10:28 UTC] php at lornajane dot net
[2014-05-27 12:34 UTC] mike@php.net
[2014-06-02 06:20 UTC] php at lornajane dot net
[2014-06-02 07:24 UTC] mike@php.net
[2014-09-15 12:15 UTC] mike@php.net
-Status: Feedback
+Status: No Feedback
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 13:00:01 2025 UTC |
Description: ------------ I try to create a new \http\Client as per the documentation and it throws an exception. Passing in "curl" as the only parameter results in exactly the same issue with a slightly different error message. The curl extension is present and working. I have stock Ubuntu PHP from saucy (13.30) PHP 5.5.3-1ubuntu2.1 Test script: --------------- <?php $client = new http\Client(); Actual result: -------------- PHP Fatal error: Uncaught exception 'http\Exception\UnexpectedValueException' with message 'Failed to locate "(null)" client request handler' in /home/.../pecl-testcase.php:3 Stack trace: #0 /home/.../pecl-testcase.php(3): http\Client->__construct() #1 {main} thrown in /home/.../pecl-testcase.php on line 3