PHP » PYTHON |
login |
register |
about
|
import sys print len(sys.argv) $argc$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)
|
more
Recently updated
more
Most requested
more
Last requests
|