3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $srv = array('build', 'calss'); for ($i = 0; $i < 1000; $i++) { $srv_keys = array_keys($srv); $cant_be_together = array('build', 'class'); if(count(array_intersect($srv_keys, $cant_be_together)) === count($cant_be_together)) { $str = $i; } }
based on aLDke
Output for 5.5.0 - 7.3.0beta1