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.0361.94716.63
8.3.50.0081.99117.38
8.3.40.0131.98518.85
8.3.30.0071.99918.92
8.3.20.0031.99918.59
8.3.10.0131.99018.85
8.3.00.0131.99519.29
8.2.180.0131.98918.41
8.2.170.0101.99322.96
8.2.160.0101.99118.91
8.2.150.0031.99824.18
8.2.140.0002.00324.66
8.2.130.0031.99826.16
8.2.120.0031.99921.16
8.2.110.0071.99420.36
8.2.100.0071.99017.78
8.2.90.0032.00018.03
8.2.80.0002.00318.86
8.2.70.0002.00317.73
8.2.60.0031.99917.88
8.2.50.0032.00418.04
8.2.40.0002.00219.50
8.2.30.0032.00218.04
8.2.20.0231.96117.93
8.2.10.0032.00117.95
8.2.00.0061.99817.87
8.1.280.0071.99625.92
8.1.270.0071.99523.99
8.1.260.0071.99426.35
8.1.250.0032.00028.09
8.1.240.0101.99220.84
8.1.230.0101.99017.89
8.1.220.0002.00418.72
8.1.210.0002.00318.77
8.1.200.0031.99717.48
8.1.190.0031.99817.35
8.1.180.0001.99618.10
8.1.170.0071.99717.62
8.1.160.0071.99119.14
8.1.150.0031.99918.95
8.1.140.0031.99717.69
8.1.130.0002.00217.71
8.1.120.0002.00217.74
8.1.110.0002.00217.59
8.1.100.0031.99817.57
8.1.90.0002.00117.62
8.1.80.0032.00017.76
8.1.70.0032.00017.71
8.1.60.0002.00217.71
8.1.50.0032.00117.74
8.1.40.0171.97317.66
8.1.30.0201.99217.80
8.1.20.0032.00017.68
8.1.10.0002.00217.68
8.1.00.0031.99817.77
8.0.300.0032.00218.77
8.0.290.0071.99616.75
8.0.280.0002.00118.47
8.0.270.0031.99917.29
8.0.260.0071.99816.81
8.0.250.0031.99816.97
8.0.240.0071.99517.04
8.0.230.0101.99817.04
8.0.220.0031.99917.04
8.0.210.0002.00316.81
8.0.200.0002.00417.07
8.0.190.0101.99317.08
8.0.180.0002.00317.04
8.0.170.0071.99516.96
8.0.160.0032.00116.94
8.0.150.0002.00417.08
8.0.140.0131.98216.89
8.0.130.0002.00213.46
8.0.120.0031.99816.95
8.0.110.0031.99816.83
8.0.100.0031.99916.88
8.0.90.0032.00116.82
8.0.80.0131.98517.03
8.0.70.0032.00216.89
8.0.60.0131.98616.97
8.0.50.0331.97916.93
8.0.30.0201.96517.18
8.0.20.0051.99617.02
8.0.10.0031.99516.96
8.0.00.0271.88816.74
7.4.330.0031.99913.09
7.4.320.0002.00316.71
7.4.300.0031.99916.73
7.4.290.0031.99816.71
7.4.280.0071.99716.56
7.4.270.0031.99816.74
7.4.260.0101.98713.45
7.4.250.0071.99616.72
7.4.240.0031.99916.73
7.4.230.0031.99816.73
7.4.220.0201.97916.68
7.4.210.0061.99716.66
7.4.200.0032.00016.67
7.4.190.0231.97316.53
7.4.160.0231.97716.62
7.4.150.0161.98116.52
7.4.140.0072.00017.86
7.4.130.0191.99116.78
7.4.120.0162.00416.72
7.4.110.0192.38816.70
7.4.100.0132.45016.70
7.4.90.0252.38416.64
7.4.80.0232.43519.39
7.4.70.0362.18216.77
7.4.60.0102.44616.63
7.4.50.0032.49616.55
7.4.40.0102.48716.75
7.4.30.0132.46016.61
7.4.00.0032.49214.88
7.3.330.0031.99913.34
7.3.320.0031.99813.24
7.3.310.0031.99916.21
7.3.300.0171.98216.41
7.3.290.0121.98716.31
7.3.280.0231.97516.25
7.3.270.0131.99916.46
7.3.260.0161.97716.57
7.3.240.0101.98416.41
7.3.230.0282.26116.47
7.3.210.0102.46116.40
7.3.200.0162.44116.45
7.3.190.0132.43516.63
7.3.180.0192.44916.48
7.3.170.0072.39916.46
7.3.160.0322.28516.70
7.3.120.0032.49415.18
7.2.330.0162.42716.90
7.2.320.0162.46516.71
7.2.310.0102.45816.61
7.2.300.0232.44416.61
7.2.290.0232.43016.59
7.2.00.0172.48419.70
7.1.100.0002.50118.26
7.1.70.0002.50117.04
7.1.60.0032.49819.25
7.1.50.0102.49117.03
7.1.00.0032.49722.43
7.0.200.0032.49816.74
7.0.140.0072.49322.13
7.0.120.0002.50021.97
7.0.60.0232.47719.95
7.0.50.0002.50017.87
7.0.40.0102.49019.81
7.0.30.0372.46319.87
7.0.20.0272.47319.96
7.0.10.0002.50019.95
7.0.00.0072.49319.92
5.6.280.0032.49721.11
5.6.210.0102.49020.73
5.6.200.0032.49718.17
5.6.190.0072.49320.29
5.6.180.0232.47720.34
5.6.170.0302.47020.25
5.6.160.0102.49020.40
5.6.150.0072.49318.14
5.6.140.0072.49318.14
5.6.130.0032.49718.08
5.6.120.0072.49321.15
5.6.110.0172.48321.11
5.6.100.0102.49021.03
5.6.90.0072.49321.11
5.6.80.0102.49020.37
5.5.350.0132.23020.40
5.5.340.0172.41020.95
5.5.330.0032.37320.92
5.5.320.0102.43020.99
5.5.310.0302.37720.98
5.5.300.0272.40020.96
5.5.290.0202.41720.71
5.5.280.0072.45320.92
5.5.270.0232.31720.80
5.5.260.0072.43720.93
5.5.250.0332.37020.75
5.5.240.0032.45020.18
5.4.450.0132.43319.20
5.4.440.0132.43719.32
5.4.430.0232.36719.36
5.4.420.0132.43319.38
5.4.410.0472.27719.14
5.4.400.0232.38719.01
5.4.390.0172.36318.79
5.4.380.0072.41718.79
5.4.370.0132.40719.04
5.4.360.0032.43718.97
5.4.350.0002.46718.96
5.4.340.0102.39719.15
5.4.320.0372.30318.96
5.4.310.0272.33019.02
5.4.300.0132.43319.00
5.4.290.0372.30318.91
5.4.280.0172.40719.04
5.4.270.0202.40019.10
5.4.260.0232.32719.08
5.4.250.0402.26318.99
5.4.240.0072.44019.14
5.4.230.0432.34718.86
5.4.220.0072.44719.10
5.4.210.0102.45719.15
5.4.200.0202.36018.99
5.4.190.0132.33019.07
5.4.180.0302.37718.99
5.4.170.0172.36718.93
5.4.160.0272.31718.77
5.4.150.0272.40318.94
5.4.140.0232.36316.40
5.4.130.0232.37716.36
5.4.120.0102.43016.26
5.4.110.0172.42016.22
5.4.100.0172.43316.20
5.4.90.0032.43316.27
5.4.80.0102.41716.32
5.4.70.0072.41016.13
5.4.60.0172.41016.39
5.4.50.0072.43016.43
5.4.40.0132.35316.34
5.4.30.0032.39716.23
5.4.20.0132.44016.21
5.4.10.0102.44016.37
5.4.00.0232.37315.84
5.3.290.0172.35314.50
5.3.280.0102.45714.31
5.3.270.0272.37314.48
5.3.260.0202.35714.46
5.3.250.0202.36014.46
5.3.240.0202.38014.32
5.3.230.0402.32314.32
5.3.220.0132.41014.43
5.3.210.0272.38714.29
5.3.200.0072.41714.29
5.3.190.0072.41714.43
5.3.180.0172.45014.40
5.3.170.0172.44314.33
5.3.160.0132.38014.38
5.3.150.0132.43714.32
5.3.140.0202.40714.32
5.3.130.0202.42314.42
5.3.120.0172.45014.40
5.3.110.0172.43014.40
5.3.100.0132.40313.89
5.3.90.0102.33013.84
5.3.80.0202.39013.71
5.3.70.0172.45013.80
5.3.60.0132.35713.86
5.3.50.0132.42013.77
5.3.40.0202.42713.70
5.3.30.0072.46013.72
5.3.20.0172.45013.45
5.3.10.0202.45313.43
5.3.00.0472.36013.42
5.2.170.0172.42010.91
5.2.160.0102.42310.98
5.2.150.0072.48311.00
5.2.140.0202.37310.93
5.2.130.0072.42310.75
5.2.120.0102.42710.71
5.2.110.0102.42010.97
5.2.100.0132.44010.77
5.2.90.0102.43010.85
5.2.80.0032.47710.84
5.2.70.0172.43010.73
5.2.60.0202.42310.84
5.2.50.0202.45310.93
5.2.40.0302.40010.75
5.2.30.0202.44310.77
5.2.20.0302.38710.77
5.2.10.0032.44010.69
5.2.00.0132.41710.60
5.1.60.0272.4009.69
5.1.50.0172.4109.86
5.1.40.0172.4209.87
5.1.30.0132.45010.20
5.1.20.0172.39710.21
5.1.10.0202.3879.94
5.1.00.0202.4079.94
5.0.50.0172.1278.37
5.0.40.0172.4308.30
5.0.30.0232.3678.06
5.0.20.0272.4408.04
5.0.10.0202.4177.95
5.0.00.0202.3438.01
4.4.90.0032.4675.88
4.4.80.0032.4535.68
4.4.70.0102.3835.81
4.4.60.0132.4176.76
4.4.50.0302.3836.76
4.4.40.0132.4136.76
4.4.30.0132.4476.76
4.4.20.0232.4406.76
4.4.10.0271.9736.76
4.4.00.0172.4036.76
4.3.110.0072.4536.76
4.3.100.0072.4576.76
4.3.90.0172.4306.76
4.3.80.0102.4106.76
4.3.70.0072.4476.76
4.3.60.0032.4876.76
4.3.50.0102.4436.76
4.3.40.0102.4506.76
4.3.30.0072.4136.76
4.3.20.0002.4336.76
4.3.10.0132.4336.76
4.3.00.0132.4136.76

preferences:
61.84 ms | 400 KiB | 5 Q