svn: /php/php-src/ branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt
trunk/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt
| From: | Rasmus Lerdorf | Date: | Wed, 25 Nov 2009 05:44:27 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt trunk/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-61010@lists.php.net to get a copy of this message | ||
rasmus Wed, 25 Nov 2009 05:44:27 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291291
Log:
The constructor generates that next line of output, so the expected
output had these 2 lines in the wrong order. Test your tests!
Changed paths:
U php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt
U php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt
Modified: php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt 2009-11-25
05:38:33 UTC (rev 291290)
+++ php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt 2009-11-25
05:44:27 UTC (rev 291291)
@@ -142,8 +142,8 @@
}
Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
+myclass::__construct(PDO shall call __construct())
myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}')
-myclass::__construct(PDO shall call __construct())
object(myclass)#%d (2) {
[%u|b%"myprotected":protected]=>
%unicode|string%(19) "a protected propery"
Modified: php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt
===================================================================
--- php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt 2009-11-25 05:38:33
UTC (rev 291290)
+++ php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt 2009-11-25 05:44:27
UTC (rev 291291)
@@ -142,8 +142,8 @@
}
Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
+myclass::__construct(PDO shall call __construct())
myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}')
-myclass::__construct(PDO shall call __construct())
object(myclass)#%d (2) {
[%u|b%"myprotected":protected]=>
%unicode|string%(19) "a protected propery"