1--TEST-- 2Bug #65108 (is_callable() triggers Fatal Error) 3--FILE-- 4<?php 5class C { 6 private function f() {} 7 static function __callStatic($name, $args) {} 8} 9 10class B { 11 public function B() { 12 $isCallable = is_callable(array(new C, 'f')); 13 var_dump($isCallable); 14 } 15} 16 17new B(); 18 19Class E { 20 private function f() {} 21 function __call($name, $args) {} 22} 23$isCallable = is_callable(array('E', 'f')); 24var_dump($isCallable); 25--EXPECT-- 26bool(false) 27bool(false) 28