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===
["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)
-}
}
}
===DONE===
---UEXPECTF--
-array(1) {
- [0]=>
- object(SimpleXMLElement)#3 (1) {
- [u"a"]=>
- unicode(3) "xyz"
- }
-}
-===DONE===
===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()
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===
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===
int(1)
string(5) "World"
===DONE===
---UEXPECT--
-int(0)
-unicode(5) "Hello"
-int(1)
-unicode(5) "World"
-===DONE===
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===
string(3) "foo"
string(3) "bar"
===DONE===
---UEXPECTF--
-MyCachingIterator::fill()
-MyCachingIterator::show()
-unicode(1) "0"
-unicode(3) "foo"
-unicode(3) "bar"
-===DONE===
int(2)
string(6) "FooBar"
===DONE===
---UEXPECTF--
-int(0)
-unicode(3) "Bar"
-int(2)
-unicode(6) "FooBar"
-===DONE===
}
}
===DONE===
---UEXPECT--
-array(1) {
- [0]=>
- array(1) {
- [u"test"]=>
- string(11) "Hello World"
- }
-}
-===DONE===
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====