diff options
Diffstat (limited to 'ext/pdo_mysql/tests/bug_37445.phpt')
-rw-r--r-- | ext/pdo_mysql/tests/bug_37445.phpt | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ext/pdo_mysql/tests/bug_37445.phpt b/ext/pdo_mysql/tests/bug_37445.phpt deleted file mode 100644 index c4d760083d..0000000000 --- a/ext/pdo_mysql/tests/bug_37445.phpt +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -PDO MySQL Bug #37445 (Premature stmt object destruction) ---SKIPIF-- -<?php -if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) die('skip not loaded'); -require dirname(__FILE__) . '/config.inc'; -require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; -$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); -PDOTest::skip(); -?> ---FILE-- -<?php -require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; -$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); - -$db->setAttribute(PDO :: ATTR_EMULATE_PREPARES, true); -$stmt = $db->prepare("SELECT 1"); -$stmt->bindParam(':a', 'b'); - ---EXPECTF-- -Fatal error: Cannot pass parameter 2 by reference in %s/bug_37445.php on line %d
\ No newline at end of file |