array( * 'lambda' => array( * 'type' => 'error' | 'warning', * 'message' => 'Use anonymous functions instead please!', * 'functions' => array( 'file_get_contents', 'create_function' ), * ) * ) * * @return array */ public function getGroups() { return array( 'ereg' => array( 'type' => 'error', 'message' => '%s() has been deprecated since PHP 5.3 and removed in PHP 7.0, please use preg_match() instead.', 'functions' => array( 'ereg', 'eregi', 'sql_regcase', ), ), 'ereg_replace' => array( 'type' => 'error', 'message' => '%s() has been deprecated since PHP 5.3 and removed in PHP 7.0, please use preg_replace() instead.', 'functions' => array( 'ereg_replace', 'eregi_replace', ), ), 'split' => array( 'type' => 'error', 'message' => '%s() has been deprecated since PHP 5.3 and removed in PHP 7.0, please use explode(), str_split() or preg_split() instead.', 'functions' => array( 'split', 'spliti', ), ), ); } }