mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 09:02:11 +01:00
18 lines
232 B
Go
18 lines
232 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"github.com/dunglas/frankenphp"
|
|
)
|
|
|
|
func main() {
|
|
if len(os.Args) <= 1 {
|
|
log.Println("Usage: testcli script.php")
|
|
os.Exit(1)
|
|
}
|
|
|
|
os.Exit(frankenphp.ExecuteScriptCLI(os.Args[0], os.Args))
|
|
}
|