note 74869 deleted from function.filter-input-array by betz

From: Date: Sat, 19 Jan 2008 14:28:10 +0000
Subject: note 74869 deleted from function.filter-input-array by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-135225@lists.php.net to get a copy of this message
Note Submitter: Darren Craine ---- Your example code does not work. According to this page http://us.php.net/manual/en/ref.filter.php#filter.intro FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY dont exist. If you replace them with FILTER_REQUIRE_SCALAR and FILTER_REQUIRE_ARRAY (or FILTER_FORCE_ARRAY if you want to just force it) then your example will execute. .daRRen.

« previous php.notes (#135225) next »