{
    "id": "cub166-fetch-shapes",
    "title": "Показать одну карточку четырьмя способами без двойного вывода",
    "columns": [
        "Наблюдение",
        "Результат"
    ],
    "rows": [
        [
            "NUM: значение позиции 1",
            "Кабель"
        ],
        [
            "ASSOC: значение item_title",
            "Кабель"
        ],
        [
            "BOTH: SQL-полей",
            4
        ],
        [
            "BOTH: ключей PHP",
            8
        ],
        [
            "OBJECT: свойство available",
            "0"
        ],
        [
            "NULL: свойство существует",
            true
        ],
        [
            "NULL: isset вернул true",
            false
        ],
        [
            "Четыре режима получили одну и ту же карточку",
            true
        ]
    ],
    "checks": {
        "numeric_shape": true,
        "associative_shape": true,
        "both_keys": true,
        "default_is_both": true,
        "object_shape": true,
        "null_distinguished": true,
        "zero_retained": true,
        "eof_each": true,
        "requests_released": true,
        "owned_objects_removed": true
    },
    "observations": {
        "SQL_columns": [
            "item_id",
            "item_title",
            "available",
            "comment_text"
        ],
        "NUM": [
            "1",
            "Кабель",
            "0",
            null
        ],
        "ASSOC": {
            "item_id": "1",
            "item_title": "Кабель",
            "available": "0",
            "comment_text": null
        },
        "BOTH": {
            "0": "1",
            "item_id": "1",
            "1": "Кабель",
            "item_title": "Кабель",
            "2": "0",
            "available": "0",
            "3": null,
            "comment_text": null
        },
        "OBJECT_properties": {
            "item_id": "1",
            "item_title": "Кабель",
            "available": "0",
            "comment_text": null
        },
        "OBJECT_class": "stdClass",
        "default": {
            "0": "1",
            "item_id": "1",
            "1": "Кабель",
            "item_title": "Кабель",
            "2": "0",
            "available": "0",
            "3": null,
            "comment_text": null
        },
        "end_of_result": {
            "NUM": true,
            "ASSOC": true,
            "BOTH": true,
            "OBJECT": true
        },
        "independent_queries_for_same_row": 5
    },
    "runtime": {
        "php": "7.4.33",
        "extension": "11.2.0.0002",
        "php_extension_metadata": null,
        "server_version": "11.3.5.1274",
        "client_version": "11.2.0",
        "database": "phpmanual166",
        "transport": "isolated_loopback_broker",
        "charset": "utf-8",
        "autocommit": false
    },
    "owned_objects": [
        {
            "type": "TABLE",
            "name": "c166_shapes_87f330c489"
        }
    ],
    "removed_objects": [
        {
            "type": "TABLE",
            "name": "c166_shapes_87f330c489"
        }
    ]
}
