Skip to content

Instantly share code, notes, and snippets.

Avatar

Patrick Allaert patrickallaert

View GitHub Profile
View result.txt
$ php test.php
Array
(
[a] => 1
[b] => 1
)
Array
(
[a] => 1
[b] => 1
View debug_backtrace-limit.patch
Index: Zend/zend_builtin_functions.c
===================================================================
--- Zend/zend_builtin_functions.c (revision 309942)
+++ Zend/zend_builtin_functions.c (working copy)
@@ -227,6 +227,7 @@
ZEND_BEGIN_ARG_INFO_EX(arginfo_debug_backtrace, 0, 0, 0)
ZEND_ARG_INFO(0, options)
+ ZEND_ARG_INFO(0, limit)
ZEND_END_ARG_INFO()