Answers for "PHP $argv echo"

PHP
0

PHP $argv echo

for ($i=0; $i < $argc; $i++) {
    echo $argv[$i] . "\n";
}
Posted by: Guest on July-02-2021
0

PHP $argv echo with number of words

<?php 

echo "There are $argc arguments\n";

for ($i=0; $i < $argc; $i++) {
    echo $argv[$i] . "\n";
}
Posted by: Guest on July-02-2021

Browse Popular Code Answers by Language