PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php function camelCaseToUnderscore(string $source): string { return strtolower(preg_replace('/(?<!^)[A-Z]/', '_$0', $source)); } echo camelCaseToUnderscore('preved_lolka');
Show:  
Copy Clear