Fixed  scope isn't available in PHP 5.3

Signed-off-by: crynobone <crynobone@gmail.com>