From: Rasmus Lerdorf Date: Wed, 25 Nov 2009 05:44:27 +0000 (+0000) Subject: The constructor generates that next line of output, so the expected X-Git-Tag: php-5.4.0alpha1~191^2~2344 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4bf5bab5962af6c03c280a23e184d5a23d25d3ea;p=php The constructor generates that next line of output, so the expected output had these 2 lines in the wrong order. Test your tests! --- diff --git a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt index 18ef17b7c2..9c54dc2f6e 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt @@ -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"