From 20db47f64f33eb0120566cc05c7ef7cf7c54ad35 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 28 May 2014 17:45:53 +0000 Subject: [PATCH] Bug inserted in last commit : the dash in parameters is converted in array in place to be read as string git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1366 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- cli.php | 1 - 1 file changed, 1 deletion(-) diff --git a/cli.php b/cli.php index 9abe279..f1dd915 100644 --- a/cli.php +++ b/cli.php @@ -199,7 +199,6 @@ class cli $keyStdIn = reset ($tab); $dataStdIn = file_get_contents ("php://stdin"); $argv[$keyStdIn] = $dataStdIn; - unset ($keyStdIn); } // Convert "toto=ror&ypyp=oo" arg to array("toto"=>"ror","ypyp"=>"oo")