func MarshalInt(value int64) []byte {
	return []byte("i:" + strconv.FormatInt(value, 10) + ";")
}
MarshalInt returns the bytes to represent a PHP serialized integer value.
This would be the equivalent to running:

echo serialize(123);
// i:123;

The same result would be returned by marshalling an integer value:

Marshal(123)
package phpserialize
import (
	"bytes"
	"fmt"
	"reflect"
	"sort"
	"strconv"
	"strings"
)
type MarshalOptions struct {
	OnlyStdClass bool
}
func DefaultMarshalOptions() *MarshalOptions {
	options := new(MarshalOptions)
	options.OnlyStdClass = false
	return options
}
func MarshalBool(value bool) []byte {
	if value {
		return []byte("b:1;")
	}
	return []byte("b:0;")
}