Open wuhualiang opened 7 years ago
php -v PHP 5.6.24 xhprof -v 0.9.4
run code to Reproduce bug <?php xhprof_enable(); class Index { public function index() { return 1; }
public function test() { return 3; }
} echo 1; $method = "test"; $class = "Index"; echo in_array(strtolower($method),array_map('strtolower',get_class_methods($class)),TRUE); $data = xhprof_disable(); var_dump($data);
php -v PHP 5.6.24 xhprof -v 0.9.4
run code to Reproduce bug <?php xhprof_enable(); class Index { public function index() { return 1; }
} echo 1; $method = "test"; $class = "Index"; echo in_array(strtolower($method),array_map('strtolower',get_class_methods($class)),TRUE); $data = xhprof_disable(); var_dump($data);