阅读(4218)
赞(5)
underline2camelcase()
2017-06-22 13:59:54 更新
作用:将驼峰字符串转换为下划线字符串。
语法: string underline2camelcase(string $str[, bool $ucfirst])
参数:
$str下划线字符串。$ucfirst首字母大写,默认false。 返回值:- 驼峰字符串。
示例:
<?php
echo underline2camelcase('php_is_very_good'); //将输出 phpIsVeryGood
