php

package
v0.0.0-...-269bae0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2012 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Success = 0
	Failure = -1
)

Variables

View Source
var (
	ErrInvalidType  = errors.New("Invalide type")
	ErrInvalidValue = errors.New("Invalide value")
)

Functions

This section is empty.

Types

type PHP

type PHP struct {
	// contains filtered or unexported fields
}

func NewPHP

func NewPHP() (php *PHP)

func (*PHP) Array

func (php *PHP) Array(name string, value map[string]string)

func (*PHP) Close

func (php *PHP) Close()

func (*PHP) Eval

func (php *PHP) Eval(script string) (err error)

func (*PHP) Exec

func (php *PHP) Exec(filepath string) (err error)

func (*PHP) IniFile

func (php *PHP) IniFile(ini string)

func (*PHP) Startup

func (php *PHP) Startup()

func (*PHP) Stderr

func (php *PHP) Stderr(f *os.File)

func (*PHP) Stdout

func (php *PHP) Stdout(f *os.File)

func (*PHP) Unset

func (php *PHP) Unset(name string)

func (*PHP) Var

func (php *PHP) Var(name string, value interface{}) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL