aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testargs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/testargs.php b/testargs.php
index 4c9bce4e9..a8af836d0 100644
--- a/testargs.php
+++ b/testargs.php
@@ -15,7 +15,7 @@
*/
-if(($argc > 1) && isset($argv[1]))
+if((argc() > 1) && isset(argv(1)))
echo $argv[1];
else
echo '';