mirror of
https://github.com/php/php-src.git
synced 2026-04-09 09:03:04 +02:00
Refcount may have different meaning in PHP NG
This commit is contained in:
@@ -57,63 +57,63 @@ if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1))
|
||||
print "done!";
|
||||
?>
|
||||
--EXPECTF--
|
||||
array(1) refcount(2){
|
||||
array(1) refcount(%d){
|
||||
[0]=>
|
||||
array(4) refcount(1){
|
||||
array(4) refcount(%d){
|
||||
[%u|b%"row_ref"]=>
|
||||
&NULL refcount(2)
|
||||
&NULL
|
||||
[%u|b%"row_copy"]=>
|
||||
array(2) refcount(1){
|
||||
[%u|b%"id"]=>
|
||||
%unicode|string%(1) "1" refcount(2)
|
||||
%unicode|string%(1) "1" refcount(%d)
|
||||
[%u|b%"label"]=>
|
||||
%unicode|string%(1) "a" refcount(2)
|
||||
%unicode|string%(1) "a" refcount(%d)
|
||||
}
|
||||
[%u|b%"id_ref"]=>
|
||||
%unicode|string%(1) "1" refcount(1)
|
||||
%unicode|string%(1) "1" refcount(%d)
|
||||
[%u|b%"id_copy"]=>
|
||||
%unicode|string%(1) "1" refcount(1)
|
||||
%unicode|string%(1) "1" refcount(%d)
|
||||
}
|
||||
}
|
||||
array(2) refcount(2){
|
||||
array(2) refcount(%d){
|
||||
[0]=>
|
||||
array(4) refcount(1){
|
||||
array(4) refcount(%d){
|
||||
[%u|b%"row_ref"]=>
|
||||
&NULL refcount(2)
|
||||
&NULL
|
||||
[%u|b%"row_copy"]=>
|
||||
array(2) refcount(1){
|
||||
array(2) refcount(%d){
|
||||
[%u|b%"id"]=>
|
||||
%unicode|string%(1) "1" refcount(1)
|
||||
%unicode|string%(1) "1" refcount(%d)
|
||||
[%u|b%"label"]=>
|
||||
%unicode|string%(1) "a" refcount(1)
|
||||
%unicode|string%(1) "a" refcount(%d)
|
||||
}
|
||||
[%u|b%"id_ref"]=>
|
||||
%unicode|string%(1) "1" refcount(1)
|
||||
%unicode|string%(1) "1" refcount(%d)
|
||||
[%u|b%"id_copy"]=>
|
||||
%unicode|string%(1) "1" refcount(1)
|
||||
%unicode|string%(1) "1" refcount(%d)
|
||||
}
|
||||
[1]=>
|
||||
array(5) refcount(1){
|
||||
array(5) refcount(%d){
|
||||
[%u|b%"row_ref"]=>
|
||||
&array(2) refcount(2){
|
||||
&array(2) refcount(%d){
|
||||
[%u|b%"id"]=>
|
||||
&%unicode|string%(1) "2" refcount(2)
|
||||
&%unicode|string%(1) "2" refcount(%d)
|
||||
[%u|b%"label"]=>
|
||||
%unicode|string%(1) "b" refcount(2)
|
||||
%unicode|string%(1) "b" refcount(%d)
|
||||
}
|
||||
[%u|b%"row_copy"]=>
|
||||
array(2) refcount(1){
|
||||
array(2) refcount(%d){
|
||||
[%u|b%"id"]=>
|
||||
%unicode|string%(1) "2" refcount(1)
|
||||
%unicode|string%(1) "2" refcount(%d)
|
||||
[%u|b%"label"]=>
|
||||
%unicode|string%(1) "b" refcount(2)
|
||||
%unicode|string%(1) "b" refcount(%d)
|
||||
}
|
||||
[%u|b%"id_ref"]=>
|
||||
&%unicode|string%(1) "2" refcount(2)
|
||||
&%unicode|string%(1) "2" refcount(%d)
|
||||
[%u|b%"id_copy"]=>
|
||||
%unicode|string%(1) "2" refcount(1)
|
||||
%unicode|string%(1) "2" refcount(%d)
|
||||
[%u|b%"id_copy_mod"]=>
|
||||
long(2) refcount(1)
|
||||
long(2)
|
||||
}
|
||||
}
|
||||
done!
|
||||
done!
|
||||
|
||||
Reference in New Issue
Block a user