summaryrefslogtreecommitdiff
path: root/ext/pdo/tests/pdo_023.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/tests/pdo_023.phpt')
-rw-r--r--ext/pdo/tests/pdo_023.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/pdo/tests/pdo_023.phpt b/ext/pdo/tests/pdo_023.phpt
index 564bcf8c51..8b4df3293b 100644
--- a/ext/pdo/tests/pdo_023.phpt
+++ b/ext/pdo/tests/pdo_023.phpt
@@ -16,14 +16,14 @@ require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc';
class PDOStatementX extends PDOStatement
{
public $test1 = 1;
-
+
protected function __construct()
{
$this->test2 = 2;
$this->test2 = 22;
echo __METHOD__ . "()\n";
}
-
+
function __destruct()
{
echo __METHOD__ . "()\n";
@@ -33,12 +33,12 @@ class PDOStatementX extends PDOStatement
class PDODatabaseX extends PDO
{
public $test1 = 1;
-
+
function __destruct()
{
echo __METHOD__ . "()\n";
}
-
+
function test()
{
$this->test2 = 2;
@@ -46,7 +46,7 @@ class PDODatabaseX extends PDO
var_dump($this->test2);
$this->test2 = 22;
}
-
+
function query($sql)
{
echo __METHOD__ . "()\n";