mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
feat: add experimental CLI support (#239)
* feat: add CLI support * updated * debug * fix tests * Caddy php-cli command * use thread * $_SERVER and input streams support * Update frankenphp.c Co-authored-by: Francis Lavoie <lavofr@gmail.com> --------- Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
6
testdata/command.php
vendored
Normal file
6
testdata/command.php
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
var_dump($argv, $_SERVER);
|
||||
echo "From the CLI\n";
|
||||
|
||||
exit(3);
|
||||
Reference in New Issue
Block a user