summaryrefslogtreecommitdiff
path: root/ext/dba/tests/bug49125.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dba/tests/bug49125.phpt')
-rw-r--r--ext/dba/tests/bug49125.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/dba/tests/bug49125.phpt b/ext/dba/tests/bug49125.phpt
index c1ecc50846..70f59c97c9 100644
--- a/ext/dba/tests/bug49125.phpt
+++ b/ext/dba/tests/bug49125.phpt
@@ -3,7 +3,7 @@ Bug #49125 (Error in dba_exists C code)
--SKIPIF--
<?php
$handler = 'db4';
- require_once(dirname(__FILE__) .'/skipif.inc');
+ require_once(__DIR__ .'/skipif.inc');
?>
--FILE--
<?php
@@ -11,7 +11,7 @@ Bug #49125 (Error in dba_exists C code)
error_reporting(E_ALL);
$handler = 'db4';
-require_once(dirname(__FILE__) .'/test.inc');
+require_once(__DIR__ .'/test.inc');
$db = dba_popen($db_filename, 'c', 'db4');
@@ -24,7 +24,7 @@ dba_close($db);
?>
--CLEAN--
<?php
- require(dirname(__FILE__) .'/clean.inc');
+ require(__DIR__ .'/clean.inc');
?>
--EXPECT--
bool(true)