Command-line argument parsing: Difference between revisions

Content deleted Content added
Tisane (talk | contribs)
No edit summary
Tisane (talk | contribs)
example
Line 19:
 
===PHP===
PHP uses <code>argc</code> as a count of arguments and <code>argv</code> as an [[array (computing)|array]] containing the values of the arguments.<ref>http://php.net/manual/en/reserved.variables.argv.php</ref> For example:
<source lang="php">
var_dump($argv);
</source>
 
==References==