3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; for ( $match1 = 1; $match1 < 3; $match1++ ) for ( $match2 = 1; $match2 < 3; $match2++ ) for ( $match3 = 1; $match3 < 3; $match3++ ) for ( $match4 = 1; $match4 < 3; $match4++ ) for ( $match5 = 1; $match5 < 3; $match5++ ) for ( $match6 = 1; $match6 < 3; $match6++ ) for ( $match7 = 1; $match7 < 3; $match7++ ) for ( $match8 = 1; $match8 < 3; $match8++ ) for ( $match9 = 1; $match9 < 3; $match9++ ) for ( $match10 = 1; $match10 < 3; $match10++ ) for ( $match11 = 1; $match11 < 3; $match11++ ) for ( $match12 = 1; $match12 < 3; $match12++ ) for ( $match13 = 1; $match13 < 3; $match13++ ) for ( $match14 = 1; $match14 < 3; $match14++ ) for ( $match15 = 1; $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.60.0100.07116.88
8.3.50.0070.08921.99
8.3.40.0130.07519.01
8.3.30.0100.06919.08
8.3.20.0030.03920.25
8.3.10.0030.04020.73
8.3.00.0100.03319.63
8.2.180.0000.08118.29
8.2.170.0130.06922.96
8.2.160.0100.07020.35
8.2.150.0070.03724.18
8.2.140.0070.05024.66
8.2.130.0070.03726.16
8.2.120.0070.03720.56
8.2.110.0070.05520.51
8.2.100.0070.05918.09
8.2.90.0030.05919.08
8.2.80.0070.05517.97
8.2.70.0060.05817.88
8.2.60.0000.07317.93
8.2.50.0100.05518.07
8.2.40.0030.06018.34
8.2.30.0030.06019.49
8.2.20.0000.06317.85
8.2.10.0030.05918.19
8.2.00.0030.05817.95
8.1.280.0100.07525.92
8.1.270.0030.04523.96
8.1.260.0070.03926.35
8.1.250.0090.03728.09
8.1.240.0070.05622.15
8.1.230.0100.06219.36
8.1.220.0030.06317.89
8.1.210.0070.06018.77
8.1.200.0100.07817.00
8.1.190.0070.06117.61
8.1.180.0070.06318.10
8.1.170.0030.06318.71
8.1.160.0100.05522.00
8.1.150.0030.06319.09
8.1.140.0070.06017.63
8.1.130.0030.05917.86
8.1.120.0030.06217.65
8.1.110.0030.06117.63
8.1.100.0030.06217.73
8.1.90.0000.06617.56
8.1.80.0030.06217.67
8.1.70.0070.05717.54
8.1.60.0070.06417.72
8.1.50.0070.06317.68
8.1.40.0060.06417.77
8.1.30.0060.06417.83
8.1.20.0030.06917.74
8.1.10.0000.07017.70
8.1.00.0030.06717.72
8.0.300.0000.06518.77
8.0.290.0030.06316.88
8.0.280.0070.05918.39
8.0.270.0030.06317.30
8.0.260.0000.06917.29
8.0.250.0000.06617.13
8.0.240.0000.06717.02
8.0.230.0030.06217.14
8.0.220.0030.07316.95
8.0.210.0030.06316.98
8.0.200.0000.06717.03
8.0.190.0070.07817.14
8.0.180.0030.06617.00
8.0.170.0030.06717.13
8.0.160.0030.06617.09
8.0.150.0000.07017.00
8.0.140.0000.07017.00
8.0.130.0000.07013.59
8.0.120.0030.06817.07
8.0.110.0030.06716.99
8.0.100.0060.06416.91
8.0.90.0070.06417.03
8.0.80.0160.08817.13
8.0.70.0030.06716.89
8.0.60.0000.07016.89
8.0.50.0000.07116.95
8.0.30.0140.09517.33
8.0.20.0110.10717.40
8.0.10.0060.07417.03
8.0.00.0100.13116.88
7.4.330.0030.05915.14
7.4.320.0060.05816.78
7.4.300.0060.05816.85
7.4.290.0100.06116.88
7.4.280.0080.08116.75
7.4.270.0030.06616.77
7.4.260.0030.06616.80
7.4.250.0100.06016.84
7.4.240.0030.06816.80
7.4.230.0060.06216.65
7.4.220.0060.11816.95
7.4.210.0100.09616.74
7.4.200.0000.06916.84
7.4.160.0100.09616.55
7.4.150.0060.10617.40
7.4.140.0100.11417.86
7.4.130.0300.10816.75
7.4.120.0110.09916.81
7.4.110.0130.09216.69
7.4.100.0170.10616.86
7.4.90.0160.09816.72
7.4.80.0070.11119.39
7.4.70.0090.11916.84
7.4.60.0130.10316.87
7.4.50.0030.07216.72
7.4.40.0060.16616.89
7.4.30.0100.10516.66
7.4.00.0050.12715.15
7.3.330.0000.07113.27
7.3.320.0030.07813.36
7.3.310.0000.07316.60
7.3.300.0000.07316.54
7.3.290.0160.09416.50
7.3.280.0100.11716.46
7.3.270.0160.10617.40
7.3.260.0090.09916.40
7.3.250.0080.10716.66
7.3.240.0030.12616.91
7.3.230.0130.09616.48
7.3.210.0130.17616.77
7.3.200.0030.12519.39
7.3.190.0100.10216.82
7.3.180.0070.10216.57
7.3.170.0060.10516.75
7.3.160.0090.10316.58
7.3.120.0070.16115.19
7.3.110.0000.12114.97
7.3.100.0070.10715.15
7.3.90.0100.09914.94
7.3.80.0000.11014.99
7.3.70.0070.11315.11
7.3.60.0000.11414.98
7.3.50.0130.09814.96
7.3.40.0030.15814.90
7.3.30.0030.10614.99
7.3.20.0030.11716.80
7.3.10.0090.11116.88
7.3.00.0080.11516.76
7.2.330.0060.11116.77
7.2.320.0090.13316.98
7.2.310.0130.11516.87
7.2.300.0130.10716.89
7.2.290.0100.14916.92
7.2.250.0160.12115.29
7.2.240.0070.16615.48
7.2.230.0030.12915.39
7.2.220.0070.11715.16
7.2.210.0070.10815.05
7.2.200.0030.11315.27
7.2.190.0030.13015.23
7.2.180.0030.14115.41
7.2.170.0030.12415.18
7.2.130.0140.11416.95
7.2.120.0120.11917.10
7.2.110.0070.12117.14
7.2.100.0070.12717.13
7.2.90.0150.11517.13
7.2.80.0100.12117.04
7.2.70.0130.11617.20
7.2.60.0080.11417.19
7.2.50.0120.11217.09
7.2.40.0080.12016.95
7.2.30.0080.11217.14
7.2.20.0100.11317.01
7.2.10.0100.11017.07
7.2.00.0030.11417.11
7.1.330.0030.17215.94
7.1.320.0030.15515.71
7.1.310.0070.18316.09
7.1.300.0070.18415.91
7.1.290.0070.19516.05
7.1.280.0100.20515.97
7.1.270.0000.16916.03
7.1.260.0030.15215.60
7.1.250.0100.18815.99
7.1.240.0100.16915.62
7.1.230.0130.15716.06
7.1.220.0100.16016.05
7.1.210.0130.16016.02
7.1.200.0230.15515.96
7.1.190.0160.15515.81
7.1.180.0130.15915.98
7.1.170.0200.16216.13
7.1.160.0100.17916.02
7.1.150.0130.15416.05
7.1.140.0070.15016.02
7.1.130.0070.15616.12
7.1.120.0070.16215.80
7.1.110.0130.15316.01
7.1.100.0070.16716.00
7.1.90.0030.17016.17
7.1.80.0130.15016.09
7.1.70.0050.15516.69
7.1.60.0100.16017.79
7.1.50.0030.13616.63
7.1.40.0070.15915.92
7.1.30.0100.15815.91
7.1.20.0030.15715.88
7.1.10.0070.15816.13
7.1.00.0000.19219.26
7.0.330.0070.16215.46
7.0.320.0160.16115.37
7.0.310.0070.18115.53
7.0.300.0070.16115.65
7.0.290.0130.15615.66
7.0.280.0130.17015.58
7.0.270.0200.15115.32
7.0.260.0130.14715.41
7.0.250.0000.16815.68
7.0.240.0130.16715.54
7.0.230.0100.16315.73
7.0.220.0130.16415.66
7.0.210.0070.16015.56
7.0.200.0030.12616.19
7.0.190.0030.16215.51
7.0.180.0030.16915.20
7.0.170.0070.16215.62
7.0.160.0030.16015.46
7.0.150.0000.19315.45
7.0.140.0050.18118.79
7.0.130.0030.15915.67
7.0.120.0070.17215.62
7.0.110.0100.15315.67
7.0.100.0030.15615.79
7.0.90.0070.15915.53
7.0.80.0000.16815.73
7.0.70.0030.16715.58
7.0.60.0030.18617.90
7.0.50.0080.15716.83
7.0.40.0070.19116.91
7.0.30.0200.16016.88
7.0.20.0150.17716.99
7.0.10.0030.16716.93
7.0.00.0030.16916.80
5.6.380.0000.31714.68
5.6.370.0100.33314.48
5.6.360.0030.33614.59
5.6.350.0030.30014.50
5.6.340.0100.31714.55
5.6.330.0030.31414.18
5.6.320.0070.30814.39
5.6.310.0100.29914.66
5.6.300.0100.30614.40
5.6.290.0070.30614.29
5.6.280.0020.31817.72
5.6.270.0070.30014.66
5.6.260.0030.30314.59
5.6.250.0030.30514.61
5.6.240.0030.32214.67
5.6.230.0070.31014.57
5.6.220.0070.29714.25
5.6.210.0030.25917.53
5.6.200.0380.26616.33
5.6.190.0070.26717.47
5.6.180.0150.31717.32
5.6.170.0150.26617.38
5.6.160.0020.27417.54
5.6.150.0050.30816.21
5.6.140.0050.28816.45
5.6.130.0080.28916.14
5.6.120.0070.28817.87
5.6.110.0120.27817.77
5.6.100.0080.29117.66
5.6.90.0050.30617.69
5.6.80.0050.26617.39
5.6.70.0130.30514.11
5.6.60.0070.29614.23
5.6.50.0030.37414.23
5.6.40.0100.30114.13
5.6.30.0100.31814.60
5.6.20.0000.37414.27
5.6.10.0000.34214.44
5.6.00.0030.32314.22
5.5.380.0070.31011.23
5.5.370.0030.30311.31
5.5.360.0000.31111.18
5.5.350.0030.29215.76
5.5.340.0070.30214.71
5.5.330.0050.31015.91
5.5.320.0180.29215.71
5.5.310.0120.29415.89
5.5.300.0050.29214.45
5.5.290.0030.28914.59
5.5.280.0050.28016.07
5.5.270.0020.26516.15
5.5.260.0070.29815.90
5.5.250.0050.29415.85
5.5.240.2070.26615.81
5.5.230.0100.30710.95
5.5.220.0030.30411.21
5.5.210.0100.31511.06
5.5.200.0030.30411.25
5.5.190.0000.32310.77
5.5.180.0030.36711.00
5.5.170.0030.30811.16
5.5.160.0060.33211.21
5.5.150.0000.34210.96
5.5.140.0160.31511.28
5.5.130.0030.32211.18
5.5.120.0060.31310.77
5.5.110.0070.30611.19
5.5.100.0100.30611.18
5.5.90.0030.33010.91
5.5.80.0030.30911.19
5.5.70.0070.30611.03
5.5.60.0070.30311.09
5.5.50.0070.30011.26
5.5.40.0070.31110.96
5.5.30.0000.30711.14
5.5.20.0000.33911.19
5.5.10.0070.30310.96
5.5.00.0030.31711.02
5.4.450.0120.36015.31
5.4.440.0220.37515.10
5.4.430.0170.33715.11
5.4.420.0070.43115.29
5.4.410.0170.32815.04
5.4.400.0430.34115.21
5.4.390.0150.33615.01
5.4.380.0130.33614.93
5.4.370.0100.34714.84
5.4.360.0070.35214.86
5.4.350.0080.38014.69
5.4.340.0120.33714.83
5.4.330.0030.35811.22
5.4.320.0070.31711.71
5.4.310.0090.29011.79
5.4.300.0070.30311.72
5.4.290.0040.30111.60
5.4.280.0110.28611.45
5.4.270.0060.30011.42
5.4.260.0050.29411.44
5.4.250.0070.28811.67
5.4.240.0050.31011.58
5.4.230.0040.30911.54
5.4.220.0050.29411.59
5.4.210.0070.28511.74
5.4.200.0050.29811.62
5.4.190.0060.28811.83
5.4.180.0060.30211.70
5.4.170.0070.31311.59
5.4.160.0040.28111.82
5.4.150.0070.30811.70
5.4.140.0060.29711.52
5.4.130.0060.29911.58
5.4.120.0070.29411.53
5.4.110.0080.30411.46
5.4.100.0080.31411.61
5.4.90.0080.29211.47
5.4.80.0060.29211.58
5.4.70.0050.29111.39
5.4.60.0070.31111.62
5.4.50.0060.29911.58
5.4.40.0090.28611.37
5.4.30.0060.29411.41
5.4.20.0050.29611.48
5.4.10.0100.29611.45
5.4.00.0050.30511.35
5.3.290.0080.31911.72
5.3.280.0080.32411.54
5.3.270.0060.34011.64
5.3.260.0050.33111.56
5.3.250.0040.35011.66
5.3.240.0070.35611.59
5.3.230.0030.33911.63
5.3.220.0040.32911.57
5.3.210.0070.34411.59
5.3.200.0120.31711.48
5.3.190.0090.34211.65
5.3.180.0050.33411.55
5.3.170.0050.32311.60
5.3.160.0110.31911.59
5.3.150.0100.33211.54
5.3.140.0050.32511.69
5.3.130.0080.32111.58
5.3.120.0130.31911.63
5.3.110.0080.32511.59
5.3.100.0060.31911.29
5.3.90.0070.33311.31
5.3.80.0090.31811.29
5.3.70.0030.32211.20
5.3.60.0040.33211.23
5.3.50.0030.33111.24
5.3.40.0050.34311.20
5.3.30.0040.32211.27
5.3.20.0060.33411.03
5.3.10.0050.31711.05
5.3.00.0050.33011.04
5.2.170.0060.3229.44
5.2.160.0040.3079.43
5.2.150.0050.3109.43
5.2.140.0070.3179.44
5.2.130.0030.3229.42
5.2.120.0070.3229.41
5.2.110.0040.3209.42
5.2.100.0060.3229.42
5.2.90.0030.3159.42
5.2.80.0030.3129.42
5.2.70.0030.3119.41
5.2.60.0110.3039.39
5.2.50.0050.3209.37
5.2.40.0040.3079.36
5.2.30.0070.2979.35
5.2.20.0050.3119.35
5.2.10.0080.3539.34
5.2.00.0060.3499.27
5.1.60.0050.3528.89
5.1.50.0050.3508.89
5.1.40.0050.3608.88
5.1.30.0040.3519.06
5.1.20.0010.3529.07
5.1.10.0030.3468.93
5.1.00.0050.3458.93
5.0.50.0070.4388.18
5.0.40.0050.4528.11
5.0.30.0060.4498.02
5.0.20.0040.4728.01
5.0.10.0020.4308.00
5.0.00.0050.4437.99
4.4.90.0050.4457.22
4.4.80.0020.4547.21
4.4.70.0020.4617.21
4.4.60.0050.4487.21
4.4.50.0020.4517.21
4.4.40.0030.4587.18
4.4.30.0050.4577.21
4.4.20.0050.4807.25
4.4.10.0040.4607.25
4.4.00.0050.4617.21
4.3.110.0070.4467.16
4.3.100.0050.4527.16
4.3.90.0050.4417.14
4.3.80.0070.4457.14
4.3.70.0030.4467.14
4.3.60.0040.4517.14
4.3.50.0020.4577.14
4.3.40.0020.4297.12
4.3.30.0020.4326.52
4.3.20.0030.4156.51
4.3.10.0060.4106.49
4.3.00.0120.5018.52

preferences:
57.34 ms | 404 KiB | 6 Q