Bool returns the internal PHP value as a boolean, converting if necessary.
()
| 207 | |
| 208 | // Bool returns the internal PHP value as a boolean, converting if necessary. |
| 209 | func (v *Value) Bool() bool { |
| 210 | return (bool)(C.value_get_bool(v.value)) |
| 211 | } |
| 212 | |
| 213 | // String returns the internal PHP value as a string, converting if necessary. |
| 214 | func (v *Value) String() string { |
no outgoing calls