PHP userland backwards compatibility layer that emulates PHP 5.5+ core functions.

⌈⌋ branch:  upgrade.php

Artifact Content

Artifact 1fdeac59f33643b87271526df69f5d809fe53e6d:

  • File ext/pdo.php — part of check-in [39c9fa23ab] at 2010-06-22 17:03:23 on branch trunk — upgradephp-14 (user: mario size: 412)

   api: PHP
   However, PDO cannot be emulated fully, not on PHP4 especially, because
   the SPL and meta object semantics won't work there. Eventually a subset
   can be reimplemented however. (Would be more useful than ADO and PEARDB
   at least.)

#-- stub
if (!function_exists()) {
   function pdo_drivers() {
      return array();

#-- PDO
if (!class_exists("pdo")) {