diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-05-26 22:06:44 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-05-26 22:06:44 +0200 |
commit | 4455899a938167ea8617e71dd5f19e92dcc8ab0c (patch) | |
tree | 82f0d39a67e50df229afca985f8aa4d0508784fc | |
parent | a422b1e60c15df8de8aead584e5d6f565426918b (diff) | |
parent | 34fb42970a40673e17778ae06fdab751046ccf1d (diff) | |
download | php-git-4455899a938167ea8617e71dd5f19e92dcc8ab0c.tar.gz |
Merge branch 'PHP-7.1' into PHP-7.2
-rw-r--r-- | .gdbinit | 12 | ||||
-rw-r--r-- | php.ini-development | 4 | ||||
-rw-r--r-- | php.ini-production | 4 |
3 files changed, 20 insertions, 0 deletions
@@ -16,9 +16,11 @@ define ____executor_globals end set $eg = ((zend_executor_globals*) (*((void ***) $tsrm_ls))[executor_globals_id-1]) set $cg = ((zend_compiler_globals*) (*((void ***) $tsrm_ls))[compiler_globals_id-1]) + set $eg_ptr = $eg else set $eg = executor_globals set $cg = compiler_globals + set $eg_ptr = (zend_executor_globals*) &executor_globals end end @@ -289,6 +291,16 @@ define ____printzv end end +define print_global_vars + ____executor_globals + set $symtable = ((HashTable *)&($eg_ptr->symbol_table)) + print_ht $symtable +end + +document print_global_vars + Prints the global variables +end + define print_const_table set $ind = 1 printf "[%p] {\n", $arg0 diff --git a/php.ini-development b/php.ini-development index 57500369aa..8dbdba3274 100644 --- a/php.ini-development +++ b/php.ini-development @@ -1879,6 +1879,10 @@ ldap.max_links = -1 ; Prevent name collisions in chroot'ed environment. ;opcache.validate_root=0 +; If specified, it produces opcode dumps for debugging different stages of +; optimizations. +;opcache.opt_debug_level=0 + [curl] ; A default value for the CURLOPT_CAINFO option. This is required to be an ; absolute path. diff --git a/php.ini-production b/php.ini-production index 9733ec4d29..bcb082827c 100644 --- a/php.ini-production +++ b/php.ini-production @@ -1886,6 +1886,10 @@ ldap.max_links = -1 ; Prevent name collisions in chroot'ed environment. ;opcache.validate_root=0 +; If specified, it produces opcode dumps for debugging different stages of +; optimizations. +;opcache.opt_debug_level=0 + [curl] ; A default value for the CURLOPT_CAINFO option. This is required to be an ; absolute path. |