<?php $cache = ['bar'];echo $cache[1] ?: 'foo';
Standard input is empty
foo
PHP Notice: Undefined offset: 1 in /home/67aRwS/prog.php on line 4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!