underline2camelcase()
2018-06-22 14:00 更新
作用:将驼峰字符串转换为下划线字符串。
语法: string underline2camelcase(string $str[, bool $ucfirst])
参数:
$str下划线字符串。$ucfirst首字母大写,默认false。 返回值:- 驼峰字符串。
示例:
<?php
echo underline2camelcase('php_is_very_good'); //将输出 phpIsVeryGood以上内容是否对您有帮助:

免费 AI IDE


更多建议: