Return to bug54514.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / basic |
1.1 ! misho 1: --TEST-- ! 2: Req #54514 (Get php binary path during script execution) ! 3: --FILE-- ! 4: <?php ! 5: if(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-- ! 12: done