[fix] Fix Compatibility With PHP 5.3

    * PHP 5.3 does not support the use of $this inside a Closure