MCPcopy Create free account
hub / github.com/deuill/go-php / Ptr

Method Ptr

engine/value.go:270–272  ·  view source on GitHub ↗

Ptr returns a pointer to the internal PHP value, and is mostly used for passing to C functions.

()

Source from the content-addressed store, hash-verified

268// Ptr returns a pointer to the internal PHP value, and is mostly used for
269// passing to C functions.
270func (v *Value) Ptr() unsafe.Pointer {
271 return unsafe.Pointer(v.value)
272}
273
274// Destroy removes all active references to the internal PHP value and frees
275// any resources used.

Callers 4

BindMethod · 0.95
TestValuePtrFunction · 0.95
engineReceiverGetFunction · 0.80
engineReceiverCallFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestValuePtrFunction · 0.76