Skip to content

Commit c39a863

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Use getenv to prevent undefined key warning
2 parents f7b498b + 0887c5e commit c39a863

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)