1--TEST-- 2GH-16799 (Assertion failure at Zend/zend_vm_execute.h) 3--FILE-- 4<?php 5set_error_handler(function($_, $m) { throw new Exception($m); }); 6class Test { 7 static function test() { 8 call_user_func("static::ok"); 9 } 10 static function ok() { 11 } 12} 13Test::test(); 14?> 15--EXPECTF-- 16Fatal error: Uncaught Exception: Use of "static" in callables is deprecated in %s:%d 17Stack trace: 18#0 %s(%d): {closure:%s:%d}(8192, 'Use of "static"...', %s, %d) 19#1 %s(%d): Test::test() 20#2 {main} 21 thrown in %s on line %d 22