<?php $a = "asdf"; foreach ($a as $val) { echo $val; }
Standard input is empty
Standard output is empty
PHP Warning: Invalid argument supplied for foreach() in /home/8BqaxH/prog.php on line 5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!