diff options
Diffstat (limited to 'ext/pdo/tests/pdo_030.phpt')
-rw-r--r-- | ext/pdo/tests/pdo_030.phpt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/pdo/tests/pdo_030.phpt b/ext/pdo/tests/pdo_030.phpt index 243e94a1e7..a2a9207e77 100644 --- a/ext/pdo/tests/pdo_030.phpt +++ b/ext/pdo/tests/pdo_030.phpt @@ -10,7 +10,7 @@ PDOTest::skip(); ?> --FILE-- <?php -if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.dirname(__FILE__) . '/../../pdo/tests/'); +if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.dirname(__FILE__) . '/../../pdo/tests/'); require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc'; $data = array( @@ -22,23 +22,23 @@ $data = array( class PDOStatementX extends PDOStatement { public $dbh; - + protected function __construct($dbh) { $this->dbh = $dbh; $this->setFetchMode(PDO::FETCH_ASSOC); echo __METHOD__ . "()\n"; } - + function __destruct() { echo __METHOD__ . "()\n"; } - + function execute($params = array()) { echo __METHOD__ . "()\n"; - parent::execute(); + parent::execute(); } } @@ -48,7 +48,7 @@ class PDODatabase extends PDO { echo __METHOD__ . "()\n"; } - + function query($sql) { echo __METHOD__ . "()\n"; |