diff --git a/features/gc.xml b/features/gc.xml index efad31292f..d63f915b5c 100644 --- a/features/gc.xml +++ b/features/gc.xml @@ -30,7 +30,11 @@ A zval container is created when a new variable is created with a constant value, such as: + +]]> @@ -45,7 +49,11 @@ $a = "new string"; + +]]> @@ -61,9 +69,13 @@ a: (refcount=1, is_ref=0)='new string' + +]]> @@ -85,11 +97,15 @@ a: (refcount=2, is_ref=0)='new string' + +]]> @@ -117,8 +133,12 @@ a: (refcount=1, is_ref=0)='new string' + 'life', 'number' => 42 ); xdebug_debug_zval( 'a' ); +?> +]]> @@ -148,9 +168,13 @@ a: (refcount=1, is_ref=0)=array ( + 'life', 'number' => 42 ); $a['life'] = $a['meaning']; xdebug_debug_zval( 'a' ); +?> +]]> @@ -186,10 +210,14 @@ a: (refcount=1, is_ref=0)=array ( + 'life', 'number' => 42 ); $a['life'] = $a['meaning']; unset( $a['meaning'], $a['number'] ); xdebug_debug_zval( 'a' ); +?> +]]> @@ -210,9 +238,11 @@ a: (refcount=1, is_ref=0)=array ( ]]> @@ -451,7 +481,8 @@ a: (refcount=2, is_ref=1)=array ( -]]> +?> +]]> @@ -502,7 +534,8 @@ for ( $i = 0; $i <= 100000; $i++ ) -]]> +?> +]]>