3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo system('locale -a'); setlocale(LC_ALL, 'tr_TR.utf8', 'de_DE.utf8', 'de_DE@euro', 'de_DE', 'de', 'ge'); $foo = 29.95; echo 'Test '.$foo.' <br />'; echo date('l F');
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: system(): Unable to fork [locale -a] in /in/VeaKM on line 2 Test 29.95 <br />Wednesday October
Output for 7.2.29 - 7.2.33, 7.3.16 - 7.3.33, 7.4.3 - 7.4.33
Warning: system(): Unable to fork [locale -a] in /in/VeaKM on line 2 Test 29,95 <br />Wednesday October
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.0 - 5.5.37, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.13, 7.3.0 - 7.3.12, 7.4.0
Test 29.95 <br />Wednesday October

preferences:
231.56 ms | 404 KiB | 361 Q