Beispiel #1
0
<?php

include_once "Calc.php";
if (count($argv) < 3) {
    echo "Usage: 'power.php \$x \$y'\n";
    exit;
}
echo Calc::power((int) $argv[1], (int) $argv[2]);
echo "\n";