I want to extend standard PDO
class. So i have:
namespace Example;
class NewPDO extends PDO {}
but i get the following error :
Fatal error: Class 'Example\PDO' not found in /home/hdocs/lab/index.php on line 4
I know that's because PDO
class is not within Example
namespace.
how can i solve that ?