3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; for ( $match1 = 0; $match1 < 3; $match1++ ) for ( $match2 = 0; $match2 < 3; $match2++ ) for ( $match3 = 0; $match3 < 3; $match3++ ) for ( $match4 = 0; $match4 < 3; $match4++ ) for ( $match5 = 0; $match5 < 3; $match5++ ) for ( $match6 = 0; $match6 < 3; $match6++ ) for ( $match7 = 0; $match7 < 3; $match7++ ) for ( $match8 = 0; $match8 < 3; $match8++ ) for ( $match9 = 0; $match9 < 3; $match9++ ) for ( $match10 = 0; $match10 < 3; $match10++ ) for ( $match11 = 0; $match11 < 3; $match11++ ) for ( $match12 = 0; $match12 < 3; $match12++ ) for ( $match13 = 0; $match13 < 3; $match13++ ) for ( $match14 = 0; $match14 < 3; $match14++ ) for ( $match15 = 0; $match15 < 3; $match15++ ) { $column = join(array($match1, $match2, $match3, $match4, $match5, $match6, $match7, $match8, $match9, $match10, $match11, $match12, $match13, $match14, $match15)); preg_match_all('/[101]+/', $column, $matches); if ( count($matches[0]) < 1 ) continue; $count++; } echo $count; ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0101.99316.62
8.3.50.0081.99117.56
8.3.40.0231.96618.95
8.3.30.0032.00018.84
8.3.20.0032.00018.85
8.3.10.0101.99320.61
8.3.00.0002.00319.63
8.2.180.0101.99116.49
8.2.170.0131.99122.96
8.2.160.0071.99620.89
8.2.150.0032.00124.18
8.2.140.0031.99924.66
8.2.130.0002.00226.16
8.2.120.0071.99620.58
8.2.110.0031.99620.35
8.2.100.0032.00018.03
8.2.90.0071.99419.29
8.2.80.0002.00319.28
8.2.70.0031.99517.88
8.2.60.0031.99617.93
8.2.50.0031.99918.07
8.2.40.0032.00918.10
8.2.30.0071.99418.23
8.2.20.0002.00019.75
8.2.10.0031.99917.97
8.2.00.0002.00217.93
8.1.280.0171.98325.92
8.1.270.0002.00223.99
8.1.260.0031.99926.35
8.1.250.0071.99528.09
8.1.240.0991.88721.97
8.1.230.0002.00320.83
8.1.220.0071.99118.77
8.1.210.0131.98319.00
8.1.200.0071.99417.47
8.1.190.0031.99817.64
8.1.180.0071.98918.10
8.1.170.0071.99318.96
8.1.160.0031.99818.90
8.1.150.0002.00618.88
8.1.140.0071.99217.60
8.1.130.0002.00317.94
8.1.120.0031.99817.68
8.1.110.0071.99717.60
8.1.100.0031.99817.68
8.1.90.0031.99917.61
8.1.80.0101.99317.72
8.1.70.0071.99417.72
8.1.60.0002.00217.88
8.1.50.0031.99917.70
8.1.40.0101.99317.76
8.1.30.0391.95917.86
8.1.20.0002.00217.86
8.1.10.0002.00317.69
8.1.00.0032.00017.64
8.0.300.0072.00520.01
8.0.290.0101.99316.75
8.0.280.0002.00118.42
8.0.270.0071.99717.14
8.0.260.0032.00016.97
8.0.250.0071.99417.11
8.0.240.0071.99517.02
8.0.230.0002.00417.05
8.0.220.0031.99916.91
8.0.210.0031.99816.90
8.0.200.0032.00016.96
8.0.190.0031.99917.11
8.0.180.0031.99917.09
8.0.170.0002.00116.91
8.0.160.0101.99317.06
8.0.150.0002.00216.86
8.0.140.0271.97716.97
8.0.130.0032.00013.57
8.0.120.0002.00117.03
8.0.110.0032.00016.89
8.0.100.0002.00216.99
8.0.90.0031.99816.80
8.0.80.0061.99216.98
8.0.70.0032.00016.94
8.0.60.0032.00016.88
8.0.50.0101.99416.83
8.0.30.0131.98717.16
8.0.20.0101.99217.29
8.0.10.0031.99817.11
8.0.00.0161.97316.80
7.4.330.0002.00213.23
7.4.320.0031.99916.54
7.4.300.0002.00516.53
7.4.290.0031.99816.71
7.4.280.0071.99616.62
7.4.270.0002.00616.75
7.4.260.0071.99413.57
7.4.250.0071.99416.61
7.4.240.0002.00416.69
7.4.230.0031.99816.77
7.4.220.0031.99716.73
7.4.210.0101.99016.52
7.4.200.0031.99616.78
7.4.190.0071.99716.77
7.4.160.0131.97616.68
7.4.150.0191.97116.83
7.4.140.0261.96816.52
7.4.130.0161.99116.59
7.4.120.0161.97616.49
7.4.110.0162.45016.75
7.4.100.0162.42916.56
7.4.90.0162.41016.34
7.4.80.0312.20216.75
7.4.70.0192.42816.57
7.4.60.0132.46316.51
7.4.50.0072.49316.72
7.4.40.0102.48716.29
7.4.30.0222.44016.66
7.4.00.0032.49315.12
7.3.330.0002.00113.34
7.3.320.0002.00413.28
7.3.310.0002.00216.48
7.3.300.0002.00216.37
7.3.290.0151.98416.35
7.3.280.0091.99516.41
7.3.270.0271.99516.73
7.3.260.0181.97116.73
7.3.250.0091.99616.48
7.3.240.0131.99116.70
7.3.230.0362.41216.46
7.3.210.0102.45816.39
7.3.200.0192.40919.39
7.3.190.0102.46516.61
7.3.180.0132.45816.31
7.3.170.0132.43716.43
7.3.160.0192.44816.37
7.3.120.0032.48715.14
7.2.330.0162.45416.53
7.2.320.0202.45816.54
7.2.310.0162.44616.81
7.2.300.0382.25616.80
7.2.290.0002.47816.67
7.2.00.0172.48419.57
7.1.200.0032.49415.92
7.1.100.0002.50118.50
7.1.70.0002.50117.21
7.1.60.1072.39519.30
7.1.50.0002.50117.13
7.0.200.0272.46314.87

preferences:
61.44 ms | 401 KiB | 5 Q