Posted on Dec 23, 2008 by
Helpful Dog
What steps will reproduce the problem? 1. Execute the following code: {{{ $db = PDB::connect($dsn, $user, $pass); $db->setFetchMode(PDO::FETCH_CLASS, 'stdClass'); }}}
What is the expected output? What do you see instead? Dies with: {{{ Fatal error: Call to undefined function UnexpectedArgumentException() in PDB/Common.php on line 509 }}}
This is because line 590 has throw UnexpectedArgumentException
rather
than throw new UnexpectedArgumentException
.
Comment #1
Posted on Jan 7, 2009 by Helpful Dog(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium