summaryrefslogtreecommitdiff
path: root/ext/soap/tests/bug73037.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/soap/tests/bug73037.phpt')
-rw-r--r--ext/soap/tests/bug73037.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/soap/tests/bug73037.phpt b/ext/soap/tests/bug73037.phpt
index 0a4271f356..7f49a843f5 100644
--- a/ext/soap/tests/bug73037.phpt
+++ b/ext/soap/tests/bug73037.phpt
@@ -9,14 +9,14 @@ server
echo "skip zlib is required for this test";
}
- if (!file_exists(dirname(__FILE__) . "/../../../sapi/cli/tests/php_cli_server.inc")) {
+ if (!file_exists(__DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc")) {
echo "skip sapi/cli/tests/php_cli_server.inc required but not found";
}
?>
--FILE--
<?php
-include dirname(__FILE__) . "/../../../sapi/cli/tests/php_cli_server.inc";
+include __DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc";
function get_data($max)
{
@@ -134,7 +134,7 @@ cleanup:
==DONE==
--CLEAN--
<?php
-unlink(dirname(__FILE__) . DIRECTORY_SEPARATOR . "bug73037_server.php");
+unlink(__DIR__ . DIRECTORY_SEPARATOR . "bug73037_server.php");
?>
--EXPECT--
Iteration 0