Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP $argv echo with number of words

<?php 

echo "There are $argc arguments
";

for ($i=0; $i < $argc; $i++) {
    echo $argv[$i] . "
";
}
Source by zetcode.com #
 
PREVIOUS NEXT
Tagged: #PHP #echo #number #words
ADD COMMENT
Topic
Name
7+5 =