Bug #10349 Updated: Warning: getrusage() is not supported
| From: | jimw@php.net | Date: | Sat, 27 Apr 2002 19:16:39 +0000 |
| Subject: | Bug #10349 Updated: Warning: getrusage() is not supported | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-6279@lists.php.net to get a copy of this message | ||
ID: 10349
Updated by: jimw@php.net
Reported By: dan@osa.comax.com
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: Windows Nt 4.0
PHP Version: 4.0.4pl1
New Comment:
there's no getrusage() on windows.
Previous Comments:
------------------------------------------------------------------------
[2001-04-28 15:47:05] jmoore@php.net
this is becuase the underlying C function isnt avalible to PHP (The
information getrusage() isnt easyly avalible under win32. chaging to
feature/change request.)
------------------------------------------------------------------------
[2001-04-16 15:46:14] dan@osa.comax.com
Warning: getrusage() is not supported in this PHP build
if (function_exists('getrusage')) {
$dat = getrusage();
$Str = '';
foreach ($dat as $k => $v)
{
$Str .= $k . $v;
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=10349&edit=1