summaryrefslogtreecommitdiff
path: root/ext/pdo/tests/pdo_029.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/tests/pdo_029.phpt')
-rw-r--r--ext/pdo/tests/pdo_029.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/pdo/tests/pdo_029.phpt b/ext/pdo/tests/pdo_029.phpt
index f3dc1f2fa4..8e495de3bd 100644
--- a/ext/pdo/tests/pdo_029.phpt
+++ b/ext/pdo/tests/pdo_029.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,22 +22,22 @@ $data = array(
class PDOStatementX extends PDOStatement
{
public $dbh;
-
+
protected function __construct($dbh)
{
$this->dbh = $dbh;
echo __METHOD__ . "()\n";
}
-
+
function __destruct()
{
echo __METHOD__ . "()\n";
}
-
+
function execute($params = array())
{
echo __METHOD__ . "()\n";
- parent::execute();
+ parent::execute();
}
}
@@ -47,7 +47,7 @@ class PDODatabase extends PDO
{
echo __METHOD__ . "()\n";
}
-
+
function query($sql)
{
echo __METHOD__ . "()\n";