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)); $count0 = substr_count($column, '0'); $count1 = substr_count($column, '1'); $count2 = substr_count($column, '2'); $count20 = substr_count($column, '20'); $count01 = substr_count($column, '01'); $count10 = substr_count($column, '10'); $count12 = substr_count($column, '12'); $count21 = substr_count($column, '21'); $count101 = substr_count($column, '101'); $count112 = substr_count($column, '112'); $count211 = substr_count($column, '211'); preg_match_all('/[0]+/', $column, $matches); $max0 = $matches[0] ? strlen(max($matches[0])) : 0; preg_match_all('/[1]+/', $column, $matches); $max1 = $matches[0] ? strlen(max($matches[0])) : 0; preg_match_all('/[2]+/', $column, $matches); $max2 = $matches[0] ? strlen(max($matches[0])) : 0; // en az 1 en çok 5 maç 0 biter if ( $count0 < 1 ) continue; if ( $count0 > 5 ) continue; // en az 4 en çok 10 maç 1 biter if ( $count1 < 4 ) continue; if ( $count1 > 10 ) continue; // en az 4 en çok 10 maç 2 biter if ( $count2 < 4 ) continue; if ( $count2 > 10 ) continue; // en az 1 kere ard arda 2 maç 2 ve 0 biter if ( $count20 < 1 ) continue; // en az 1 kere ard arda 2 maç 0 ve 1 biter if ( $count01 < 1 ) continue; // en az 1 kere ard arda 2 maç 1 ve 0 biter if ( $count10 < 1 ) continue; // en az 1 kere ard arda 2 maç 1 ve 2 biter if ( $count12 < 1 ) continue; // en az 1 kere ard arda 2 maç 2 ve 1 biter if ( $count21 < 1 ) continue; // en az 1 kere ard arda 3 maç 1, 0 ve 1 biter if ( $count101 < 1 ) continue; // en az 1 kere ard arda 3 maç 1, 1 ve 2 biter if ( $count112 < 1 ) continue; // en az 1 kere ard arda 3 maç 2, 1 ve 1 biter if ( $count211 < 1 ) continue; // ard arda en az 2 en çok 3 maç 0 biter if ( $max0 < 2 ) continue; if ( $max0 > 3 ) continue; // ard arda en az 2 en çok 6 maç 1 biter if ( $max1 < 2 ) continue; if ( $max1 > 6 ) continue; // ard arda en az 2 en çok 6 maç 2 biter if ( $max2 < 2 ) continue; if ( $max2 > 6 ) continue; $count++; } echo $count * 0.25; ?>

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.40.0072.00118.83
8.3.30.0071.99519.17
8.3.20.0031.99920.33
8.3.10.0101.99120.65
8.3.00.0101.99219.38
8.2.170.0032.00322.96
8.2.160.0101.99020.47
8.2.150.0071.99424.18
8.2.140.0171.97824.66
8.2.130.0031.99926.16
8.2.120.0031.99821.14
8.2.110.0071.99721.05
8.2.100.0101.97517.97
8.2.90.0002.00319.30
8.2.80.0072.00017.97
8.2.70.0071.99517.88
8.2.60.0031.99818.29
8.2.50.0002.00218.10
8.2.40.0071.99518.34
8.2.30.0131.98819.53
8.2.20.0032.00018.04
8.2.10.0031.99818.35
8.2.00.0031.99918.03
8.1.270.0131.99023.91
8.1.260.0002.00426.35
8.1.250.0071.99628.09
8.1.240.0002.00323.92
8.1.230.0101.99218.02
8.1.220.0101.99117.79
8.1.210.0071.99418.77
8.1.200.0032.00017.47
8.1.190.0071.99417.48
8.1.180.0031.99918.10
8.1.170.0031.99918.71
8.1.160.0032.00522.06
8.1.150.0031.99919.00
8.1.140.0002.00117.75
8.1.130.0071.99218.05
8.1.120.0031.99817.70
8.1.110.0002.00317.67
8.1.100.0002.00217.71
8.1.90.0032.00017.80
8.1.80.0071.99517.73
8.1.70.0032.00017.67
8.1.60.0032.00017.88
8.1.50.0002.00417.64
8.1.40.0031.99917.84
8.1.30.0032.00117.89
8.1.20.0031.99817.91
8.1.10.0031.99917.87
8.1.00.0171.98417.73
8.0.300.0031.99918.77
8.0.290.0101.99116.88
8.0.280.0002.00418.50
8.0.270.0032.00017.21
8.0.260.0071.99417.31
8.0.250.0002.00217.08
8.0.240.0031.99917.03
8.0.230.0002.00216.96
8.0.220.0131.98517.11
8.0.210.0002.00316.88
8.0.200.0002.00317.08
8.0.190.0271.97217.10
8.0.180.0031.99917.12
8.0.170.0031.99916.99
8.0.160.0002.00317.08
8.0.150.0071.99617.01
8.0.140.0031.99716.94
8.0.130.0071.99113.59
8.0.120.0071.99516.93
8.0.110.0002.00216.92
8.0.100.0002.00216.85
8.0.90.0002.00116.95
8.0.80.0101.98716.88
8.0.70.0071.99516.94
8.0.60.0032.00116.98
8.0.50.0031.99917.00
8.0.30.0121.99317.37
8.0.20.0081.99617.43
8.0.10.0071.99617.00
8.0.00.0081.99916.97
7.4.330.0031.99815.02
7.4.320.0031.99816.61
7.4.300.0031.99916.80
7.4.290.0002.00216.77
7.4.280.0101.99316.71
7.4.270.0032.00016.77
7.4.260.0002.00316.68
7.4.250.0032.00016.68
7.4.240.0022.00116.59
7.4.230.0031.99816.88
7.4.220.0101.99116.88
7.4.210.0031.99816.80
7.4.200.0032.00016.57
7.4.160.0331.95716.77
7.4.150.0131.98417.40
7.4.140.0061.99517.86
7.4.130.0151.99216.74
7.4.120.0101.99516.68
7.4.110.0032.45916.88
7.4.100.0132.43116.55
7.4.90.0102.43116.50
7.4.80.0262.39319.39
7.4.70.0102.43716.81
7.4.60.0102.45916.59
7.4.50.0032.49616.42
7.4.40.0132.43316.64
7.4.30.0572.33916.58
7.4.00.0032.49414.98
7.3.330.0071.99313.38
7.3.320.0031.99713.53
7.3.310.0031.99816.48
7.3.300.0071.99516.26
7.3.290.0261.98916.38
7.3.280.0161.98116.40
7.3.270.0541.89917.40
7.3.260.0201.98216.76
7.3.250.0361.96416.59
7.3.240.0091.98116.52
7.3.230.0292.40716.71
7.3.210.0252.21016.56
7.3.200.0232.38319.39
7.3.190.0092.45516.64
7.3.180.0062.45516.80
7.3.170.0162.43416.52
7.3.160.0132.44416.52
7.2.330.0102.47316.77
7.2.320.0072.45516.74
7.2.310.0232.42716.64
7.2.300.0132.46216.91
7.2.290.0192.40316.73
7.2.60.0072.49017.13
7.1.200.0072.49016.02
7.1.70.0032.49817.38
7.1.60.0072.49519.61
7.1.50.0102.49217.39
7.1.00.0072.49322.28
7.0.200.0032.49816.76
7.0.140.0032.49721.97
7.0.60.0102.49020.15
7.0.50.0032.49717.81
7.0.40.0072.49319.89
7.0.30.0702.43019.93
7.0.20.0172.48319.78
7.0.10.0332.46719.95
7.0.00.0002.50019.78
5.6.280.0072.49320.90
5.6.210.0032.49720.74
5.6.200.0072.49318.22
5.6.190.0132.48720.53
5.6.180.0232.47720.37
5.6.170.0272.47320.32
5.6.160.0132.48720.39
5.6.150.0002.50018.10
5.6.140.0032.49718.11
5.6.130.0132.48717.94
5.6.120.0032.49721.04
5.6.110.0032.49721.00
5.6.100.0072.49321.08
5.6.90.0072.49321.06
5.6.80.0102.49020.46
5.6.70.4102.09020.47
5.5.350.0102.49020.39
5.5.340.0032.49717.87
5.5.330.0072.49320.21
5.5.320.0332.46720.13
5.5.310.0332.46720.16
5.5.300.0102.49017.93
5.5.290.0032.49717.88
5.5.280.0072.49320.89
5.5.270.0102.49021.01
5.5.260.0102.49020.77
5.5.250.0132.48720.63
5.5.240.0102.49020.07
5.4.450.0402.45719.33
5.4.440.3902.10719.33
5.4.430.0232.47319.32
5.4.420.0272.47019.11
5.4.410.0172.48019.40
5.4.400.0332.46318.86
5.4.390.4372.06019.20
5.4.380.0272.47019.21
5.4.370.0372.46018.77
5.4.360.0472.45019.00
5.4.350.0332.46319.10
5.4.340.0132.48319.21
5.4.320.0191.90212.50
5.4.310.0222.22615.80
5.4.300.0152.23715.75
5.4.290.0062.24415.64
5.4.280.0322.21815.65
5.4.270.0222.22715.65
5.4.260.0172.23315.71
5.4.250.0182.23315.59
5.4.240.0252.22415.74
5.4.230.0212.22715.69
5.4.220.0212.23015.57
5.4.210.0132.23915.80
5.4.200.0302.22115.74
5.4.190.1442.10615.78
5.4.180.0202.23015.71
5.4.170.2072.04315.72
5.4.160.0182.23115.79
5.4.150.1882.06315.63
5.4.140.2072.04214.26
5.4.130.0162.23314.24
5.4.120.0222.22614.24
5.4.110.0212.22814.23
5.4.100.0122.23614.21
5.4.90.0182.22614.16
5.4.80.0062.24314.10
5.4.70.0152.23514.21
5.4.60.0102.23714.02
5.4.50.0092.23814.23
5.4.40.0192.22614.19
5.4.30.0512.19714.24
5.4.20.0352.21314.15
5.4.10.1782.07014.14
5.4.00.2152.03513.62

preferences:
37.38 ms | 400 KiB | 5 Q