1--TEST-- 2Bug #78770: Incorrect callability check inside internal methods 3--EXTENSIONS-- 4intl 5--FILE-- 6<?php 7 8class Test { 9 public function method() { 10 IntlChar::enumCharTypes([$this, 'privateMethod']); 11 IntlChar::enumCharTypes('self::privateMethod'); 12 } 13 14 private function privateMethod($start, $end, $name) { 15 } 16} 17 18(new Test)->method(); 19 20?> 21===DONE=== 22--EXPECT-- 23===DONE=== 24