From: Christoph M. Becker Date: Mon, 25 May 2020 22:13:54 +0000 (+0200) Subject: Make phpdbg test portable X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d5dafe040330bae296dfd3f007b7bcbf3e9ad9a;p=php Make phpdbg test portable --- diff --git a/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.phpt b/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.phpt index 560fac35f8..ab6236a7fc 100644 --- a/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.phpt +++ b/sapi/phpdbg/tests/phpdbg_get_executable_stream_wrapper.phpt @@ -70,7 +70,7 @@ stream_wrapper_register('wrapper', StreamWrapper::class); * Next, we include a PHP file that contains executable lines, via the stream * wrapper. */ -$filename = __DIR__ . '/phpdbg_get_executable_stream_wrapper.inc'; +$filename = __DIR__ . DIRECTORY_SEPARATOR . 'phpdbg_get_executable_stream_wrapper.inc'; require 'wrapper://' . $filename; /**