1--TEST-- 2Bug #75290 (debug info of Closures of internal functions contain garbage argument names) 3--FILE-- 4<?php 5 6var_dump((new ReflectionFunction('sin'))->getClosure()); 7 8var_dump(function ($someThing) {}); 9 10?> 11--EXPECT-- 12object(Closure)#2 (1) { 13 ["parameter"]=> 14 array(1) { 15 ["$num"]=> 16 string(10) "<required>" 17 } 18} 19object(Closure)#2 (1) { 20 ["parameter"]=> 21 array(1) { 22 ["$someThing"]=> 23 string(10) "<required>" 24 } 25} 26