Uploaded image for project: 'CUBRID APIs'
  1. CUBRID APIs
  2. APIS-172

[PHP]Use member variables instead of global variables (last_request_stmt_type and last_request_affected_rows)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PHP-8.4.1, PHP-Apricot
    • Component/s: PHP Driver
    • Labels:
      None

      Description

      Global variables are not safe, so we should use it as less as possible. We can use member variables instead of last_request_stmt_type and last_request_affected_rows.

        Activity

        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-Apricot: 531

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-Apricot: 531
        Hide
        hellohuizhang 张慧 added a comment -

        Commit rev on PHP-8.4.1: 532

        Show
        hellohuizhang 张慧 added a comment - Commit rev on PHP-8.4.1: 532

          People

          • Assignee:
            hellohuizhang 张慧
            Reporter:
            hellohuizhang 张慧
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: