require_once 'NamingConventionConverter.php';
echo NamingConventionConverter::underscores2Camel('with_underscores'); // withUnderscores
echo NamingConventionConverter::camel2Underscores('camelCased'); // camel_cased
echo NamingConventionConverter::camel2Words('camelCased'); // camel Cased
echo NamingConventionConverter::camel2Ucwords('camelCased'); // Camel Cased
echo NamingConventionConverter::camel2Ucfirst('camelCased'); // Camel cased
|