P.S. (placed intentionally on top)
I just recognized, that my suggestion is not worth a penny for the *english* documentation. I usually use the german one - where my problem is not mentioned. Could you please inform the team of the german translators about this issue? Or - if you preferr - tell me a mail address of them and I'll do (or even better: publish the list address of a localisation team with that locale documentation..). Thanks!



Hi List,


please don't misunderstand the subject - I just want to referr to a function and not to harm your health ;-)

While trying to add a comment to the documentation on php.net it said:

> If you are just commenting on the fact that something is not
> documented, save your breath. This is where you add to the
> documentation, not where you ask us to add the documentation. You may
> choose to email the PHP Documentation Team to discuss the change.

So here we go:
The function die() expects a string as parameter. Other functions that expect a string, but are provided with a integer, will cast that int to string. die() doesn't output anything and terminates the php script.


I could verify this on two machines:

Intel Celeron running SuSE Linux 8.2,
Kernel 2.4.20-4GB as provided by SuSE
Apache/1.3.27 as provided by SuSE
PHP/4.3.1 as provided by SuSE

and

Intel Pentium M (Centrino) running SuSE Linux 9.0
jailed in a VMWARE box on Windows XP ;-)
Kernel 2.4.21-99-default as provided by SuSE
Apache/1.3.28 as provided by SuSE
PHP/5.0.0b3 compiled with gcc version 3.3.1

Futher information provided on request.

Hope you can add this to the docs, because it took me quite a minute to figure out this behavior.

Regards,

Oliver

Reply via email to