# argv and argc on cliphp

- Thread: https://externals.io/message/4652
- Original archive: https://news-web.php.net/php.internals/4652
- Started by Stanislav Malyshev on 2003-10-02T11:08:42+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #4652 — Stanislav Malyshev — 2003-10-02T11:08:42+00:00

URL: https://externals.io/message/4652#4652

Is there any reason that PHP5 CLI does not register argc and argv in 
_SERVER like PHP4 does? There are a number of scripts that depend on it 
and just adding one more unnecessary incompatibility between PHP4 and 
PHP5. What is the problem with argv/argc being in _SERVER?

-- 
Stanislav Malyshev, Zend Products Engineer   
stas@zend.com  http://www.zend.com/ +972-3-6139665 ext.109

---

## #4657 — Alan Knowles — 2003-10-02T23:59:44+00:00

URL: https://externals.io/message/4652#4657 · In reply to: #4652

Stanislav - looks like andrei changed it - you better cc his private 
mail as I dont think he reads internals often.

Regards
Alan

Stanislav Malyshev wrote:

>Is there any reason that PHP5 CLI does not register argc and argv in 
>_SERVER like PHP4 does? There are a number of scripts that depend on it 
>and just adding one more unnecessary incompatibility between PHP4 and 
>PHP5. What is the problem with argv/argc being in _SERVER?
