note 89818 added to function.filter-var

From: Date: Tue, 24 Mar 2009 15:49:26 +0000
Subject: note 89818 added to function.filter-var
Groups: php.notes 
Request: Send a blank email to php-notes+get-152395@lists.php.net to get a copy of this message
Here's an actual example of the filter syntax with a flag since there doesn't appear to be a one liner for this anywhere: 'hours' => array('filter'=>FILTER_SANITIZE_NUMBER_FLOAT, 'flags' => FILTER_FLAG_ALLOW_FRACTION, 'options'=> '.') ---- Server IP: 64.71.164.2 Probable Submitter: 128.48.7.223 ---- Manual Page -- http://www.php.net/manual/en/function.filter-var.php Edit -- https://master.php.net/note/edit/89818 Del: integrated -- https://master.php.net/note/delete/89818/integrated Del: useless -- https://master.php.net/note/delete/89818/useless Del: bad code -- https://master.php.net/note/delete/89818/bad+code Del: spam -- https://master.php.net/note/delete/89818/spam Del: non-english -- https://master.php.net/note/delete/89818/non-english Del: in docs -- https://master.php.net/note/delete/89818/in+docs Del: other reasons-- https://master.php.net/note/delete/89818 Reject -- https://master.php.net/note/reject/89818 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152395) next »