php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #24633 getrusage - non-windows functionality
Submitted: 2003-07-13 05:57 UTC Modified: 2003-07-13 13:53 UTC
From: prof_moriarty at veryfast dot biz Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.2 OS: win98SE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: prof_moriarty at veryfast dot biz
New email:
PHP Version: OS:

 

 [2003-07-13 05:57 UTC] prof_moriarty at veryfast dot biz
Description:
------------
getrusage does not work on windows:
"Fatal error: Call to undefined function: getrusage() in g:\www\se\developer.php on line 99"

However the manual says nothing about it only working on Linux (which i'm guessing is it's only environment, considering windows doesn't deal with that sort of information).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-13 08:40 UTC] nathan@php.net
Note: This function is not implemented on Windows platforms.

RTFM :)
 [2003-07-13 13:53 UTC] prof_moriarty at veryfast dot biz
I did RTFM (having just looked up 'RTFM' on google!). I did a text search for the word 'windows' too in my manual before reporting it!!!! :p

However it seems to be on the online manual, but not the copy i have (4.2+ version).
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 09:01:32 2025 UTC