php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3147 Problem with the getrusage() function
Submitted: 2000-01-08 12:04 UTC Modified: 2000-02-23 15:23 UTC
From: jonasped at person dot dk Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Beta 3 OS: Linux
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: jonasped at person dot dk
New email:
PHP Version: OS:

 

 [2000-01-08 12:04 UTC] jonasped at person dot dk
$usage = getrusage();
$usage["ru_utime.tv_usec"];

If I try to do the following in php4b3 I don't get any output.
In php3 it works just fine. 
I have compiled php4 with mysql and enable-trackvars, just like I did in php3. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-23 15:23 UTC] sas at cvs dot php dot net
Fixed in CVS. Thanks for your report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 10:00:01 2026 UTC