]> granicus.if.org Git - php/commitdiff
The constructor generates that next line of output, so the expected
authorRasmus Lerdorf <rasmus@php.net>
Wed, 25 Nov 2009 05:44:27 +0000 (05:44 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Wed, 25 Nov 2009 05:44:27 +0000 (05:44 +0000)
output had these 2 lines in the wrong order.  Test your tests!

ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt

index 18ef17b7c2544b5d3db700ddd2501f1a56892f64..9c54dc2f6ee59214f5a3a798cc40c41c66ab8c43 100644 (file)
@@ -142,8 +142,8 @@ object(myclass)#%d (1) {
 }
 
 Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
-myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}')
 myclass::__construct(PDO shall call __construct())
+myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}')
 object(myclass)#%d (2) {
   [%u|b%"myprotected":protected]=>
   %unicode|string%(19) "a protected propery"