http.so loaded but http_get undefined

前端 未结 2 589
时光取名叫无心
时光取名叫无心 2020-12-20 22:45

I have LAMP installed on my linux distribution:

///

PHP 5.4.9-4ubuntu2.4 (cli) (built: Dec 12 2013 04:29:20) Copyright (c) 1997-2012 The PHP Group Zend Engi

2条回答
  •  被撕碎了的回忆
    2020-12-20 23:09

    Just to elaborate slightly on Alex's answer, unless I missed something, the Php Manuel doesn't really reflect how this extension has changed. And the link in the comment on your question doesn't seem to work anymore. I think what you want now, to get that same behavior, is http\Client::send().

提交回复
热议问题