3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $package_rates[$service_id]['rate'] = ( isset( $rates[$service_id]['rate'] ) ) ? $rates[$service_id]['rate'] + $service_rate : $service_rate;
Output for 7.1.0 - 7.3.0rc4
Notice: Undefined variable: service_id in /in/sRs8X on line 3 Notice: Undefined variable: service_rate in /in/sRs8X on line 3 Notice: Undefined variable: service_id in /in/sRs8X on line 3 Notice: Undefined variable: service_id in /in/sRs8X on line 3
Output for 5.1.0 - 7.0.20
Notice: Undefined variable: service_id in /in/sRs8X on line 3 Notice: Undefined variable: service_rate in /in/sRs8X on line 3 Notice: Undefined variable: service_id in /in/sRs8X on line 3
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: service_id in /in/sRs8X on line 3 Notice: Undefined variable: service_id in /in/sRs8X on line 3 Notice: Undefined variable: service_rate in /in/sRs8X on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: service_id in /in/sRs8X on line 3 Notice: Undefined variable: service_id in /in/sRs8X on line 3 Notice: Undefined variable: service_rate in /in/sRs8X on line 3