note 84328 deleted from language.operators.bitwise by danielc

From: Date: Mon, 13 Apr 2009 16:15:45 +0000
Subject: note 84328 deleted from language.operators.bitwise by danielc
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-153180@lists.php.net to get a copy of this message
Note Submitter: dale dot liszka at gmail dot com Reason: 2 ---- Here is how to use multiple flags (for those who learn better by example, like me): <?php echo "|asdf".chr(9).chr(128)."_123|"; echo "\n"; // "bitwise conjunction" means logic OR / bitwise | echo filter_var("|asdf".chr(9).chr(128)."_123\n|" ,FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW | FILTER_FLAG_STRIP_HIGH); /* Results: |asdf �_123| |asdf_123| */ ?>

« previous php.notes (#153180) next »