3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = new StdClass; $arr->{"count(distinct show_id)"} = 'foo'; $arr = Array($arr); var_dump($arr); // get it this way var_dump($arr[0]->{"count(distinct show_id)"});

preferences:
35.55 ms | 402 KiB | 5 Q