3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ( ( ( $bridge * 500 ) + ( $copter * 60 ) + ( $ship * 30 ) + ( $jet * 100 ) + ( $pet * 80 ) ) / $score );
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.3.0beta1
Notice: Undefined variable: bridge in /in/v7Qvr on line 2 Notice: Undefined variable: copter in /in/v7Qvr on line 2 Notice: Undefined variable: ship in /in/v7Qvr on line 2 Notice: Undefined variable: jet in /in/v7Qvr on line 2 Notice: Undefined variable: pet in /in/v7Qvr on line 2 Notice: Undefined variable: score in /in/v7Qvr on line 2 Warning: Division by zero in /in/v7Qvr on line 2
Output for hhvm-3.22.0
Notice: Undefined variable: bridge in /in/v7Qvr on line -1 Notice: Undefined variable: copter in /in/v7Qvr on line -1 Notice: Undefined variable: ship in /in/v7Qvr on line -1 Notice: Undefined variable: jet in /in/v7Qvr on line -1 Notice: Undefined variable: pet in /in/v7Qvr on line -1 Notice: Undefined variable: score in /in/v7Qvr on line -1 Warning: Division by zero in /in/v7Qvr on line -1