Re: Ivan Sutherland's Sketchpad Thesis in a nice PDF!
by Dan Ingalls other posts by this author
Jan 25 2004 7:13PM messages near this date
[PHP-DOC] #27032 [Opn->Csd]: php.net/rand reads 'value', returns an integer
|
[PHP-DOC] Windows Help File.
> 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
Thread:
Joshua 'Schwa' Gargus
Dan Ingalls
Dan Ingalls
Gary Fisher
|