3v4l.org

run code in 300+ PHP versions simultaneously
<?php $clientesPermitidos = array(10001); $cliente = 10001; if ( ! empty($clientesPermitidos) && ! in_array($cliente, $clientesPermitidos)) { exit('false'); } echo 'Executou...';

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.0070.00718.43
8.3.50.0110.00317.92
8.3.40.0070.00718.66
8.3.30.0100.00319.02
8.3.20.0040.00420.28
8.3.10.0050.00323.65
8.3.00.0080.00020.94
8.2.180.0040.01116.50
8.2.170.0000.01522.96
8.2.160.0100.00320.45
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.81
8.2.110.0060.00320.80
8.2.100.0070.00417.91
8.2.90.0040.00417.85
8.2.80.0060.00317.97
8.2.70.0040.00717.50
8.2.60.0090.00018.04
8.2.50.0040.00418.07
8.2.40.0090.00019.88
8.2.30.0070.00018.17
8.2.20.0070.00017.54
8.2.10.0030.00518.05
8.2.00.0000.00919.31
8.1.280.0110.00325.92
8.1.270.0030.00623.67
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0100.00022.48
8.1.230.0090.00320.85
8.1.220.0030.00517.74
8.1.210.0000.00918.77
8.1.200.0030.00717.35
8.1.190.0030.00617.23
8.1.180.0000.00918.10
8.1.170.0050.00318.60
8.1.160.0000.00721.88
8.1.150.0080.00018.52
8.1.140.0080.00017.35
8.1.130.0040.00417.44
8.1.120.0080.00017.52
8.1.110.0080.00017.41
8.1.100.0030.00617.46
8.1.90.0000.00817.51
8.1.80.0000.00717.45
8.1.70.0000.00817.40
8.1.60.0000.00817.53
8.1.50.0030.00517.43
8.1.40.0070.00017.39
8.1.30.0030.00517.61
8.1.20.0000.00817.46
8.1.10.0040.00417.45
8.1.00.0030.00517.41
8.0.300.0040.00420.08
8.0.290.0060.00316.59
8.0.280.0030.00318.31
8.0.270.0050.00217.29
8.0.260.0000.00616.85
8.0.250.0030.00316.83
8.0.240.0000.00616.81
8.0.230.0000.00716.98
8.0.220.0030.00316.83
8.0.210.0030.00316.90
8.0.200.0030.00316.88
8.0.190.0030.00516.94
8.0.180.0070.00016.90
8.0.170.0040.00416.90
8.0.160.0030.00316.75
8.0.150.0020.00516.91
8.0.140.0040.00416.83
8.0.130.0000.00513.23
8.0.120.0030.00516.73
8.0.110.0040.00416.74
8.0.100.0000.00716.82
8.0.90.0000.00716.71
8.0.80.0070.01116.83
8.0.70.0040.00416.75
8.0.60.0000.00816.83
8.0.50.0000.00716.79
8.0.30.0090.01017.10
8.0.20.0120.01017.40
8.0.10.0000.00716.95
8.0.00.0080.00916.81
7.4.330.0000.00515.00
7.4.320.0000.00716.63
7.4.300.0000.00716.43
7.4.290.0030.00316.63
7.4.280.0000.00716.50
7.4.270.0040.00316.51
7.4.260.0050.00216.60
7.4.250.0080.00016.46
7.4.240.0020.00516.52
7.4.230.0000.00716.57
7.4.220.0060.01016.46
7.4.210.0120.00316.60
7.4.200.0050.00316.52
7.4.160.0120.00816.48
7.4.150.0100.01017.40
7.4.140.0120.00517.86
7.4.130.0100.00716.36
7.4.120.0100.00716.44
7.4.110.0100.00716.45
7.4.100.0090.01516.52
7.4.90.0100.00716.27
7.4.80.0110.01019.39
7.4.70.0060.01116.51
7.4.60.0090.00916.50
7.4.50.0000.00716.37
7.4.40.0080.00816.45
7.4.30.0060.00916.51
7.4.00.0090.00614.81
7.3.330.0030.00312.87
7.3.320.0000.00512.86
7.3.310.0070.00015.95
7.3.300.0070.00016.13
7.3.290.0040.01116.09
7.3.280.0090.00816.15
7.3.270.0170.00017.40
7.3.260.0120.00616.18
7.3.250.0050.01116.47
7.3.240.0060.01216.07
7.3.230.0030.01316.39
7.3.210.0070.01416.30
7.3.200.0100.00716.39
7.3.190.0160.00716.19
7.3.180.0090.00616.40
7.3.170.0000.01516.30
7.3.160.0090.01316.42
7.3.120.0030.01314.86
7.3.10.0070.00416.68
7.3.00.0030.00816.55
7.2.330.0110.00716.29
7.2.320.0120.01516.26
7.2.310.0100.00716.32
7.2.300.0100.00716.45
7.2.290.0060.00916.30
7.2.130.0120.00316.74
7.2.120.0050.00516.64
7.2.110.0060.00616.75
7.2.100.0050.00816.84
7.2.90.0040.01116.73
7.2.80.0050.00916.55
7.2.70.0030.00916.90
7.2.60.0080.00616.82
7.2.50.0060.01016.72
7.2.40.0000.01016.88
7.2.30.0090.00616.89
7.2.20.0080.00816.68
7.2.10.0060.00916.78
7.2.00.0060.00717.64
7.1.250.0050.00915.50
7.1.100.0030.01017.95
7.1.70.0050.00317.19
7.1.60.0100.01319.70
7.1.50.0180.00416.95
7.1.00.0000.08022.49
7.0.200.0040.00416.62
7.0.140.0000.07322.05
7.0.60.0070.03719.95
7.0.50.0130.04017.80
7.0.40.0130.08020.23
7.0.30.0130.04720.22
7.0.20.0230.05320.33
7.0.10.0200.08020.33
7.0.00.0030.04720.29
5.6.280.0030.07320.90
5.6.210.0070.08320.46
5.6.200.0070.05318.08
5.6.190.0070.07720.36
5.6.180.0030.08020.39
5.6.170.0100.04720.33
5.6.160.0030.06020.49
5.6.150.0100.06718.21
5.6.140.0030.04718.21
5.6.130.0170.07718.11
5.6.120.0100.08321.11
5.6.110.0100.07720.99
5.6.100.0070.06721.11
5.6.90.0130.06320.97
5.6.80.0130.04720.40
5.6.70.0200.03020.39
5.5.350.0130.06020.31
5.5.340.0000.04317.98
5.5.330.0000.09020.25
5.5.320.0130.05720.24
5.5.310.0300.07720.20
5.5.300.0100.03718.02
5.5.290.0070.07318.01
5.5.280.0030.04720.83
5.5.270.0170.07320.88
5.5.260.0030.08020.95
5.5.250.0030.05720.45
5.5.240.0170.07020.34
5.4.450.0370.05326.75
5.4.440.0300.04723.53
5.4.430.0270.03721.57
5.4.420.0130.04721.56
5.4.410.0430.03721.36
5.4.400.0470.05021.13
5.4.390.0170.04021.13
5.4.380.0300.04018.65
5.4.370.0130.05718.59
5.4.360.0230.04718.66
5.4.350.0230.06018.50
5.4.340.0130.05718.57
5.4.320.0050.03712.45
5.4.310.0040.03912.45
5.4.300.0060.03812.45
5.4.290.0050.04112.45
5.4.280.0040.03912.35
5.4.270.0080.03412.35
5.4.260.0060.03812.35
5.4.250.0050.03912.34
5.4.240.0070.03612.34
5.4.230.0060.04012.34
5.4.220.0070.05012.34
5.4.210.0090.04112.34
5.4.200.0040.03912.34
5.4.190.0080.05112.34
5.4.180.0070.03612.33
5.4.170.0050.03812.34
5.4.160.0050.03712.34
5.4.150.0070.03812.34
5.4.140.0070.03712.02
5.4.130.0090.03312.01
5.4.120.0060.03511.97
5.4.110.0040.03811.96
5.4.100.0050.03711.96
5.4.90.0060.04811.96
5.4.80.0050.03911.96
5.4.70.0070.03411.96
5.4.60.0040.04111.96
5.4.50.0070.04011.96
5.4.40.0050.03411.95
5.4.30.0040.04211.95
5.4.20.0050.04111.95
5.4.10.0050.03911.95
5.4.00.0060.04311.44
5.3.290.0050.04312.80
5.3.280.0080.03612.71
5.3.270.0020.04312.72
5.3.260.0080.03612.72
5.3.250.0040.03912.72
5.3.240.0060.03712.71
5.3.230.0060.03812.71
5.3.220.0030.04012.68
5.3.210.0070.03812.68
5.3.200.0080.03612.68
5.3.190.0070.04412.68
5.3.180.0150.04412.68
5.3.170.0060.04712.67
5.3.160.0080.04412.67
5.3.150.0080.03712.68
5.3.140.0080.05112.66
5.3.130.0080.04512.66
5.3.120.0090.03712.66
5.3.110.0090.03612.66
5.3.100.0050.04212.12
5.3.90.0100.04512.08
5.3.80.0090.04512.08
5.3.70.0050.04012.07
5.3.60.0050.03912.07
5.3.50.0030.04112.00
5.3.40.0060.03712.00
5.3.30.0070.03411.94
5.3.20.0050.03711.72
5.3.10.0070.03311.69
5.3.00.0040.03811.68
5.2.170.0070.0329.18
5.2.160.0070.0289.18
5.2.150.0060.0289.18
5.2.140.0040.0329.17
5.2.130.0070.0279.13
5.2.120.0040.0309.13
5.2.110.0080.0269.14
5.2.100.0060.0289.14
5.2.90.0050.0299.14
5.2.80.0040.0359.13
5.2.70.0040.0449.14
5.2.60.0090.0359.08
5.2.50.0060.0329.05
5.2.40.0050.0319.03
5.2.30.0050.0309.00
5.2.20.0060.0299.00
5.2.10.0040.0298.91
5.2.00.0050.0298.78
5.1.60.0050.0248.06
5.1.50.0040.0258.06
5.1.40.0030.0258.04
5.1.30.0050.0258.39
5.1.20.0040.0298.41
5.1.10.0070.0288.13
5.1.00.0020.0288.13
5.0.50.0020.0256.61
5.0.40.0080.0186.47
5.0.30.0060.0306.29
5.0.20.0080.0196.25
5.0.10.0070.0176.23
5.0.00.0050.0306.22
4.4.90.0030.0224.77
4.4.80.0050.0194.75
4.4.70.0010.0234.75
4.4.60.0040.0214.75
4.4.50.0040.0214.77
4.4.40.0040.0324.71
4.4.30.0040.0214.76
4.4.20.0070.0154.84
4.4.10.0050.0164.85
4.4.00.0040.0334.76
4.3.110.0050.0194.67
4.3.100.0040.0154.67
4.3.90.0040.0154.63
4.3.80.0020.0264.58
4.3.70.0010.0164.63
4.3.60.0040.0204.63
4.3.50.0020.0174.63
4.3.40.0050.0274.54
4.3.30.0030.0203.28
4.3.20.0030.0163.26
4.3.10.0040.0143.22
4.3.00.0170.02021.12

preferences:
59.28 ms | 400 KiB | 5 Q