3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $columns = 2; $columns_class = 12 / ($columns == 0) ? 1 : $columns; echo $columns_class;
based on jTWvu
Output for 7.0.0 - 7.2.6
Warning: Division by zero in /in/Am3Qb on line 4 1
Output for 5.3.19 - 5.6.28
Warning: Division by zero in /in/Am3Qb on line 4 2