Skip to content

feat: friendly var_dump() output via ObjectGetDebugInfoInterface #10

Description

@lisachenko

Implement ObjectGetDebugInfoInterface::__getDebugInfo() returning ['rows' => n, 'columns' => m, 'data' => [...]] so var_dump($matrix) shows meaningful state instead of raw private properties.

Contract note: this handler runs across the FFI boundary and must not throw — keep it strictly allocation-only (build the array from already-validated state, no validation or arithmetic inside the hook).

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