1--TEST-- 2Closure::bindTo leaks with "fake" closure 3--FILE-- 4<?php 5function foo(){ 6 static $y; 7} 8Closure::fromCallable('foo')->bindTo(new stdClass); 9?> 10DONE 11--EXPECT-- 12DONE