Test: /ext/pdo_mysql/tests/pdo_mysql_stmt_fetch_serialize.phpt - Version 5.5.2-dev    

There is 1 diff reported by users for this test.

Count Diff
3 (100%)
001+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_stmt_fetch_serialize.php on line 71
002+
003+ Warning: PDO::exec(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_stmt_fetch_serialize.php on line 73
006- Unserializing the previously serialized object...
007- myclass::unserialize('Data from serialize')
008- object(myclass)#4 (1) {
009- [%u|b%"myprotected":protected]=>
010- %unicode|string%(19) "a protected propery"
011- }
009+ Warning: PDO::prepare(): SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected in %s/pdo_mysql_stmt_fetch_serialize.php on line 79
011+ Fatal error: Call to a member function bindValue() on a non-object in %s/pdo_mysql_stmt_fetch_serialize.php on line 80
013- Using PDO::FETCH_CLASS|PDO::FETCH_SERIALIZE to fetch the object from DB and unserialize it...
014- myclass::unserialize('C:7:"myclass":19:{Data from serialize}')
015- object(myclass)#%d (1) {
016- [%u|b%"myprotected":protected]=>
017- %unicode|string%(19) "a protected propery"
018- }
019-
020- Using PDO::FETCH_CLASS to fetch the object from DB and unserialize it...
021- myclass::__set(myobj, 'C:7:"myclass":19:{Data from serialize}')
022- myclass::__construct(PDO shall call __construct())
023- object(myclass)#%d (2) {
024- [%u|b%"myprotected":protected]=>
025- %unicode|string%(19) "a protected propery"
026- [%u|b%"myobj"]=>
027- %unicode|string%(38) "C:7:"myclass":19:{Data from serialize}"
028- }
029- done!