Should be class_exists('\\PDO'); <-- needs two \\ since the \ is also the
escape character. You need to escape the escape.

I'm going to merge this in to my PlatformNamespace branch, since I'm going
through every file again as it is, and I know I missed some things before.
So - I should close this request. :)


On Mon, Jan 7, 2013 at 6:33 PM, Rouven Weßling <notifications@github.com>wrote:

> In libraries/joomla/database/driver/oracle.php:
>
> > @@ -519,7 +519,7 @@ public function unlockTables()
> >  	 */
> >  	public static function isSupported()
> >  	{
> > -		return class_exists('PDO') && in_array('oci', PDO::getAvailableDrivers());
> > +		return class_exists('PDO') && in_array('oci', \PDO::getAvailableDrivers());
>
> Shouldn't this be class_exists('\PDO')?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/joomla/joomla-platform/pull/1721/files#r2572027>.
>
>