Skip to content

description field is always empty #2

Description

@Jellyfrog

When using the example tree.php, $node-description is always NULL

It seems its empty even from the ffi data, if we add a var_dump($tree->description) in this function it also prints NULL:

private function buildNode(
\FFI\CData $tree,
int $softHeapLimit = \PHP_INT_MAX,
int $hardHeapLimit = self::DEFAULT_MAX_DEPTH
): TreeNode {
if ($hardHeapLimit <= 0) {
throw new HeapTooDeepException('Too many nesting levels while processing tree');
}
$node = new TreeNode($tree->type, $tree->subid, \FFI::string($tree->label), $tree->access);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions