mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
24 lines
401 B
PHP
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===
|