PHP 5.3 compat

self isn't available in closures until >=5.4