From db46ff6bc2b3401ac7f4c90b699b005ad678db44 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 17 Oct 2017 18:08:56 +0200 Subject: [PATCH] honours TEST_PHP_ARGS for sub-process --- tests/dbgp/dbgpclient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dbgp/dbgpclient.php b/tests/dbgp/dbgpclient.php index 3b7a2bce..337409fc 100644 --- a/tests/dbgp/dbgpclient.php +++ b/tests/dbgp/dbgpclient.php @@ -70,7 +70,7 @@ private function launchPhp( &$pipes, array $ini_options = null ) $ini_options = array(); } - $options = ''; + $options = (getenv('TEST_PHP_ARGS') ?: ''); $ini_options = array_merge( $default_options, $ini_options ); foreach ( $ini_options as $key => $value ) {