- Output for 8.1.0 - 8.1.30, 8.2.0 - 8.2.24, 8.3.0 - 8.3.12
- object(stdClass)#1 (1) { ["Content-Type"]=> string(10) "text/plain" } string(10) "text/plain"
<?php
$a = ["Content-Type" => "text/plain"];
$o = (object) $a;
var_dump($o, $o->{"Content-Type"});