Ver original$params = array( 'nombre_1', 'nombre_2' ); (!in_array($_GET['f'], $params) ? error() : $_GET['f']());