summaryrefslogtreecommitdiff
path: root/sapi/cli/tests/008.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli/tests/008.phpt')
-rw-r--r--sapi/cli/tests/008.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/sapi/cli/tests/008.phpt b/sapi/cli/tests/008.phpt
index 429254f4d6..fb8518535a 100644
--- a/sapi/cli/tests/008.phpt
+++ b/sapi/cli/tests/008.phpt
@@ -12,12 +12,12 @@ if (substr(PHP_OS, 0, 3) == 'WIN') {
$php = getenv('TEST_PHP_EXECUTABLE');
-$filename = dirname(__FILE__).'/008.test.php';
+$filename = __DIR__.'/008.test.php';
$code ='
<?php
-class test {
- private $pri;
+class test {
+ private $pri;
}
var_dump(test::$pri);