-
-
Save nikita2206/af8a6c36693e96ef7a897d7f3b224395 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/xdebug_var.c b/xdebug_var.c | |
index ca111aac..0623c80b 100644 | |
--- a/xdebug_var.c | |
+++ b/xdebug_var.c | |
@@ -549,10 +549,10 @@ static zval* fetch_zval_from_symbol_table(zval *parent, char* name, unsigned int | |
#if PHP_VERSION_ID >= 70000 | |
zval dummy; | |
- tmp_val = zend_read_property(cce, parent, name, name_length, 0, &dummy); | |
+ tmp_val = zend_read_property(cce, parent, name, name_length, 1, &dummy); | |
if (tmp_val && tmp_val != &EG(uninitialized_zval)) { | |
#else | |
- tmp_val = zend_read_property(cce, parent, name, name_length, 0 TSRMLS_CC); | |
+ tmp_val = zend_read_property(cce, parent, name, name_length, 1 TSRMLS_CC); | |
if (tmp_val && tmp_val != EG(uninitialized_zval_ptr)) { | |
#endif | |
retval_p = tmp_val; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment