diff options
Diffstat (limited to 'ext/pdo_pgsql/tests/bug36727.phpt')
-rw-r--r-- | ext/pdo_pgsql/tests/bug36727.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/pdo_pgsql/tests/bug36727.phpt b/ext/pdo_pgsql/tests/bug36727.phpt index d5f8e49f96..e6b5ab7f28 100644 --- a/ext/pdo_pgsql/tests/bug36727.phpt +++ b/ext/pdo_pgsql/tests/bug36727.phpt @@ -3,15 +3,15 @@ Bug #36727 (segfault in bindValue() when no parameters are defined) --SKIPIF-- <?php if (!extension_loaded('pdo') || !extension_loaded('pdo_pgsql')) die('skip not loaded'); -require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; -require dirname(__FILE__) . '/config.inc'; +require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc'; +require __DIR__ . '/config.inc'; PDOTest::skip(); ?> --FILE-- <?php -require dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc'; -require dirname(__FILE__) . '/config.inc'; -$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt'); +require __DIR__ . '/../../../ext/pdo/tests/pdo_test.inc'; +require __DIR__ . '/config.inc'; +$db = PDOTest::test_factory(__DIR__ . '/common.phpt'); $stmt = $db->prepare('SELECT * FROM child'); var_dump($stmt->bindValue(':test', 1, PDO::PARAM_INT)); |