HEX
Server: nginx/1.24.0
System: Linux mail.365consultoria.com 6.8.0-1057-oracle #58~22.04.1-Ubuntu SMP Tue Jun 30 18:20:56 UTC 2026 aarch64
User: www (1002)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/laet.adv.br/wp-content/plugins/mfn-header-builder/functions/class-mfn-hb-helper.php
<?php
if( ! defined( 'ABSPATH' ) ){
	exit; // Exit if accessed directly
}

class Mfn_HB_Helper {

	/**
	 * Convert CamelCase to snake_case
	 */
	public static function camel_to_snake( $string ){

		$pattern = '/((?<=[^$])[A-Z0-9])/u';
		$string = strtolower( preg_replace( $pattern, '_$1', $string ) );

		return $string;
	}

	/**
	 * Convert CamelCase to other
	 */
	public static function camel_to_other( $string, $separator = ' ' ){

		$pattern = '/((?<=[^$])[A-Z0-9])/u';
		$string = strtolower( preg_replace( $pattern, $separator .'$1', $string ) );

		return $string;
	}

}