note 80170 deleted from function.filter-input by nlopess

From: Date: Thu, 20 Feb 2014 22:12:39 +0000
Subject: note 80170 deleted from function.filter-input by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-198564@lists.php.net to get a copy of this message
Note Submitter: Marques Johansson ---- Despite the documentation for 'type', you can specify multiple types by doing: $test = filter_input(INPUT_GET | INPUT_POST, 'test'); This was tested in 5.2.3. When both are set it appears to return the value defined first by variables_order (php.ini). This trick does not seem to work in filter_input_array though. Neither function supports INPUT_REQUEST at the moment.

« previous php.notes (#198564) next »