Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1519

Remove php_phongo_server_to_zval and allow Server object in Manager debug output

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      php_phongo_server_to_zval is used by both the Manager and Server debug handlers. In the same spirit as the other linked issues, it may make sense to just have Manager include Server objects in its debug output instead of calling Server's debug handler directly.

      Note that these debug handlers are not like dual-purpose functions on our value objects, which support both var_dump and var_export, since we intentionally decided not to support var_export on classes where we cannot implement __set_state() (see: this comment).

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: