blob: b1cf783b95e06662085360b7d034a5588474e616 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--TEST--
Bug #78770: Incorrect callability check inside internal methods
--SKIPIF--
<?php
if (!extension_loaded("intl")) die("skip requires 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===
|