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 a
> 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
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, Al
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]]
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 happen
5 matches
Mail list logo