1--TEST-- 2Bug #70674 (ReflectionFunction::getClosure() leaks memory when used for internal functions) 3--FILE-- 4<?php 5var_dump(((new ReflectionFunction("strlen"))->getClosure())("hello")); 6?> 7--EXPECT-- 8int(5) 9