3v4l.org

run code in 300+ PHP versions simultaneously
<?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 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Fatal error: Uncaught Error: Undefined constant "mv_fname" in /in/jIn24:2 Stack trace: #0 {main} thrown in /in/jIn24 on line 2
Process exited with code 255.
Output for 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
Warning: Use of undefined constant mv_fname - assumed 'mv_fname' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 2 Warning: Use of undefined constant mv_lname - assumed 'mv_lname' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 3 Warning: Use of undefined constant mv_project - assumed 'mv_project' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 4 Warning: Use of undefined constant mv_email - assumed 'mv_email' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 5 Warning: Use of undefined constant mv_addr1 - assumed 'mv_addr1' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 6 Warning: Use of undefined constant mv_addr2 - assumed 'mv_addr2' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 7 Warning: Use of undefined constant mv_city - assumed 'mv_city' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 8 Warning: Use of undefined constant mv_prov - assumed 'mv_prov' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 9 Warning: Use of undefined constant mv_pcode - assumed 'mv_pcode' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 10 Warning: Use of undefined constant mv_country - assumed 'mv_country' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 11 Warning: Use of undefined constant mv_phone - assumed 'mv_phone' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 12 Warning: Use of undefined constant mv_recovery_email - assumed 'mv_recovery_email' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 13 Warning: Use of undefined constant mv_age - assumed 'mv_age' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 14 Warning: Use of undefined constant mv_website - assumed 'mv_website' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 15 Warning: Use of undefined constant mv_gender - assumed 'mv_gender' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 16 Warning: Use of undefined constant mv_instrument - assumed 'mv_instrument' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 17 Warning: Use of undefined constant mv_twitter - assumed 'mv_twitter' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 18 Warning: Use of undefined constant mv_pic - assumed 'mv_pic' (this will throw an Error in a future version of PHP) in /in/jIn24 on line 19 Warning: Use of undefined constant mv_newsletter - assumed 'mv_newsletter' (this will throw an Error in a future version of PHP) 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 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20
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 />

preferences:
256.28 ms | 412 KiB | 315 Q