summaryrefslogtreecommitdiff
path: root/ext/pdo/tests/pecl_bug_5809.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo/tests/pecl_bug_5809.phpt')
-rw-r--r--ext/pdo/tests/pecl_bug_5809.phpt34
1 files changed, 0 insertions, 34 deletions
diff --git a/ext/pdo/tests/pecl_bug_5809.phpt b/ext/pdo/tests/pecl_bug_5809.phpt
deleted file mode 100644
index fa36233e19..0000000000
--- a/ext/pdo/tests/pecl_bug_5809.phpt
+++ /dev/null
@@ -1,34 +0,0 @@
---TEST--
-PDO Common: PECL Bug #5809 PDOStatement::execute(array()) changes param
---SKIPIF--
-<?php # vim:ft=php:
-if (!extension_loaded('pdo')) die('skip');
-$dir = getenv('REDIR_TEST_DIR');
-if (false == $dir) die('skip no driver');
-require_once $dir . 'pdo_test.inc';
-PDOTest::skip();
-?>
---FILE--
-<?php
-if (getenv('REDIR_TEST_DIR') === false) putenv('REDIR_TEST_DIR='.dirname(__FILE__) . '/../../pdo/tests/');
-require_once getenv('REDIR_TEST_DIR') . 'pdo_test.inc';
-$db = PDOTest::factory();
-
-$db->exec("CREATE TABLE test (id int NOT NULL, PRIMARY KEY (id))");
-$db->exec("INSERT INTO test (id) VALUES (1)");
-
-$values = array(1);
-var_dump($values);
-$stmt = $db->prepare('SELECT * FROM test WHERE id = ?');
-$stmt->execute($values);
-var_dump($values);
-
---EXPECT--
-array(1) {
- [0]=>
- int(1)
-}
-array(1) {
- [0]=>
- int(1)
-}