3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array ( mv_fname => '1.3', mv_lname => '1.6', mv_project => '2', mv_email => '3', mv_addr1 => '4.1', mv_addr2 => '4.2', mv_city => '4.3', mv_prov => '4.4', mv_pcode => '4.5', mv_country => '4.6', mv_phone => '5', mv_recovery_email => '11', mv_age => '16', mv_website => '12', mv_gender => '17', mv_instrument => '18', mv_twitter => '19', mv_pic => '26', mv_newsletter => '23' ); foreach ($arr as $key => $value) { echo "Key: $key; Value: $value<br />\n"; } ?>
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Notice: Use of undefined constant mv_fname - assumed 'mv_fname' in /in/jIn24 on line 2 Notice: Use of undefined constant mv_lname - assumed 'mv_lname' in /in/jIn24 on line 3 Notice: Use of undefined constant mv_project - assumed 'mv_project' in /in/jIn24 on line 4 Notice: Use of undefined constant mv_email - assumed 'mv_email' in /in/jIn24 on line 5 Notice: Use of undefined constant mv_addr1 - assumed 'mv_addr1' in /in/jIn24 on line 6 Notice: Use of undefined constant mv_addr2 - assumed 'mv_addr2' in /in/jIn24 on line 7 Notice: Use of undefined constant mv_city - assumed 'mv_city' in /in/jIn24 on line 8 Notice: Use of undefined constant mv_prov - assumed 'mv_prov' in /in/jIn24 on line 9 Notice: Use of undefined constant mv_pcode - assumed 'mv_pcode' in /in/jIn24 on line 10 Notice: Use of undefined constant mv_country - assumed 'mv_country' in /in/jIn24 on line 11 Notice: Use of undefined constant mv_phone - assumed 'mv_phone' in /in/jIn24 on line 12 Notice: Use of undefined constant mv_recovery_email - assumed 'mv_recovery_email' in /in/jIn24 on line 13 Notice: Use of undefined constant mv_age - assumed 'mv_age' in /in/jIn24 on line 14 Notice: Use of undefined constant mv_website - assumed 'mv_website' in /in/jIn24 on line 15 Notice: Use of undefined constant mv_gender - assumed 'mv_gender' in /in/jIn24 on line 16 Notice: Use of undefined constant mv_instrument - assumed 'mv_instrument' in /in/jIn24 on line 17 Notice: Use of undefined constant mv_twitter - assumed 'mv_twitter' in /in/jIn24 on line 18 Notice: Use of undefined constant mv_pic - assumed 'mv_pic' in /in/jIn24 on line 19 Notice: Use of undefined constant mv_newsletter - assumed 'mv_newsletter' in /in/jIn24 on line 20 Key: mv_fname; Value: 1.3<br /> Key: mv_lname; Value: 1.6<br /> Key: mv_project; Value: 2<br /> Key: mv_email; Value: 3<br /> Key: mv_addr1; Value: 4.1<br /> Key: mv_addr2; Value: 4.2<br /> Key: mv_city; Value: 4.3<br /> Key: mv_prov; Value: 4.4<br /> Key: mv_pcode; Value: 4.5<br /> Key: mv_country; Value: 4.6<br /> Key: mv_phone; Value: 5<br /> Key: mv_recovery_email; Value: 11<br /> Key: mv_age; Value: 16<br /> Key: mv_website; Value: 12<br /> Key: mv_gender; Value: 17<br /> Key: mv_instrument; Value: 18<br /> Key: mv_twitter; Value: 19<br /> Key: mv_pic; Value: 26<br /> Key: mv_newsletter; Value: 23<br />
Output for hhvm-3.12.0
Notice: Use of undefined constant mv_fname - assumed 'mv_fname' in /in/jIn24 on line 2 Notice: Use of undefined constant mv_lname - assumed 'mv_lname' in /in/jIn24 on line 3 Notice: Use of undefined constant mv_project - assumed 'mv_project' in /in/jIn24 on line 4 Notice: Use of undefined constant mv_email - assumed 'mv_email' in /in/jIn24 on line 5 Notice: Use of undefined constant mv_addr1 - assumed 'mv_addr1' in /in/jIn24 on line 6 Notice: Use of undefined constant mv_addr2 - assumed 'mv_addr2' in /in/jIn24 on line 7 Notice: Use of undefined constant mv_city - assumed 'mv_city' in /in/jIn24 on line 8 Notice: Use of undefined constant mv_prov - assumed 'mv_prov' in /in/jIn24 on line 9 Notice: Use of undefined constant mv_pcode - assumed 'mv_pcode' in /in/jIn24 on line 10 Notice: Use of undefined constant mv_country - assumed 'mv_country' in /in/jIn24 on line 11 Notice: Use of undefined constant mv_phone - assumed 'mv_phone' in /in/jIn24 on line 12 Notice: Use of undefined constant mv_recovery_email - assumed 'mv_recovery_email' in /in/jIn24 on line 13 Notice: Use of undefined constant mv_age - assumed 'mv_age' in /in/jIn24 on line 14 Notice: Use of undefined constant mv_website - assumed 'mv_website' in /in/jIn24 on line 15 Notice: Use of undefined constant mv_gender - assumed 'mv_gender' in /in/jIn24 on line 16 Notice: Use of undefined constant mv_instrument - assumed 'mv_instrument' in /in/jIn24 on line 17 Key: mv_fname; Value: 1.3<br /> Key: mv_lname; Value: 1.6<br /> Key: mv_project; Value: 2<br /> Key: mv_email; Value: 3<br /> Key: mv_addr1; Value: 4.1<br /> Key: mv_addr2; Value: 4.2<br /> Key: mv_city; Value: 4.3<br /> Key: mv_prov; Value: 4.4<br /> Key: mv_pcode; Value: 4.5<br /> Key: mv_country; Value: 4.6<br /> Key: mv_phone; Value: 5<br /> Key: mv_recovery_email; Value: 11<br /> Key: mv_age; Value: 16<br /> Key: mv_website; Value: 12<br /> Key: mv_gender; Value: 17<br /> Key: mv_instrument; Value: 18<br /> Key: mv_twitter; Value: 19<br /> Key: mv_pic; Value: 26<br /> Key: mv_newsletter; Value: 23<br />
Output for hhvm-3.10.0

Process exited with code 153.