]> granicus.if.org Git - php/commitdiff
MFB: Fully print array() in phpinfo().
authorIlia Alshanetsky <iliaa@php.net>
Sun, 11 Jun 2006 16:27:41 +0000 (16:27 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sun, 11 Jun 2006 16:27:41 +0000 (16:27 +0000)
ext/standard/info.c

index b6ae535a98b603352a963ffdac3bc3dde27f700c..d55bebff5d2d8aa05086b6e72cbff43f37e78afc 100644 (file)
@@ -156,7 +156,7 @@ static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC)
                        if (Z_TYPE_PP(tmp) == IS_ARRAY) {
                                if (!sapi_module.phpinfo_as_text) {
                                        PUTS("<pre>");
-                                       zend_print_zval_ex((zend_write_func_t) php_info_write_wrapper, *tmp, 0);
+                                       zend_print_zval_r_ex((zend_write_func_t) php_info_write_wrapper, *tmp, 0);
                                        PUTS("</pre>");
                                } else {
                                        zend_print_zval_r(*tmp, 0 TSRMLS_CC);