|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-12-02 16:36 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 01:00:02 2025 UTC |
Description: ------------ argv and argc not defined through script is called from inetd Reproduce code: --------------- #!/bin/php <?php if (count($argv) > 0 ) { echo $argv[1]; } else { echo "no servers"; } ?> Expected result: ---------------- serv1 Actual result: -------------- no servers