php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #48174 Memory tracking
Submitted: 2009-05-07 04:51 UTC Modified: 2013-10-15 11:54 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: jandosul at gmail dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.3.0RC1 OS: Windows XP
Private report: No CVE-ID: None
 [2009-05-07 04:51 UTC] jandosul at gmail dot com
Description:
------------
1. There is missing one option to get size of <u>variable</u>.

2. Add context parameter to get_defined_vars cuz i cant get all defined variables in class context or add get_defined_objects?

Thanx


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-02 01:51 UTC] yohgaki@php.net
-Status: Open +Status: Feedback -Package: Feature/Change Request +Package: *General Issues
 [2013-08-02 01:51 UTC] yohgaki@php.net
> 1. There is missing one option to get size of <u>variable</u>.

What do you mean size? You may use count() or strlen()

> 2. Add context parameter to get_defined_vars cuz i cant get all defined 
variables in class context or add get_defined_objects?

You may use get_class_vars()/get_object_vars() and use get_defined_vars().
 [2013-10-15 11:54 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 19:01:30 2024 UTC