PHP Manual$argc(PHP 4, PHP 5) $argc — The number of arguments passed to script DescriptionContains the number of arguments passed to the current script when running from the command line.
Examples
Example #1 $argc example
<?php When executing the example with: php script.php arg1 arg2 arg3 The above example will output something similar to: int(4)
![]() |
PHP-Index
New Tutorial entries
|