Since: 7.4

class CData mixin Traversable mixin Countable mixin ArrayAccess In (View source)

Proxy object that provides access to compiled structures.

In the case that CData is a wrapper over a scalar, it contains an additional "cdata" property.

Properties

int|float|bool|null|string|CData $cdata

In the case that the CData is a wrapper over an arbitrary C structure, then it allows reading and writing to the fields defined by this structure.

Methods

mixed
__get(string $name)

No description

mixed
__set(string $name, mixed $value)

In the case that CData is a wrapper over an array, it is an implementation of the {\Traversable}, {\Countable}, and {\ArrayAccess}

mixed
__invoke(mixed $args)

No description

Details

mixed __get(string $name)

No description

Parameters

string $name

Return Value

mixed

mixed __set(string $name, mixed $value)

In the case that CData is a wrapper over an array, it is an implementation of the {\Traversable}, {\Countable}, and {\ArrayAccess}

Parameters

string $name
mixed $value

Return Value

mixed

mixed __invoke(mixed $args)

No description

Parameters

mixed $args

Return Value

mixed