cvs: php4(PHP_4_3) /ext/standard/tests/general_functions getopt.phpt

From: Date: Wed, 11 Dec 2002 17:39:43 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard/tests/general_functions getopt.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17128@lists.php.net to get a copy of this message
iliaa Wed Dec 11 12:39:43 2002 EDT Added files: (Branch: PHP_4_3) /php4/ext/standard/tests/general_functions getopt.phpt Log: MFH Index: php4/ext/standard/tests/general_functions/getopt.phpt +++ php4/ext/standard/tests/general_functions/getopt.phpt --TEST-- getopt --ARGS-- -v -h -d test -m 1234 -t -j --SKIPIF-- <?php if (!ini_get('register_argc_argv')) { die("skip this test needs register_argc_argv to be enabled"); } ?> --FILE-- <?php var_dump(getopt("d:m:j:vht")); ?> --EXPECT-- array(5) { ["v"]=> bool(false) ["h"]=> bool(false) ["d"]=> string(4) "test" ["m"]=> string(4) "1234" ["t"]=> bool(false) }

« previous php.cvs (#17128) next »