$argc — The number of arguments passed to script
$argv — Array of arguments passed to script
To pass the information into the script from outside, help can be taken from the PHP CLI (Command line interface) method. Suppose addition of two numbers has to be passed to PHP then it can be passed like this on the command line: