[PHP-DOC] #25621 [Com]: [chm] bug on function.zend-logo-guid.html

2003-09-21 Thread daveb at optusnet dot com dot au
 ID:   25621
 Comment by:   daveb at optusnet dot com dot au
 Reported By:  sardonyx_quinx at yahoo dot com
 Status:   Open
 Bug Type: Documentation problem
 Operating System: windows 98
 PHP Version:  4.3.3
 New Comment:

Can someone else close this? It is fixed in CVS, but bugs.php.net isn't
accepting my CVS username/password yet.


Previous Comments:


[2003-09-21 13:08:43] sardonyx_quinx at yahoo dot com

Description:

I have found a bug on page function.zend-logo-guid.html
[chm date: 2003-09-06]...


Reproduce code:
---
'; 

?>

Expected result:

'; 

?>

Actual result:
--
'; 

?>





-- 
Edit this bug report at http://bugs.php.net/?id=25621&edit=1


[PHP-DOC] #25186 [Com]: php_uname - not the build os, but the running os

2003-08-21 Thread daveb at optusnet dot com dot au
 ID:  25186
 Comment by:  daveb at optusnet dot com dot au
 Reported By: [EMAIL PROTECTED]
 Status:  Open
 Bug Type:Documentation problem
 PHP Version: Irrelevant
 New Comment:

To me it looks like:

On Windows, it's always the running OS.

On *nix, it's the running OS except when the call to uname() fails or
when  doesn't exist, then it falls back to the build
OS.

As for the PHP_OS constant, it seems to always be the build OS.

So the documentation appears to needs work.


Previous Comments:


[2003-08-21 05:26:18] [EMAIL PROTECTED]

Description:

Is this note correct?

vbhackattack at hotmail dot com 24-Mar-2003 05:17

According to the source code for this function (/ext/standard/info.c),
the description is not correct. The function returns information about
the operating system PHP is _running_ on, not built on. For example, if
PHP was build on Win2000 but is running on WinXP, the function should
report a version number appropriate for WinXP. I have not tested this,
just read the source code which calls the WinAPI function GetVersion()
or the *nix function uname() at _run_ time.

John







-- 
Edit this bug report at http://bugs.php.net/?id=25186&edit=1