php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #10349 Warning: getrusage() is not supported
Submitted: 2001-04-16 15:46 UTC Modified: 2002-04-27 15:16 UTC
From: dan at osa dot comax dot com Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: Windows Nt 4.0
Private report: No CVE-ID: None
 [2001-04-16 15:46 UTC] dan at osa dot comax dot 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;
          }

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-28 15:47 UTC] 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.)


 [2002-04-27 15:16 UTC] jimw@php.net
there's no getrusage() on windows.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 10:01:28 2024 UTC