3v4l.org

run code in 300+ PHP versions simultaneously
<?php $srv = array('build', 'calss'); $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 = 1; }

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.0090.00918.43
8.3.50.0080.01521.20
8.3.40.0120.00618.74
8.3.30.0070.00718.59
8.3.20.0000.00818.54
8.3.10.0080.00019.85
8.3.00.0030.00517.68
8.2.180.0090.00616.38
8.2.170.0040.01122.96
8.2.160.0130.00719.21
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0060.00320.90
8.2.120.0040.00426.35
8.2.110.0070.00321.18
8.2.100.0080.00317.93
8.2.90.0040.00418.97
8.2.80.0080.00017.97
8.2.70.0040.00417.49
8.2.60.0070.00017.92
8.2.50.0000.00818.10
8.2.40.0040.00420.59
8.2.30.0040.00420.48
8.2.20.0080.00017.58
8.2.10.0040.00418.14
8.2.00.0000.00818.03
8.1.280.0150.00625.92
8.1.270.0040.00423.88
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.07
8.1.230.0070.00417.45
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0040.00517.09
8.1.190.0080.00017.23
8.1.180.0080.00018.10
8.1.170.0000.00819.03
8.1.160.0000.00719.04
8.1.150.0040.00418.88
8.1.140.0080.00019.57
8.1.130.0000.00717.69
8.1.120.0000.00717.55
8.1.110.0000.00717.27
8.1.100.0070.00017.32
8.1.90.0040.00417.46
8.1.80.0000.00817.30
8.1.70.0030.00317.34
8.1.60.0080.00017.61
8.1.50.0000.00717.50
8.1.40.0000.00717.54
8.1.30.0000.00817.64
8.1.20.0040.00417.55
8.1.10.0000.00717.55
8.1.00.0050.00317.43
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0060.00318.30
8.0.270.0070.00017.05
8.0.260.0000.00617.19
8.0.250.0070.00016.79
8.0.240.0030.00316.77
8.0.230.0030.00316.77
8.0.220.0000.00716.84
8.0.210.0040.00416.84
8.0.200.0030.00316.88
8.0.190.0070.00016.91
8.0.180.0000.00716.87
8.0.170.0040.00416.89
8.0.160.0000.00716.81
8.0.150.0040.00416.82
8.0.140.0000.00716.87
8.0.130.0030.00313.34
8.0.120.0040.00416.85
8.0.110.0020.00516.84
8.0.100.0070.00016.94
8.0.90.0000.00816.70
8.0.80.0110.00616.92
8.0.70.0070.00016.70
8.0.60.0030.00316.86
8.0.50.0070.00016.76
8.0.30.0110.00717.26
8.0.20.0080.01117.41
8.0.10.0040.00417.06
8.0.00.0090.00916.79
7.4.330.0050.00015.08
7.4.320.0030.00316.41
7.4.300.0030.00316.50
7.4.290.0070.00016.46
7.4.280.0040.00416.47
7.4.270.0040.00416.35
7.4.260.0000.00816.60
7.4.250.0050.00316.31
7.4.240.0000.00716.44
7.4.230.0040.00416.61
7.4.220.0070.01116.63
7.4.210.0080.00816.45
7.4.200.0000.00716.50
7.4.160.0130.00316.45
7.4.150.0060.01217.40
7.4.140.0090.01117.86
7.4.130.0150.00516.46
7.4.120.0140.00616.45
7.4.110.0060.01016.27
7.4.100.0060.01016.36
7.4.90.0150.00316.64
7.4.80.0070.01019.39
7.4.70.0100.00616.72
7.4.60.0040.01516.56
7.4.50.0000.01816.41
7.4.40.0100.00616.47
7.4.30.0160.00316.58
7.4.00.0080.00814.77
7.3.330.0050.00313.18
7.3.320.0060.00013.19
7.3.310.0040.00416.21
7.3.300.0000.00716.27
7.3.290.0000.00716.11
7.3.280.0060.01316.28
7.3.270.0100.00717.40
7.3.260.0070.01016.34
7.3.250.0110.00816.31
7.3.240.0100.00816.37
7.3.230.0130.00316.54
7.3.210.0090.01116.57
7.3.200.0090.00619.39
7.3.190.0070.01016.29
7.3.180.0090.00616.25
7.3.170.0110.01116.61
7.3.160.0070.01316.19
7.2.330.0160.00316.69
7.2.320.0120.00916.64
7.2.310.0030.01316.54
7.2.300.0100.00716.67
7.2.290.0120.00316.60
7.2.00.0090.00319.38
7.1.200.0000.01215.84
7.1.100.0060.00918.20
7.1.70.0210.00816.81
7.1.60.0090.01519.27
7.1.00.0030.07722.31
7.0.200.0000.00916.62
7.0.60.0170.05719.73
7.0.50.0130.06020.26
7.0.40.0030.06320.25
7.0.30.0270.07720.32
7.0.20.0230.06320.34
7.0.10.0370.06020.16
7.0.00.0230.06720.34
5.6.280.0130.06320.81
5.6.210.0030.09020.61
5.6.200.0200.06021.02
5.6.190.0300.05021.15
5.6.180.0130.05721.03
5.6.170.0530.05721.04
5.6.160.0330.05021.14
5.6.150.0270.05721.15
5.6.140.0170.05321.13
5.6.130.0230.06320.93
5.6.120.0100.09021.07
5.6.110.0100.06321.01
5.6.100.0100.08021.02
5.6.90.0230.06021.00
5.6.80.0230.05720.42
5.6.70.0300.05720.44
5.6.60.0500.06020.45
5.6.50.0300.05020.39
5.6.40.0270.05320.40
5.6.30.0230.05320.41
5.6.20.0200.06020.36
5.6.10.0170.05720.26
5.6.00.0200.05320.49
5.5.350.4070.04720.46
5.5.340.0070.07020.90
5.5.330.0170.07320.75
5.5.320.0230.06320.91
5.5.310.0530.05720.84
5.5.300.0270.05320.88
5.5.290.0170.07020.89
5.5.280.0130.05720.89
5.5.270.0100.06320.96
5.5.260.0200.06320.89
5.5.250.0200.06320.69
5.5.240.0270.06020.23
5.5.230.0130.06720.36
5.5.220.0230.05720.23
5.5.210.0330.04320.21
5.5.200.0370.04320.33
5.5.190.0300.05720.18
5.5.180.0330.05020.36
5.5.160.0170.06720.14
5.5.150.0300.05720.03
5.5.140.0170.06020.16
5.5.130.0230.05320.35
5.5.120.0100.06320.29
5.5.110.0170.05720.18
5.5.100.0130.06019.94
5.5.90.0070.06320.16
5.5.80.0170.06020.07
5.5.70.0170.06320.26
5.5.60.0330.07320.05
5.5.50.0100.05720.16
5.5.40.0130.05720.13
5.5.30.0300.06020.05
5.5.20.0170.06020.08
5.5.10.0300.07319.94
5.5.00.0130.07319.94

preferences:
61.36 ms | 401 KiB | 5 Q