?>
--EXPECT--
string(29) "Sat, 01 Jul 06 14:27:30 +0200"
+--UEXPECT--
+unicode(29) "Sat, 01 Jul 06 14:27:30 +0200"
string(31) "Tue, 30 May 2006 14:32:13 +0200"
string(25) "2006-07-01T14:27:30+02:00"
string(25) "2006-05-30T14:32:13+02:00"
+--UEXPECT--
+unicode(25) "2006-07-01T14:27:30+02:00"
+unicode(25) "2006-05-30T14:32:13+02:00"
+unicode(33) "Saturday, 01-Jul-06 14:27:30 CEST"
+unicode(32) "Tuesday, 30-May-06 14:32:13 CEST"
+unicode(24) "2006-07-01T14:27:30+0200"
+unicode(24) "2006-05-30T14:32:13+0200"
+unicode(29) "Sat, 01 Jul 06 14:27:30 +0200"
+unicode(29) "Tue, 30 May 06 14:32:13 +0200"
+unicode(33) "Saturday, 01-Jul-06 14:27:30 CEST"
+unicode(32) "Tuesday, 30-May-06 14:32:13 CEST"
+unicode(29) "Sat, 01 Jul 06 14:27:30 +0200"
+unicode(29) "Tue, 30 May 06 14:32:13 +0200"
+unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200"
+unicode(31) "Tue, 30 May 2006 14:32:13 +0200"
+unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200"
+unicode(31) "Tue, 30 May 2006 14:32:13 +0200"
+unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200"
+unicode(31) "Tue, 30 May 2006 14:32:13 +0200"
+unicode(25) "2006-07-01T14:27:30+02:00"
+unicode(25) "2006-05-30T14:32:13+02:00"
}
}
===DONE===
+--UEXPECTF--
+array(7) {
+ [u"FileName"]=>
+ string(12) "bug34704.jpg"
+ [u"FileDateTime"]=>
+ int(1128867104)
+ [u"FileSize"]=>
+ int(9976)
+ [u"FileType"]=>
+ int(2)
+ [u"MimeType"]=>
+ string(10) "image/jpeg"
+ [u"SectionsFound"]=>
+ string(4) "IFD0"
+ [u"COMPUTED"]=>
+ array(5) {
+ [u"html"]=>
+ string(24) "width="386" height="488""
+ [u"Height"]=>
+ int(488)
+ [u"Width"]=>
+ int(386)
+ [u"IsColor"]=>
+ int(1)
+ [u"ByteOrderMotorola"]=>
+ int(0)
+ }
+}
+===DONE===
[2]=>
string(13) "Comment #3end"
}
-}
\ No newline at end of file
+}
+--UEXPECT--
+array(5) {
+ [u"FILE"]=>
+ array(6) {
+ [u"FileName"]=>
+ string(9) "test2.jpg"
+ [u"FileDateTime"]=>
+ int(1115993416)
+ [u"FileSize"]=>
+ int(1240)
+ [u"FileType"]=>
+ int(2)
+ [u"MimeType"]=>
+ string(10) "image/jpeg"
+ [u"SectionsFound"]=>
+ string(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
+ }
+ [u"COMPUTED"]=>
+ array(12) {
+ [u"html"]=>
+ string(20) "width="1" height="1""
+ [u"Height"]=>
+ int(1)
+ [u"Width"]=>
+ int(1)
+ [u"IsColor"]=>
+ int(1)
+ [u"ByteOrderMotorola"]=>
+ int(1)
+ [u"UserComment"]=>
+ string(16) "Exif test image."
+ [u"UserCommentEncoding"]=>
+ string(5) "ASCII"
+ [u"Copyright"]=>
+ string(41) "Photo (c) M.Boerger, Edited by M.Boerger."
+ [u"Copyright.Photographer"]=>
+ string(19) "Photo (c) M.Boerger"
+ [u"Copyright.Editor"]=>
+ string(20) "Edited by M.Boerger."
+ [u"Thumbnail.FileType"]=>
+ int(2)
+ [u"Thumbnail.MimeType"]=>
+ string(10) "image/jpeg"
+ }
+ [u"IFD0"]=>
+ array(2) {
+ [u"Copyright"]=>
+ string(19) "Photo (c) M.Boerger"
+ [u"UserComment"]=>
+ string(5) "ASCII"
+ }
+ [u"THUMBNAIL"]=>
+ array(2) {
+ [u"JPEGInterchangeFormat"]=>
+ int(134)
+ [u"JPEGInterchangeFormatLength"]=>
+ int(523)
+ }
+ [u"COMMENT"]=>
+ array(3) {
+ [0]=>
+ string(11) "Comment #1."
+ [1]=>
+ string(11) "Comment #2."
+ [2]=>
+ string(13) "Comment #3end"
+ }
+}
string(11) "Ifd00000009"
["DateTime"]=>
string(19) "2002:10:18 20:06:00"
-}
\ No newline at end of file
+}
+--UEXPECTF--
+array(2) {
+ [u"ImageDescription"]=>
+ string(11) "Ifd00000009"
+ [u"DateTime"]=>
+ string(19) "2002:10:18 20:06:00"
+}
Test::serialize()
Exception: Test::serialize() must return a string or NULL
===DONE===
+--UEXPECT--
+==========
+unicode(6) "String"
+Test::__construct(String)
+Test::serialize(String)
+Test::unserialize(String)
+object(Test)#1 (1) {
+ [u"data"]=>
+ string(6) "String"
+}
+object(Test)#1 (1) {
+ [u"data"]=>
+ string(6) "String"
+}
+==========
+NULL
+Test::__construct()
+Test::serialize()
+NULL
+==========
+int(42)
+Test::__construct(42)
+Test::serialize(42)
+Exception: Test::serialize() must return a string or NULL
+==========
+bool(false)
+Test::__construct()
+Test::serialize()
+Exception: Test::serialize() must return a string or NULL
+===DONE===