<?php $v = array(1, 2); @foreach($var as $v) { }
Standard input is empty
Standard output is empty
PHP Parse error: syntax error, unexpected 'foreach' (T_FOREACH) in /home/r89bhu/prog.php on line 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!