Merge pull request #58 from fantasticjamieburns/master

Fix typo in doccomment for lcfirst replacement
This commit is contained in:
nikic
2013-05-17 08:14:14 -07:00

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;
}
}
}