php-src/Zend/tests/bug78770.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

24 lines
401 B
PHP

--TEST--
Bug #78770: Incorrect callability check inside internal methods
--EXTENSIONS--
intl
--FILE--
<?php
class Test {
public function method() {
IntlChar::enumCharTypes([$this, 'privateMethod']);
IntlChar::enumCharTypes('self::privateMethod');
}
private function privateMethod($start, $end, $name) {
}
}
(new Test)->method();
?>
===DONE===
--EXPECT--
===DONE===