xref: /PHP-7.0/tests/basic/bug54514.phpt (revision 15210d56)
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--EXPECT--
12done
13