1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/zend_test/tests/observer_frameless.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

18 lines
315 B
PHP

--TEST--
Observer: Frameless calls are disabled when there are observers
--EXTENSIONS--
zend_test
--INI--
zend_test.observer.enabled=1
--FILE--
<?php
function _strpos(string $str) {
return \strpos($str, 'o', 1);
}
_strpos('foo');
?>
--EXPECTF--
<!-- init '%s' -->
<!-- init _strpos() -->
<!-- init strpos() -->