public function testFunctionCalls()
{
$this->doAnalysisTest(function () {
strlen('abc');
}, function (ITypeAnalysis $analysis, O\FunctionCallExpression $expression) {
$this->assertEqualsNativeType(INativeType::TYPE_INT, $analysis->getFunction($expression)->getReturnType());
$this->assertTypeMatchesValue($analysis, $expression->getArguments()[0]->getValue());
$this->assertSame('strlen', $analysis->getFunction($expression)->getName());
$this->assertSame('strlen', $analysis->getFunction($expression)->getReflection()->getName());
});
}