Skip to content

Commit 0887c5e

Browse files
committed
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Use getenv to prevent undefined key warning
2 parents 719c74e + cd483f1 commit 0887c5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/phpdbg/tests/gh12962.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if (!getenv('TEST_PHPDBG_EXECUTABLE')) die("SKIP: No TEST_PHPDBG_EXECUTABLE spec
77
--FILE--
88
<?php
99
putenv('PHP_INI_SCAN_DIR='.__DIR__."/gh12962");
10-
passthru($_ENV['TEST_PHPDBG_EXECUTABLE'] . " -q");
10+
passthru(getenv('TEST_PHPDBG_EXECUTABLE') . " -q");
1111
?>
1212
--EXPECT--
1313
Executed .phpdbginit

0 commit comments

Comments
 (0)