]> granicus.if.org Git - php/commitdiff
there is no Unicode in 5_2
authorAntony Dovgal <tony2001@php.net>
Tue, 11 Jul 2006 12:15:11 +0000 (12:15 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 11 Jul 2006 12:15:11 +0000 (12:15 +0000)
12 files changed:
Zend/tests/bug28444.phpt
Zend/tests/bug30791.phpt
ext/pdo/tests/bug_36428.phpt
ext/pdo/tests/pdo_030.phpt
ext/spl/tests/array_022.phpt
ext/spl/tests/iterator_027.phpt
ext/spl/tests/iterator_038.phpt
ext/spl/tests/iterator_045.phpt
ext/spl/tests/iterator_046.phpt
ext/spl/tests/iterator_048.phpt
ext/wddx/tests/bug37587.phpt
tests/classes/tostring_001.phpt

index 3c8cfa6df7bb0b07474922d443a9e73c70c9c3a5..78c08d2fc643a7bfdf89aa01c69210484c1bfcc9 100755 (executable)
@@ -79,27 +79,3 @@ int(5)
 Overloaded::__get(z)
 int(6)
 ===DONE===
---UEXPECTF--
-object(Object)#%d (1) {
-  [u"x"]=>
-  int(2)
-}
-int(2)
-int(3)
-Overloaded::__set(y,3)
-int(3)
-Overloaded::__get(y)
-int(3)
-unicode(55) "Object of class Object could not be converted to string"
-Overloaded::__set(z,)
-object(Object)#%d (1) {
-  [u"x"]=>
-  int(4)
-}
-Overloaded::__get(z)
-int(4)
-Overloaded::__get(z)
-int(5)
-Overloaded::__get(z)
-int(6)
-===DONE===
index 0cd0db37ac2c24278a03e46fcb3f693a701778ce..556192ad55329cd02a7651fb01f5c451b13cfb31 100755 (executable)
@@ -33,12 +33,3 @@ object(a)#2 (1) {
   ["a"]=>
   int(4)
 }
---UEXPECT--
-unicode(50) "Object of class a could not be converted to string"
-
-unicode(50) "Object of class a could not be converted to string"
-
-object(a)#2 (1) {
-  [u"a"]=>
-  int(4)
-}
index 77dcdd0c50992de7392d267e8d899a4e73eab6a4..6abba6bd7c673d39b285730b8e13ed98f7c3beb7 100755 (executable)
@@ -31,12 +31,3 @@ array(1) {
   }
 }
 ===DONE===
---UEXPECTF--
-array(1) {
-  [0]=>
-  object(SimpleXMLElement)#3 (1) {
-    [u"a"]=>
-    unicode(3) "xyz"
-  }
-}
-===DONE===
index e9d54754019b381b0f36e6705e9df758821bda5d..854dedc2caf31b87f1fb1c60ac017f40526f6a7a 100755 (executable)
@@ -137,40 +137,3 @@ array(3) {
 ===DONE===
 PDODatabase::__destruct()
 PDOStatementX::__destruct()
---UEXPECT--
-unicode(11) "PDODatabase"
-unicode(12) "PDOStatement"
-===QUERY===
-PDODatabase::query()
-PDOStatementX::__construct()
-PDOStatementX::execute()
-unicode(13) "PDOStatementX"
-unicode(11) "PDODatabase"
-===FOREACH===
-array(3) {
-  [u"id"]=>
-  unicode(2) "10"
-  [u"val"]=>
-  unicode(3) "Abc"
-  [u"val2"]=>
-  unicode(3) "zxy"
-}
-array(3) {
-  [u"id"]=>
-  unicode(2) "20"
-  [u"val"]=>
-  unicode(3) "Def"
-  [u"val2"]=>
-  unicode(3) "wvu"
-}
-array(3) {
-  [u"id"]=>
-  unicode(2) "30"
-  [u"val"]=>
-  unicode(3) "Ghi"
-  [u"val2"]=>
-  unicode(3) "tsr"
-}
-===DONE===
-PDODatabase::__destruct()
-PDOStatementX::__destruct()
index 1067b03bf83b2c9e9c426e0c14111b1da837dabd..9cb2193f10f8c66fdc9c6f4176ae4855c4d132ec 100755 (executable)
@@ -70,27 +70,3 @@ object(MyArrayIterator)#%d (2) {
   string(3) "Foo"
 }
 ===DONE===
---UEXPECTF--
-==ArrayObject===
-object(MyArrayObject)#%d (1) {
-  [u"bar"]=>
-  unicode(3) "baz"
-}
-object(MyArrayObject)#%d (2) {
-  [u"bar"]=>
-  unicode(3) "baz"
-  [u"baz"]=>
-  unicode(3) "Foo"
-}
-==ArrayIterator===
-object(MyArrayIterator)#%d (1) {
-  [u"bar"]=>
-  unicode(3) "baz"
-}
-object(MyArrayIterator)#%d (2) {
-  [u"bar"]=>
-  unicode(3) "baz"
-  [u"baz"]=>
-  unicode(3) "Foo"
-}
-===DONE===
index 633c8fb0ab384bc585efcf6a0f31f78f944d8be5..601515e8fd85cebf660723680bda9ad9e3214841 100755 (executable)
@@ -83,31 +83,3 @@ bool(false)
 bool(false)
 bool(false)
 ===DONE===
