This commit is contained in:
Jamie Burns 2013-05-15 16:48:42 +02:00
parent 8e686ce7a7
commit ba91348142

View File

@ -4,11 +4,11 @@ require dirname(__FILE__) . '/PHPParser/Autoloader.php';
PHPParser_Autoloader::register();
/*
* lcfirst() was added in PHP 5.3, so we have to emulate it for PHP 5.3.
* lcfirst() was added in PHP 5.3, so we have to emulate it for PHP 5.2.
*/
if (!function_exists('lcfirst')) {
function lcfirst($string) {
$string[0] = strtolower($string[0]);
return $string;
}
}
}