mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
fix tests
This commit is contained in:
parent
e76b7240a1
commit
d9d3c3ca08
@ -1,6 +1,5 @@
|
||||
--TEST--
|
||||
Tests that array manipulation code is correctly dealing with copy on write and
|
||||
splitting on reference.
|
||||
Tests that array manipulation code is correctly dealing with copy on write and splitting on reference.
|
||||
--FILE--
|
||||
<?php
|
||||
$a=array();
|
||||
@ -19,4 +18,4 @@ array(1) {
|
||||
array(1) {
|
||||
[0]=>
|
||||
int(1)
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
--TEST--
|
||||
Tests that array unshift code is correctly dealing with copy on write and
|
||||
splitting on reference.
|
||||
Tests that array unshift code is correctly dealing with copy on write and splitting on reference.
|
||||
--FILE--
|
||||
<?php
|
||||
$a=array();
|
||||
@ -19,4 +18,4 @@ array(1) {
|
||||
array(1) {
|
||||
[0]=>
|
||||
int(1)
|
||||
}
|
||||
}
|
||||
|
@ -56,3 +56,24 @@ string(7) "1.0E+19"
|
||||
string(7) "1.0E+37"
|
||||
string(1) "0"
|
||||
Done
|
||||
--UEXPECTF--
|
||||
unicode(7) "2.9E+37"
|
||||
unicode(18) "290000000000000000"
|
||||
unicode(15) "290000000000000"
|
||||
unicode(14) "29000000000000"
|
||||
unicode(14) "29000000000000"
|
||||
unicode(14) "29000000000001"
|
||||
unicode(13) "29000.7123123"
|
||||
unicode(15) "239234242.71231"
|
||||
unicode(16) "0.12345678901235"
|
||||
unicode(7) "1.0E+46"
|
||||
unicode(7) "1.0E+33"
|
||||
unicode(18) "100000000000000001"
|
||||
unicode(19) "1000006000000000011"
|
||||
unicode(15) "100000000000001"
|
||||
unicode(11) "10000000000"
|
||||
unicode(18) "999999999999999999"
|
||||
unicode(7) "1.0E+19"
|
||||
unicode(7) "1.0E+37"
|
||||
unicode(1) "0"
|
||||
Done
|
||||
|
Loading…
Reference in New Issue
Block a user