frankenphp
frankenphp copied to clipboard
feat(php-cli): add support for `-i` and `-v` flags
May fix #702
Proposing this draft for review to validate the approach mentioned in the issue's comment: https://github.com/php/frankenphp/issues/702#issuecomment-2031771260
alex@alex-macos frankenphp % ./frankenphp php-cli -v
8.3.21-dev
alex@alex-macos frankenphp % ./frankenphp php-cli -i
phpinfo()
PHP Version => 8.3.21-dev
System => Darwin alex-macos 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:43 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T8132 arm64
Build Date => Jun 23 2025 15:07:32
...