php-src/Zend/tests/frameless_jmp_001.phpt
Ilija Tovilo 631bc81607
Implement stackless internal function calls
Co-authored-by: Dmitry Stogov <dmitry@zend.com>

Closes GH-12461
2024-02-06 17:42:28 +01:00

13 lines
202 B
PHP

--TEST--
Frameless jmp
--FILE--
<?php
namespace Foo;
function test($needle, $haystack) {
return in_array($needle, $haystack, true);
}
var_dump(test('foo', ['foo', 'bar']));
?>
--EXPECT--
bool(true)