public static function camelcase2Char($value, $char = '_') { return strtolower(preg_replace('/([a-z0-9])([A-Z])/', '$1' . $char . '$2', $value)); }