RE: PDO Changes from 5.0.x To 5.1.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Only way I know is to import them into the global scope with define()

If (!defined(PDO_FETCH_ASSOC))
 define('PDO_FETCH_ASSOC', PDO::FETCH_ASSOC);

As for further differences, I'm not aware of any.

Jared

> 
> According to documentation, PDO globals constants in 5.0.3+ 
> were changed to class constants in 5.1.
> 
> Does anyone have a suggestion for portability of constants 
> between the 5.0.x branch and the 5.1 branch without having to 
> rewrite code.
> 
> Besides the constants, what other differences exist in PDO 
> for 5.0.x and 5.1 that may effect portability/functionality?
> 
> Chris D.
> 
> --
> PHP General Mailing List (http://www.php.net/) To 
> unsubscribe, visit: http://www.php.net/unsub.php
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux