<?php $x = new stdClass; $y = [$x => 1];
Standard input is empty
Standard output is empty
PHP Warning: Illegal offset type in /home/hX3UMG/prog.php on line 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!