View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000955 | Xdebug | Profiling | public | 2013-06-25 13:40 | 2021-04-14 16:03 | 
| Reporter | najcik | Assigned To | derick | ||
| Priority | normal | Severity | feature | Reproducibility | N/A | 
| Status | closed | Resolution | won't fix | ||
| Summary | 0000955: provide a profiler API for xdebug | ||||
| Description | In the .NET world there's something called profiler API. This extension is very low level (in terms of .NET code) but it gives programmers very interesting features: it allows for example to register callbacks on any function, method invocation or property access. It's like events for function calls: onCall, onReturn etc. - with the ProfilerAPI you could for example skip the call, modify its return value, fiddle with its parameters and the like or stub the whole invocation with a function of your choice. Ideally the hooks could be used from the PHP Code e.g. regular php code to be registered as onCall or onReturn handlers.  | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.1.0 | ||||
| 
		 | 
	
	 Here's how the profiler API was exploited at Typemock.  | 
| 
		 | 
	
	 Are you still interested in this? I have not had anybody else ask about it, and I also don't really feel like this is a debugging tool. It is much more like runkit or something like that.  | 
| 
		 | 
	
	 Thanks for taking time to review this suggestion.  | 
| 
		 | 
	
	 Is this issue still relevant to you?  | 
| 
		 | 
	
	 I am closing this out, as there was only ever one request for this.  | 
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2013-06-25 13:40 | najcik | New Issue | |
| 2013-06-25 13:54 | najcik | Note Added: 0002523 | |
| 2016-12-13 21:11 | derick | Note Added: 0004045 | |
| 2016-12-13 21:11 | derick | Assigned To | => derick | 
| 2016-12-13 21:11 | derick | Status | new => feedback | 
| 2016-12-14 08:55 | najcik | Note Added: 0004064 | |
| 2016-12-14 08:55 | najcik | Status | feedback => assigned | 
| 2020-03-12 16:47 | derick | Category | Feature/Change request => Profiling | 
| 2021-03-17 09:21 | derick | Status | assigned => feedback | 
| 2021-03-17 09:21 | derick | Note Added: 0005738 | |
| 2021-04-14 16:03 | derick | Status | feedback => closed | 
| 2021-04-14 16:03 | derick | Resolution | open => won't fix | 
| 2021-04-14 16:03 | derick | Note Added: 0005831 |