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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dan at osa dot comax dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 13:01:31 2024 UTC