File tree 3 files changed +20
-0
lines changed
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ define ____executor_globals
16
16
end
17
17
set $eg = ((zend_executor_globals*) (*((void ***) $tsrm_ls ))[executor_globals_id-1 ])
18
18
set $cg = ((zend_compiler_globals*) (*((void ***) $tsrm_ls ))[compiler_globals_id-1 ])
19
+ set $eg_ptr = $eg
19
20
else
20
21
set $eg = executor_globals
21
22
set $cg = compiler_globals
23
+ set $eg_ptr = (zend_executor_globals*) &executor_globals
22
24
end
23
25
end
24
26
@@ -289,6 +291,16 @@ define ____printzv
289
291
end
290
292
end
291
293
294
+ define print_global_vars
295
+ ____executor_globals
296
+ set $symtable = ((HashTable *)&($eg_ptr ->symbol_table))
297
+ print_ht $symtable
298
+ end
299
+
300
+ document print_global_vars
301
+ Prints the global variables
302
+ end
303
+
292
304
define print_const_table
293
305
set $ind = 1
294
306
printf " [%p] {\n " , $arg0
Original file line number Diff line number Diff line change @@ -1879,6 +1879,10 @@ ldap.max_links = -1
1879
1879
; Prevent name collisions in chroot'ed environment.
1880
1880
;opcache.validate_root=0
1881
1881
1882
+ ; If specified, it produces opcode dumps for debugging different stages of
1883
+ ; optimizations.
1884
+ ;opcache.opt_debug_level=0
1885
+
1882
1886
[curl]
1883
1887
; A default value for the CURLOPT_CAINFO option. This is required to be an
1884
1888
; absolute path.
Original file line number Diff line number Diff line change @@ -1886,6 +1886,10 @@ ldap.max_links = -1
1886
1886
; Prevent name collisions in chroot'ed environment.
1887
1887
;opcache.validate_root=0
1888
1888
1889
+ ; If specified, it produces opcode dumps for debugging different stages of
1890
+ ; optimizations.
1891
+ ;opcache.opt_debug_level=0
1892
+
1889
1893
[curl]
1890
1894
; A default value for the CURLOPT_CAINFO option. This is required to be an
1891
1895
; absolute path.
You can’t perform that action at this time.
0 commit comments