PHP from the command line
Në shqip: PHP nga terminali
ShpjegimiSQ
PHP-ja nuk është vetëm për web: php skripti.php ekzekuton skripte në terminal, php -a hap një shell interaktiv, dhe $argv mban argumentet e komandës. Artisan-i i Laravel-it është skript CLI.
EnglishEN
PHP isn't only for the web: php script.php runs scripts in the terminal, php -a opens an interactive shell, and $argv holds the command-line arguments. Laravel's Artisan is a CLI script.
Si ta mendosh
Si të përdorësh të njëjtën vegël edhe jashtë punishtes.
Lexoje në anglisht
Like using the same tool outside the workshop too.
Shembull kodibash
php -r 'echo PHP_VERSION, "\n";'
php skripti.php arta 16