MCPcopy Create free account
hub / github.com/buggregator/server / StartPHP

Method StartPHP

modules/vardumper/module.go:52–60  ·  view source on GitHub ↗

StartPHP starts the embedded PHP parser process. Call before Init.

()

Source from the content-addressed store, hash-verified

50
51// StartPHP starts the embedded PHP parser process. Call before Init.
52func (m *Module) StartPHP() error {
53 php, err := StartPHPProcess()
54 if err != nil {
55 slog.Error("failed to start PHP VarDumper parser", "err", err)
56 return err
57 }
58 m.php = php
59 return nil
60}
61
62// StopPHP stops the embedded PHP parser process.
63func (m *Module) StopPHP() {

Callers 1

mainFunction · 0.80

Calls 1

StartPHPProcessFunction · 0.85

Tested by

no test coverage detected