unirest-php, guzzle, and httpful requests may fail silently. Below is an example behaviour:  Failing code pieces run fine as a scripts.