3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $p1Location = 0; $p2Location = 1; $p3Location = 2; $pCount = count(explode(',', 'p1,p2,p3')); if ($p3Location > $pCount) { echo "Oh Noe! Extra Columns!"; }
based on JMBD0
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.1