PHP: 定義済みの変数 – Manual PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
PHP: $argv – Manual PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
$_SERVERで取得する
変数名は違えど、中身は同じです。
1
2
3
<?php
var_dump($_SERVER['argv']);
?>
あわせて読みたい
PHP: $_SERVER – Manual PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.
コメント