Hi!
Simple, dumb question: I have problems using the CurlEngine.
When I try to instanciate a CurlEngine like this:
$rEng = new \TYPO3\Flow\Http\Client\CurlEngine();
I get an exception
Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed ‘CURLOPT_RETURNTRANSFER’
The same problem occurs when I try to inject it like this
/**
* @Flow\Inject
* @var \TYPO3\Flow\Http\Client\CurlEngine
*/
protected $browserRequestEngine;
(as discribed here: http://flowframework.readthedocs.io/en/stable/TheDefinitiveGuide/PartIII/Http.html )
This caused by the “protected $options array” of that class.
But nobody else seems to get this error!?
My PHP version is 5.6.28 in CLI mode.