php 5.3 fix (visibility issue with anon funcs)