Skip to content

Commit 8582e53

Browse files
committed
Merge branch 'PHP-7.2'
2 parents 2788ab9 + 4455899 commit 8582e53

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

Diff for: .gdbinit

+12
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@ define ____executor_globals
1616
end
1717
set $eg = ((zend_executor_globals*) (*((void ***) $tsrm_ls))[executor_globals_id-1])
1818
set $cg = ((zend_compiler_globals*) (*((void ***) $tsrm_ls))[compiler_globals_id-1])
19+
set $eg_ptr = $eg
1920
else
2021
set $eg = executor_globals
2122
set $cg = compiler_globals
23+
set $eg_ptr = (zend_executor_globals*) &executor_globals
2224
end
2325
end
2426

@@ -289,6 +291,16 @@ define ____printzv
289291
end
290292
end
291293

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+
292304
define print_const_table
293305
set $ind = 1
294306
printf "[%p] {\n", $arg0

Diff for: php.ini-development

+4
Original file line numberDiff line numberDiff line change
@@ -1860,6 +1860,10 @@ ldap.max_links = -1
18601860
; Prevent name collisions in chroot'ed environment.
18611861
;opcache.validate_root=0
18621862

1863+
; If specified, it produces opcode dumps for debugging different stages of
1864+
; optimizations.
1865+
;opcache.opt_debug_level=0
1866+
18631867
[curl]
18641868
; A default value for the CURLOPT_CAINFO option. This is required to be an
18651869
; absolute path.

Diff for: php.ini-production

+4
Original file line numberDiff line numberDiff line change
@@ -1867,6 +1867,10 @@ ldap.max_links = -1
18671867
; Prevent name collisions in chroot'ed environment.
18681868
;opcache.validate_root=0
18691869

1870+
; If specified, it produces opcode dumps for debugging different stages of
1871+
; optimizations.
1872+
;opcache.opt_debug_level=0
1873+
18701874
[curl]
18711875
; A default value for the CURLOPT_CAINFO option. This is required to be an
18721876
; absolute path.

0 commit comments

Comments
 (0)