Maintaining the documentation
Maintaining www.php.net
I have a past two years experience of web designing so I can maintain PHP.net and also
documentation.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 23 Dec 2002, Melvyn Sopacua wrote:
Hi,
the current behavior of cli/cgi defaults, is not really intuitive, allthough
correctly mentioned in the NEWS entry.
Attached is a very simple patch, that will resolve that issue.
Specifically:
if you specify --enable-cli and don't specify
On Tue, 24 Dec 2002, Andrei Zmievski wrote:
AZ On Mon, 23 Dec 2002, Melvyn Sopacua wrote:
AZ Hi,
AZ
AZ the current behavior of cli/cgi defaults, is not really intuitive, allthough
correctly mentioned in the NEWS entry.
AZ
AZ Attached is a very simple patch, that will resolve that issue.
But --enable-cli is now a useless switch, because:
* if you don't specify it, cli is built
* if you specify it, cli is built
* if you don't specify it, cli is not installed
* if you specify it, cli is not installed
Only --disable-cgi (--enable-cli still makes no difference) will install cli on
On Tue, 24 Dec 2002, Shane Caraveo wrote:
SC But --enable-cli is now a useless switch, because:
SC * if you don't specify it, cli is built
SC * if you specify it, cli is built
SC * if you don't specify it, cli is not installed
SC * if you specify it, cli is not installed
SC
SC Only
Hi, I have installed php 4.2.1 and error_reporting = ALL.
I write a function called foo() that accept only 1 parameter.
Now if I write:
?
$result = foo(bar);
?
All is ok.
If I write:
?
$result = foo(bar,bar2);
?
All is ok, but for me that is not OK because my function foo() accept
only 1
This is totally bogus, your error_reporting setting should be E_ALL, not
ALL.
michel 'ziobudda' morelli wrote:
Hi, I have installed php 4.2.1 and error_reporting = ALL.
I write a function called foo() that accept only 1 parameter.
Now if I write:
?
$result = foo(bar);
?
All is ok.
If I
AFAIK, it's supposed to allow for more parameters anyway ;)
Eric
Michel 'Ziobudda' Morelli [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi, I have installed php 4.2.1 and error_reporting = ALL.
I write a function called foo() that accept only 1 parameter.
Il mar, 2002-12-24 alle 22:20, Eric Coleman ha scritto:
AFAIK, it's supposed to allow for more parameters anyway ;)
Hmm...
I have supposed it... however in C/C++ is the same (thing).
Sorry for the stupid question and my best whishes with all my heart for
a merry MERRY Christmas.
--
Michel
Is there any possibility that
PHP return me a warning with the message (e.g.) Warning parameter
number for [function name] in [page.php] line [line number] ???
If you really need this behavior, do something like
assert('func_num_args() == 1');
That should generate the warning you describe if
10 matches
Mail list logo