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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 + 12 = ?
Subscribe to this entry?

 
 [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: Sun Mar 03 00:01:29 2024 UTC