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

Function value_set_array

engine/value.c:63–66  ·  view source on GitHub ↗

Set type and value to array with a preset initial size.

Source from the content-addressed store, hash-verified

61
62// Set type and value to array with a preset initial size.
63void value_set_array(engine_value *val, unsigned int size) {
64 array_init_size(val->internal, size);
65 val->kind = KIND_ARRAY;
66}
67
68// Set type and value to object.
69void value_set_object(engine_value *val) {

Callers 1

value_array_keysFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected