Codeception を phar ではなく Composer で配置した場合、Windows では、
| 1 | php vendor/bin/codecept -V | 
としても以下のコードが表示されるだけ。
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | $ php vendor/bin/codecept -V dir=$(cd "${0%[/\]*}" > /dev/null; cd "../codeception/codeception" && pwd) if [ -d /proc/cygdrive ]; then     case $(which php) in         $(readlink -n /proc/cygdrive)/*)             # We are in Cygwin using Windows php, so the path must be translated             dir=$(cygpath -m "$dir");             ;;     esac fi "${dir}/codecept" "$@" | 
これは、コマンドの php を抜いて、codecept.bat を直接呼びだす。
| 1 2 | $ vendor/bin/codecept.bat -V | 
参考:Bootstrap doesn’t seem to work (Win7, PHP 7 x64) · Issue #3281 · Codeception/Codeception · GitHub
