Php converts an upper-case name to an underscore (_) to a separated name, and a php underline. Php converts an upper-case name to an underscore (_ +) to a separate name, this problem occurs when naming variables. php converts an uppercase name to an underscore (_) to separate the names, and php underscores (_).
Sometimes you need to convert the uppercase letters in a string to the lowercase letters (_ +). This problem occurs when naming variables. you can directly run the following code:
$ Name = 'apppromozhongqiu2014activestatusselector '; echo cc_format ($ name); function cc_format ($ name) {$ temp_array = array (); for ($ I = 0; $ I
= 65 & $ ascii_code <= 90) {if ($ I = 0) {$ temp_array [] = chr ($ ascii_code + 32 );} else {$ temp_array [] = '_'. chr ($ ascii_code + 32) ;}} else {$ temp_array [] = $ name [$ I] ;}} return implode ('', $ temp_array );}
Token sometimes needs to convert the upper case of a string to the lower case of _ +. this problem occurs when naming variables...