php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch Improved_Debug_Backtrace_for_anonymous_functions for *General Issues Bug #62325

Patch version 2012-06-17 10:56 UTC

Return to Bug #62325 | Download this patch
Patch Revisions:

Developer: anfurny22@gmail.com

2217c2217,2218
< 	zval *stack_frame;
---
> 	zval* stack_frame;
> 	zval* caller_function;
2279c2280,2283
< 
---
> 		MAKE_STD_ZVAL(caller_function);
> 		zend_create_closure(caller_function, ptr->function_state.function, ptr->function_state.function->common.scope, ptr->current_this TSRMLS_CC);
> 		add_assoc_zval(stack_frame, "reference",   caller_function );
> 		

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC