3v4l.org

run code in 300+ PHP versions simultaneously
<?php $srv = array('build', 'calss'); for ($i = 0; $i < 1000; $i++) { $srv_keys = array_keys($srv); $cant_be_together = array('build', 'class'); if(count(array_intersect($srv_keys, $cant_be_together)) === count($cant_be_together)) { $str = $i; } }

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.0130.01016.38
8.3.50.0060.00916.25
8.3.40.0110.00418.68
8.3.30.0120.00618.48
8.3.20.0080.00018.60
8.3.10.0080.00020.04
8.3.00.0060.00319.69
8.2.180.0140.00016.88
8.2.170.0070.01122.96
8.2.160.0120.00319.07
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00020.93
8.2.120.0070.00026.35
8.2.110.0110.00020.17
8.2.100.0060.00617.78
8.2.90.0000.00819.05
8.2.80.0030.00617.97
8.2.70.0040.00417.38
8.2.60.0040.00417.80
8.2.50.0030.00518.10
8.2.40.0000.00920.59
8.2.30.0000.00820.55
8.2.20.0060.00317.75
8.2.10.0040.00418.00
8.2.00.0040.00418.05
8.1.280.0110.00425.92
8.1.270.0030.00523.85
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0090.00023.91
8.1.230.0030.00920.95
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0110.00017.10
8.1.180.0030.00618.10
8.1.170.0080.00018.87
8.1.160.0080.00019.02
8.1.150.0000.00718.91
8.1.140.0070.00019.59
8.1.130.0050.00317.62
8.1.120.0000.00717.43
8.1.110.0030.00517.46
8.1.100.0040.00417.36
8.1.90.0000.00817.48
8.1.80.0000.00817.43
8.1.70.0000.00717.43
8.1.60.0030.00617.59
8.1.50.0000.00917.53
8.1.40.0050.00317.42
8.1.30.0040.00417.61
8.1.20.0080.00017.65
8.1.10.0040.00417.38
8.1.00.0030.00617.34
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.27
8.0.270.0030.00317.11
8.0.260.0030.00317.20
8.0.250.0000.00716.84
8.0.240.0030.00316.79
8.0.230.0030.00316.79
8.0.220.0040.00416.73
8.0.210.0060.00316.84
8.0.200.0040.00416.89
8.0.190.0040.00416.85
8.0.180.0030.00616.81
8.0.170.0000.00816.91
8.0.160.0000.00816.96
8.0.150.0040.00416.80
8.0.140.0000.00716.83
8.0.130.0000.00613.30
8.0.120.0060.00316.90
8.0.110.0000.00816.89
8.0.100.0050.00316.71
8.0.90.0050.00316.74
8.0.80.0120.01016.91
8.0.70.0000.00816.77
8.0.60.0030.00516.96
8.0.50.0030.00516.87
8.0.30.0100.00816.87
8.0.20.0110.00817.40
8.0.10.0040.00416.91
8.0.00.0080.01216.74
7.4.330.0060.00015.08
7.4.320.0030.00316.61
7.4.300.0060.00016.47
7.4.290.0040.00416.50
7.4.280.0000.00716.61
7.4.270.0000.00816.63
7.4.260.0090.00316.55
7.4.250.0030.00616.46
7.4.240.0000.00716.56
7.4.230.0000.00816.32
7.4.220.0150.01416.52
7.4.210.0030.01116.60
7.4.200.0000.00716.35
7.4.160.0080.00816.62
7.4.150.0030.01617.40
7.4.140.0120.01017.86
7.4.130.0060.01416.62
7.4.120.0090.01116.58
7.4.110.0060.01216.41
7.4.100.0100.00716.38
7.4.90.0060.01316.57
7.4.80.0070.01019.39
7.4.70.0060.01216.43
7.4.60.0080.01116.42
7.4.50.0120.00616.19
7.4.40.0130.00316.60
7.4.30.0130.00316.48
7.4.00.0060.01215.04
7.3.330.0020.00513.10
7.3.320.0030.00313.26
7.3.310.0030.00316.13
7.3.300.0070.00016.27
7.3.290.0000.01416.18
7.3.280.0100.00616.31
7.3.270.0140.00317.40
7.3.260.0130.00616.38
7.3.250.0100.01216.32
7.3.240.0140.00816.39
7.3.230.0100.00716.39
7.3.210.0160.00016.54
7.3.200.0120.00319.39
7.3.190.0060.01216.48
7.3.180.0170.00016.29
7.3.170.0120.00616.32
7.3.160.0130.00616.36
7.3.120.0100.00615.11
7.3.110.0000.01815.11
7.3.100.0040.01114.88
7.3.90.0100.01014.75
7.3.80.0030.00914.70
7.3.70.0000.00914.60
7.3.60.0070.01114.76
7.3.50.0000.01014.71
7.3.40.0000.01014.82
7.3.30.0040.00814.88
7.3.20.0160.00016.73
7.3.10.0030.01016.48
7.3.00.0110.00616.54
7.2.330.0060.01216.50
7.2.320.0120.00616.63
7.2.310.0060.01616.52
7.2.300.0030.01416.65
7.2.290.0030.01616.39
7.2.250.0130.00715.09
7.2.240.0030.01215.20
7.2.230.0090.01014.92
7.2.220.0110.00015.08
7.2.210.0000.01414.96
7.2.200.0060.01014.98
7.2.190.0000.01614.91
7.2.180.0100.00714.95
7.2.170.0060.01015.13
7.2.60.0130.00017.00
7.1.330.0000.01515.94
7.1.320.0050.00515.54
7.1.310.0000.01015.56
7.1.300.0030.01315.80
7.1.290.0060.00615.80
7.1.280.0000.01815.59
7.1.270.0070.01115.81
7.1.260.0130.00315.76
7.1.200.0030.01115.82
7.1.70.0090.00417.00
7.1.60.0130.01319.27
7.1.00.0100.06722.47
7.0.200.0040.00716.68
7.0.60.0170.08319.97
7.0.50.0170.06020.24
7.0.40.0200.05320.43
7.0.30.0170.07020.32
7.0.20.0230.05720.32
7.0.10.0130.06020.29
7.0.00.0230.05320.32
5.6.280.0070.07321.10
5.6.210.0100.08020.48
5.6.200.0300.08021.04
5.6.190.0200.06021.11
5.6.180.0170.05321.02
5.6.170.0170.07021.09
5.6.160.0200.06021.15
5.6.150.0100.07021.06
5.6.140.0200.06321.06
5.6.130.0330.05721.14
5.6.120.0230.06321.14
5.6.110.0270.07021.12
5.6.100.0400.05021.11
5.6.90.0070.07320.91
5.6.80.0200.05720.40
5.6.70.0230.05320.50
5.6.60.0100.06320.49
5.6.50.0230.05020.46
5.6.40.0300.07320.48
5.6.30.0300.05320.46
5.6.20.0130.05720.50
5.6.10.0170.05320.36
5.6.00.0200.05720.28
5.5.350.4600.04020.33
5.5.340.0270.06720.89
5.5.330.0130.06320.79
5.5.320.0230.06020.75
5.5.310.0370.04720.98
5.5.300.0130.06720.82
5.5.290.0330.06320.65
5.5.280.0300.07020.67
5.5.270.0270.06020.83
5.5.260.0230.06721.00
5.5.250.0270.06320.62
5.5.240.0170.06320.25
5.5.230.0270.05020.21
5.5.220.0130.06320.20
5.5.210.0170.05320.26
5.5.200.0230.06020.28
5.5.190.0300.05020.20
5.5.180.0200.05320.16
5.5.160.0270.05320.18
5.5.150.0300.04320.32
5.5.140.0170.05320.36
5.5.130.0130.06020.24
5.5.120.0200.05720.20
5.5.110.0100.07020.14
5.5.100.0200.06020.19
5.5.90.0370.06020.14
5.5.80.0170.06320.09
5.5.70.0230.06020.06
5.5.60.0200.06020.06
5.5.50.0230.05720.11
5.5.40.0300.06720.00
5.5.30.0170.06020.20
5.5.20.0170.06320.15
5.5.10.0270.05020.16
5.5.00.0230.06020.07

preferences:
54.73 ms | 401 KiB | 5 Q