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
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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: