3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasCustom = false; $custom = $hasCustom && $customReq === 'false' ? false : true; var_dump( $custom );

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.01416.63
8.3.50.0100.00716.36
8.3.40.0110.00818.75
8.3.30.0000.01418.59
8.3.20.0040.00418.97
8.3.10.0000.00721.77
8.3.00.0080.00020.56
8.2.180.0070.00718.42
8.2.170.0080.00822.96
8.2.160.0100.00320.38
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0100.01019.83
8.2.120.0100.00726.35
8.2.110.0060.00319.30
8.2.100.0050.00517.85
8.2.90.0000.00817.75
8.2.80.0000.00817.97
8.2.70.0000.00817.80
8.2.60.0030.00618.16
8.2.50.0000.00818.10
8.2.40.0000.00820.42
8.2.30.0040.00419.28
8.2.20.0000.00717.99
8.2.10.0040.00418.11
8.2.00.0040.00417.71
8.1.280.0110.00425.92
8.1.270.0040.00422.01
8.1.260.0090.00028.09
8.1.250.0050.00228.09
8.1.240.0040.00422.12
8.1.230.0030.00818.88
8.1.220.0050.00317.76
8.1.210.0030.00518.77
8.1.200.0030.00617.13
8.1.190.0070.00417.22
8.1.180.0000.00918.10
8.1.170.0080.00018.52
8.1.160.0030.00318.97
8.1.150.0000.00720.25
8.1.140.0040.00419.56
8.1.130.0070.00017.61
8.1.120.0030.00617.43
8.1.110.0040.00417.36
8.1.100.0000.00717.34
8.1.90.0060.00317.39
8.1.80.0000.00817.38
8.1.70.0000.00717.40
8.1.60.0040.00417.62
8.1.50.0050.00317.52
8.1.40.0000.00717.51
8.1.30.0080.00017.62
8.1.20.0030.00517.67
8.1.10.0040.00417.36
8.1.00.0040.00417.35
8.0.300.0070.00318.77
8.0.290.0040.00416.63
8.0.280.0030.00318.30
8.0.270.0040.00417.16
8.0.260.0030.00317.29
8.0.250.0030.00316.94
8.0.240.0030.00516.93
8.0.230.0000.00717.00
8.0.220.0030.00316.84
8.0.210.0000.00716.79
8.0.200.0070.00416.92
8.0.190.0070.00016.99
8.0.180.0040.00816.83
8.0.170.0040.00416.84
8.0.160.0030.00316.77
8.0.150.0040.00416.77
8.0.140.0000.00716.85
8.0.130.0060.00013.31
8.0.120.0040.00416.84
8.0.110.0000.00716.82
8.0.100.0000.00716.74
8.0.90.0000.00716.73
8.0.80.0110.00416.84
8.0.70.0040.00416.84
8.0.60.0000.00816.76
8.0.50.0020.00516.73
8.0.30.0140.00517.15
8.0.20.0120.00717.40
8.0.10.0040.00416.88
8.0.00.0100.00716.70
7.4.330.0020.00215.55
7.4.320.0000.00616.43
7.4.300.0000.00616.47
7.4.290.0050.00216.58
7.4.280.0000.00716.58
7.4.270.0000.00716.64
7.4.260.0000.00716.52
7.4.250.0030.00316.55
7.4.240.0000.00816.52
7.4.230.0070.00016.48
7.4.220.0190.00816.65
7.4.210.0060.01116.56
7.4.200.0000.00716.43
7.4.160.0070.01016.29
7.4.150.0130.00617.40
7.4.140.0110.00817.86
7.4.130.0090.00916.44
7.4.120.0090.00916.47
7.4.110.0040.01216.49
7.4.100.0110.01116.35
7.4.90.0090.00916.46
7.4.80.0070.01216.47
7.4.70.0060.00916.38
7.4.60.0100.00716.34
7.4.50.0030.00616.46
7.4.40.0060.01116.48
7.4.30.0120.00916.64
7.4.00.0050.01214.81
7.3.330.0030.00313.02
7.3.320.0020.00212.95
7.3.310.0030.00316.29
7.3.300.0000.00616.19
7.3.290.0030.00316.21
7.3.280.0100.00816.18
7.3.270.0070.01017.40
7.3.260.0070.01216.41
7.3.250.0110.00816.46
7.3.240.0050.01216.38
7.3.230.0080.00816.42
7.3.210.0100.00616.36
7.3.200.0060.01219.39
7.3.190.0130.01016.26
7.3.180.0030.01216.24
7.3.170.0080.01616.36
7.3.160.0060.01316.53
7.3.120.0110.00715.01
7.3.110.0110.00714.78
7.3.100.0030.00714.76
7.3.90.0000.01314.80
7.3.80.0060.01014.55
7.3.70.0110.00314.63
7.3.60.0030.01314.68
7.3.50.0040.00414.63
7.3.40.0060.00914.54
7.3.30.0030.00914.64
7.3.20.0000.01316.28
7.3.10.0060.01116.54
7.3.00.0050.00916.45
7.2.330.0170.00316.30
7.2.320.0120.01216.39
7.2.310.0060.01016.57
7.2.300.0090.00916.53
7.2.290.0160.00716.31
7.2.250.0060.01014.64
7.2.240.0070.01414.93
7.2.230.0060.00614.75
7.2.220.0070.00714.98
7.2.210.0090.00614.83
7.2.200.0110.00614.91
7.2.190.0030.00614.97
7.2.180.0070.00714.46
7.2.170.0060.00614.58
7.2.130.0100.00716.50
7.2.120.0100.00716.83
7.2.110.0090.00416.95
7.2.100.0090.00016.64
7.2.90.0100.00716.93
7.2.80.0070.00416.50
7.2.70.0110.00316.78
7.2.60.0060.00616.74
7.2.50.0090.00516.88
7.2.40.0080.00616.80
7.2.30.0000.00916.76
7.2.20.0130.00316.93
7.2.10.0070.00716.70
7.2.00.0070.00517.99
7.1.330.0040.01115.46
7.1.320.0030.01315.59
7.1.310.0030.00915.91
7.1.300.0030.01015.46
7.1.290.0070.00715.75
7.1.280.0060.00915.80
7.1.270.0090.00615.70
7.1.260.0070.00715.46
7.1.250.0060.00315.76
7.1.200.0120.00015.68
7.1.70.0050.00317.13
7.1.60.0030.01417.16
7.1.00.0030.07722.57
7.0.200.0070.00416.88
7.0.130.0030.06721.96
7.0.120.0070.07321.99
7.0.110.0170.07722.10
7.0.100.0030.07021.99
7.0.90.0100.05722.07
7.0.80.0200.05722.19
7.0.70.0170.05322.18
7.0.60.0070.05721.95
7.0.50.0070.07022.13
7.0.40.0070.06022.02
7.0.30.0130.05321.98
7.0.20.0130.06022.02
7.0.10.0100.06322.03
7.0.00.0100.07022.05
5.6.280.0070.06721.09
5.6.270.0130.07321.13
5.6.260.0170.04720.79
5.6.250.0170.05020.86
5.6.240.0030.07020.80
5.6.230.0100.07720.89
5.6.220.0170.04721.00
5.6.210.0100.05720.63
5.6.200.0130.08021.00
5.6.190.0100.05720.83
5.6.180.0100.07720.83
5.6.170.0230.05020.82
5.6.160.0100.07321.03
5.6.150.0170.06720.82
5.6.140.0100.07320.82
5.6.130.0100.05721.05
5.6.120.0030.06720.79
5.6.110.0230.06020.81
5.6.100.0270.04320.98
5.6.90.0130.05320.80
5.6.80.0100.05020.18
5.6.70.0000.06020.27
5.6.60.0170.04720.36
5.6.50.0200.05720.21
5.6.40.0130.06020.21
5.6.30.0030.07720.39
5.6.20.0030.06720.10
5.6.10.0100.04720.38
5.6.00.0100.05020.33

preferences:
66.69 ms | 401 KiB | 5 Q