{
    "id": "fb154-connection-close",
    "title": "Подтвердить изменения, закрыть соединение и прочитать их заново",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "Первое соединение изменило строк",
            1
        ],
        [
            "Commit проверен до close",
            true
        ],
        [
            "Первое соединение закрыто",
            true
        ],
        [
            "Новое соединение читает сохранённое значение",
            166
        ],
        [
            "Копия результата остаётся в PHP",
            166
        ],
        [
            "Обращений к прежнему закрытому ресурсу",
            0
        ]
    ],
    "checks": {
        "one_row_updated": true,
        "commit_before_close": true,
        "close_succeeded": true,
        "reopened_connection_works": true,
        "committed_value_persisted": true,
        "php_array_copy_retained": true,
        "owned_objects_removed": true
    },
    "observations": {
        "initial_value": 100,
        "committed_value": 166,
        "reopened_value": 166,
        "write_commit_explicit": true,
        "read_commit_explicit": true,
        "first_connection_closed": true,
        "old_handle_called_after_close": false,
        "persistent_connection_used": false,
        "lifecycle": [
            "connect",
            "write",
            "explicit commit",
            "close + null",
            "connect again",
            "read",
            "free_result + null",
            "explicit commit",
            "cleanup own table",
            "close"
        ]
    },
    "runtime": {
        "php": "8.2.35",
        "extension": "3.0.1",
        "server_version": "5.0.4",
        "database": "phpmanual153",
        "transport": "embedded_local_file"
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "FB154_CLOSE_61100511BA"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "FB154_CLOSE_61100511BA"
        }
    ]
}
