CURLE_URL_MALFORMAT (3)
The URL was not properly formatted.
class Foo
{
public function firstfunc()
{
echo 'hello ';
return $this;
}
public function secondfunc()
{
echo 'world ';
return $this;
}
}
$obj = new Foo();
$obj->firstfunc()->secondfunc();