note 80234 rejected from function.array-map by nlopess

From: Date: Sun, 06 Jan 2008 13:01:13 +0000
Subject: note 80234 rejected from function.array-map by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-134889@lists.php.net to get a copy of this message
Note Submitter: sj-black at gmx dot net ---- code <?php header('Content-Type: text/plain'); array_map('stripslashes', $_GET); print_r($_GET); ?> result Array ( [var] => foo\'bar\' ) code <?php header('Content-Type: text/plain'); array_map('stripslashes', $_GET, $_POST); print_r($_GET); ?> result <br /> <b>Warning</b>: Wrong parameter count for stripslashes() in <b>C:\Programme\xampp\htdocs\jb\test.php</b> on line <b>4</b><br /> Array ( [var] => foo\'bar\' ) PHP: 5.2.4

« previous php.notes (#134889) next »