---UEXPECT--
-0=>1
-1=>2
-0=>31
-1=>32
-0=>331
-3=>4
-===CHECK===
-int(0)
-int(331)
-int(1)
-int(32)
-int(3)
-int(4)
-unicode(3) "foo"
-unicode(3) "bar"
-unicode(2) "25"
-bool(false)
-bool(true)
-bool(false)
-bool(true)
-bool(false)
-===REWIND===
-bool(true)
-bool(false)
-bool(false)
-bool(false)
-===DONE===
index bc39a83c8b4ac14acfa058b86da4035091f94d7a..71f911c57a755a1c628a4ded63311c4b71fe7731 100755 (executable)
@@ -19,9 +19,3 @@ string(5) "Hello"
 int(1)
 string(5) "World"
 ===DONE===
---UEXPECT--
-int(0)
-unicode(5) "Hello"
-int(1)
-unicode(5) "World"
-===DONE===
index 34dcfa78d1ae07e4390bdb8aa4ee2670897b46ee..ce29349cfbbeb81b332e5e614b44e97b41361952 100755 (executable)
@@ -169,76 +169,3 @@ array(2) {
   string(6) "FooBar"
 }
 ===DONE===
---UEXPECTF--
-Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct)
-Exception: MyCachingIterator does not use a full cache (see CachingIterator::__construct)
-
-Warning: CachingIterator::offsetSet() expects exactly 2 parameters, 0 given in %siterator_045.php on line %d
-NULL
-
-Warning: CachingIterator::offsetSet() expects exactly 2 parameters, 1 given in %siterator_045.php on line %d
-NULL
-
-Warning: CachingIterator::offsetUnset() expects exactly 1 parameter, 0 given in %siterator_045.php on line %d
-NULL
-MyCachingIterator::testSet()
-set(0,25)
-set(1,42)
-set(3,FooBar)
-MyCachingIterator::show()
-array(3) {
-  [0]=>
-  int(25)
-  [1]=>
-  int(42)
-  [3]=>
-  unicode(6) "FooBar"
-}
-MyCachingIterator::testUnset()
-unset(0)
-unset(2)
-MyCachingIterator::show()
-array(2) {
-  [1]=>
-  int(42)
-  [3]=>
-  unicode(6) "FooBar"
-}
-MyCachingIterator::fill()
-MyCachingIterator::show()
-array(4) {
-  [0]=>
-  int(0)
-  [1]=>
-  int(1)
-  [2]=>
-  int(2)
-  [3]=>
-  int(3)
-}
-MyCachingIterator::testSet()
-set(0,25)
-set(1,42)
-set(3,FooBar)
-MyCachingIterator::show()
-array(4) {
-  [0]=>
-  int(25)
-  [1]=>
-  int(42)
-  [2]=>
-  int(2)
-  [3]=>
-  unicode(6) "FooBar"
-}
-MyCachingIterator::testUnset()
-unset(0)
-unset(2)
-MyCachingIterator::show()
-array(2) {
-  [1]=>
-  int(42)
-  [3]=>
-  unicode(6) "FooBar"
-}
-===DONE===
index 35736c4110acca485eb477502a4ce9dc033c0a55..34d9c027b65bcb202b4f0db67413798eb5f90e8c 100755 (executable)
@@ -51,10 +51,3 @@ string(1) "0"
 string(3) "foo"
 string(3) "bar"
 ===DONE===
---UEXPECTF--
-MyCachingIterator::fill()
-MyCachingIterator::show()
-unicode(1) "0"
-unicode(3) "foo"
-unicode(3) "bar"
-===DONE===
index feea20461ad364cfe7c434bde5dae544a3bf8faf..8ad428780905f60a3f1978f7cde90c3d01fc64eb 100755 (executable)
@@ -36,9 +36,3 @@ string(3) "Bar"
 int(2)
 string(6) "FooBar"
 ===DONE===
---UEXPECTF--
-int(0)
-unicode(3) "Bar"
-int(2)
-unicode(6) "FooBar"
-===DONE===
index 2b5d5f3994ad9992a46c2507a32ee281d9f01d5c..5361d38dae4d607d3ef8328143f8754df49f5721 100755 (executable)
@@ -32,12 +32,3 @@ array(1) {
   }
 }
 ===DONE===
---UEXPECT--
-array(1) {
-  [0]=>
-  array(1) {
-    [u"test"]=>
-    string(11) "Hello World"
-  }
-}
-===DONE===
index a3b2cea194c4bd702b789e4d456a93afabafcd5e..53144ca207177eead3a197d38e58621414b09006 100755 (executable)
@@ -128,57 +128,3 @@ object(test3)#%d (0) {
 test3::__toString()
 string(53) "Method test3::__toString() must return a string value"
 ====DONE====
---UEXPECTF--
-====test1====
-test1 Object
-(
-)
-unicode(54) "Object of class test1 could not be converted to string"
-unicode(0) ""
-object(test1)#%d (0) {
-}
-====test2====
-test2 Object
-(
-)
-test2::__toString()
-Converted
-object(test2)#%d (0) {
-}
-====test3====
-test2::__toString()
-Converted
-====test4====
-test2::__toString()
-string:Converted
-====test5====
-test2::__toString()
-1Converted
-1test2::__toString()
-Converted
-====test6====
-test2::__toString()
-test2::__toString()
-Converted
-Converted
-test2::__toString()
-Converted
-test2::__toString()
-Converted
-====test7====
-test2::__toString()
-unicode(19) "Illegal offset type"
-====test8====
-test2::__toString()
-unicode(9) "Converted"
-test2::__toString()
-unicode(9) "Converted"
-====test9====
-test2::__toString()
-Converted
-====test10====
-object(test3)#%d (0) {
-}
-test3::__toString()
-unicode(53) "Method test3::__toString() must return a string value"
-====DONE====