RE: [PHP] argv and argc
IF it is deprecated in 4.1.0, then what are we meant to use in place of it? Martin -Original Message- From: Darren Gamble [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 9:04 AM To: 'Chris Boget'; PHP General Subject: RE: [PHP] argv and argc Good day, The array $argv contains what you're looking for (I'm not sure if this is deprecated in 4.1.0, though) so you'll have to flip through the manual and release notes. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you can use to get this info? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] argv and argc
> look in the manual under predefined variables: > language.variables.predefined.html Sorry, I should have specified for a function, not a script. I found those vars, just couldn't find the same for a function. Just found it, though: func_num_args(); func_get_arg(); :) Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] argv and argc
Good day, The array $argv contains what you're looking for (I'm not sure if this is deprecated in 4.1.0, though) so you'll have to flip through the manual and release notes. Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you can use to get this info? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] argv and argc
Here are all the predefined variables that are in PHP. You will notice that there is an argc and argv here. http://www.php.net/manual/en/language.variables.predefined.php Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 3:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you can use to get this info? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] argv and argc
look in the manual under predefined variables: language.variables.predefined.html -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 19, 2002 4:00 PM To: PHP General Subject: [PHP] argv and argc The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you can use to get this info? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] argv and argc
The other day, I was reading the docs and I just happened across something that emulated argc and argv. However, I just spent 2 hours in the docs and can't find it. Is there something in PHP that you can use to get this info? thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php