3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'acdmnprst'; $b = 'abcdefghijlmnopqrstuvz'; $al = strlen($a); $bl = strlen($b); $vowels = array('a', 'e', 'i', 'o', 'u', 'y'); for ($i = 0; $i < $al; $i++) { for ($j = 0; $j < $bl; $j++) { $arr = array($b[$j], $a[$i]); //if (0 === count(array_intersect($arr, $vowels))) { // continue; //} echo $b[$j] . $a[$i] . "\n"; } } }
based on ZqQI9
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected '}', expecting end of file in /in/ZoIEp on line 23
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected '}' in /in/ZoIEp on line 23
Process exited with code 255.