3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $matrix = array(array('W','P','P','P'), array('W','O','P','P'), array('W','W','W','P'), array('W','M','X','P')); for ($i=0;$i<count($matrix);$i++) for ($j=0;$i<count($matrix[$i]);$j++) if ($matrix[$i][$j]=='O') { print $i.$j; break; }

Abusive script

This script was stopped while abusing our resources