Skip to content

Commit cd483f1

Browse files
committed
Use getenv to prevent undefined key warning
1 parent 5e2a586 commit cd483f1

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)