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
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:
17 - 5 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 28 06:01:30 2024 UTC