fix tests

This commit is contained in:
Antony Dovgal 2007-07-13 15:42:31 +00:00
parent e76b7240a1
commit d9d3c3ca08
3 changed files with 25 additions and 6 deletions

View File

@ -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)
}
}

View File

@ -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)
}
}

View File

@ -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