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).

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