xref: /PHP-8.1/tests/basic/bug54514.phpt (revision 7aacc705)
1--TEST--
2Req #54514 (Get php binary path during script execution)
3--FILE--
4<?php
5if(realpath(getenv('TEST_PHP_EXECUTABLE')) === realpath(PHP_BINARY)) {
6    echo "done";
7} else {
8    var_dump(getenv('TEST_PHP_EXECUTABLE'));
9    var_dump(PHP_BINARY);
10}
11?>
12--EXPECT--
13done
14