3v4l.org

run code in 300+ PHP versions simultaneously
<?php $r = !is_null( $surf = null ) ? 'dafuq' : ($surfCalcul = null) ? $surfCalcul : 'KO'; print_r($r);

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.0030.01716.61
8.3.50.0100.00817.43
8.3.40.0140.00318.54
8.3.30.0120.00318.49
8.3.20.0060.00318.45
8.3.10.0050.00320.41
8.3.00.0080.00019.26
8.2.180.0070.00716.38
8.2.170.0140.00722.96
8.2.160.0130.00020.58
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.01026.16
8.2.120.0090.00417.50
8.2.110.0000.01020.80
8.2.100.0000.01117.78
8.2.90.0030.00620.77
8.2.80.0040.00417.91
8.2.70.0000.00817.38
8.2.60.0030.00617.80
8.2.50.0050.00318.07
8.2.40.0000.00817.91
8.2.30.0070.00318.01
8.2.20.0040.00417.52
8.2.10.0000.00717.53
8.2.00.0100.00017.44
8.1.280.0140.00325.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0060.01028.09
8.1.240.0040.00422.47
8.1.230.0040.00820.97
8.1.220.0040.00417.74
8.1.210.0080.00018.90
8.1.200.0060.00317.10
8.1.190.0000.00717.28
8.1.180.0060.00318.10
8.1.170.0070.00018.71
8.1.160.0000.00818.75
8.1.150.0040.00418.41
8.1.140.0050.00317.23
8.1.130.0000.00717.71
8.1.120.0040.00417.27
8.1.110.0040.00417.21
8.1.100.0000.00717.33
8.1.90.0000.01117.33
8.1.80.0020.00517.30
8.1.70.0000.00717.22
8.1.60.0030.00617.33
8.1.50.0040.00417.29
8.1.40.0040.00417.37
8.1.30.0050.00217.48
8.1.20.0030.00617.46
8.1.10.0040.00417.32
8.1.00.0000.00717.26
8.0.300.0070.00019.76
8.0.290.0040.00416.63
8.0.280.0070.00018.26
8.0.270.0000.00717.11
8.0.260.0030.00316.74
8.0.250.0000.00816.93
8.0.240.0040.00416.88
8.0.230.0050.00216.87
8.0.220.0070.00016.70
8.0.210.0030.00316.88
8.0.200.0030.00316.81
8.0.190.0030.00316.86
8.0.180.0000.00816.73
8.0.170.0090.00016.78
8.0.160.0040.00416.82
8.0.150.0080.00016.73
8.0.140.0050.00316.77
8.0.130.0000.00513.30
8.0.120.0040.00416.79
8.0.110.0050.00316.68
8.0.100.0000.00816.64
8.0.90.0000.00716.81
8.0.80.0040.01116.78
8.0.70.0000.00716.82
8.0.60.0040.00416.82
8.0.50.0040.00416.86
8.0.30.0110.01016.94
8.0.20.0160.00317.10
8.0.10.0020.00516.89
8.0.00.0120.01316.56
7.4.330.0000.00512.96
7.4.320.0060.00016.67
7.4.300.0030.00316.54
7.4.290.0030.00316.60
7.4.280.0050.00316.44
7.4.270.0050.00316.58
7.4.260.0050.00013.19
7.4.250.0080.00016.55
7.4.240.0000.00716.41
7.4.230.0070.00016.42
7.4.220.0110.00716.49
7.4.210.0060.00916.51
7.4.200.0030.00316.55
7.4.190.0030.00316.24
7.4.160.0150.00016.39
7.4.150.0150.00316.49
7.4.140.0100.01016.47
7.4.130.0100.00716.54
7.4.120.0080.00916.48
7.4.110.0080.00816.58
7.4.100.0030.01316.69
7.4.90.0170.00416.49
7.4.80.0100.00819.39
7.4.70.0090.01216.47
7.4.60.0050.01516.41
7.4.50.0000.00716.45
7.4.40.0040.01116.46
7.4.30.0140.00616.51
7.4.00.0060.00614.83
7.3.330.0030.00313.06
7.3.320.0050.00012.99
7.3.310.0000.00816.05
7.3.300.0030.00316.04
7.3.290.0070.00716.14
7.3.280.0070.00816.13
7.3.270.0180.00016.56
7.3.260.0070.01016.22
7.3.250.0110.00816.19
7.3.240.0000.01515.91
7.3.230.0030.01316.07
7.3.210.0090.00916.02
7.3.200.0100.01016.14
7.3.190.0040.01816.01
7.3.180.0090.00916.17
7.3.170.0130.00316.32
7.3.160.0090.00616.28
7.3.120.0030.01214.68
7.2.330.0110.00816.34
7.2.320.0070.01616.59
7.2.310.0080.01116.42
7.2.300.0060.01316.64
7.2.290.0140.01016.61
7.2.00.0000.01719.50
7.1.200.0000.01115.49
7.1.100.0060.00618.14
7.1.70.0030.00617.04
7.1.60.0030.02119.40
7.1.50.0070.01316.85
7.1.00.0100.07022.43
7.0.200.0230.01014.57
7.0.140.0030.07322.15
7.0.120.0070.07022.18
7.0.110.0030.06019.98
7.0.100.0000.04719.97
7.0.90.0370.03319.84
7.0.80.0370.04319.90
7.0.70.0430.04319.89
7.0.60.0470.04020.00
7.0.50.0400.03720.07
7.0.40.0070.03019.74
7.0.30.0070.06719.76
7.0.20.0070.05319.82
7.0.10.0070.08319.69
7.0.00.0100.07319.88
5.6.260.0030.04320.66
5.6.250.0070.04020.50
5.6.240.0070.04020.56
5.6.230.0070.06720.70
5.6.220.0070.03720.66
5.6.210.0130.03320.64
5.6.200.0070.03320.57
5.6.190.0000.04720.56
5.6.180.0000.05320.46
5.6.170.0130.07320.70
5.6.160.0070.07720.70
5.6.150.0100.03020.85
5.6.140.0100.03720.58
5.6.130.0030.07720.61
5.6.120.0000.04320.60
5.6.110.0100.06020.45
5.6.100.0130.03720.59
5.6.90.0100.04320.61
5.6.80.0030.04020.07
5.6.70.0030.04020.02
5.6.60.0030.04320.01
5.6.50.0030.03320.07
5.6.40.0030.04020.00
5.6.30.0030.04020.03
5.6.20.0030.05320.07
5.6.10.0000.04719.87
5.6.00.0130.03020.20
5.5.380.0100.03317.54
5.5.370.0000.05717.46
5.5.360.0000.03717.57
5.5.350.0070.03717.42
5.5.340.0130.04317.77
5.5.330.0000.06018.16
5.5.320.0030.06317.87
5.5.310.0130.06017.84
5.5.300.0070.07017.86
5.5.290.0100.05318.12
5.5.280.0000.04718.00
5.5.270.0030.08718.12
5.5.260.0100.05317.82
5.5.250.0030.04317.68
5.5.240.0030.04017.25
5.5.230.0070.03017.36
5.5.220.0030.03717.63
5.5.210.0070.03717.27
5.5.200.0000.03717.38
5.5.190.0000.04017.20
5.5.180.0030.03717.19
5.5.160.0070.07317.11
5.5.150.0030.04017.23
5.5.140.0000.08017.60
5.5.130.0070.03017.60
5.5.120.0070.05317.19
5.5.110.0100.03317.59
5.5.100.0030.04017.41
5.5.90.0070.03717.41
5.5.80.0000.03317.23
5.5.70.0100.07317.09
5.5.60.0000.07017.27
5.5.50.0070.02717.13
5.5.40.0030.03717.10
5.5.30.0030.03717.10
5.5.20.0000.04017.34
5.5.10.0030.03317.36
5.5.00.0030.03317.11
5.4.450.0000.03719.33
5.4.440.0030.05019.47
5.4.430.0000.05319.32
5.4.420.0030.04019.50
5.4.410.0070.05319.37
5.4.400.0030.03719.03
5.4.390.0000.04019.00
5.4.380.0130.06319.11
5.4.370.0030.06318.95
5.4.360.0030.03718.93
5.4.350.0000.04019.00
5.4.340.0070.03019.03
5.4.320.0070.03719.18
5.4.310.0000.06019.18
5.4.300.0130.06719.02
5.4.290.0070.06719.07
5.4.280.0030.04019.07
5.4.270.0070.07319.12
5.4.260.0070.03019.27
5.4.250.0070.07019.07
5.4.240.0030.07319.09
5.4.230.0030.04019.00
5.4.220.0030.03719.11
5.4.210.0130.06319.24
5.4.200.0000.03319.02
5.4.190.0070.03318.90
5.4.180.0070.07319.07
5.4.170.0130.04019.24
5.4.160.0000.04018.91
5.4.150.0030.03719.09
5.4.140.0070.03316.18
5.4.130.0100.02716.48
5.4.120.0000.03716.54
5.4.110.0030.03016.41
5.4.100.0100.02316.18
5.4.90.0000.03016.40
5.4.80.0100.02016.17
5.4.70.0000.03016.48
5.4.60.0030.03316.50
5.4.50.0000.03016.21
5.4.40.0070.02716.55
5.4.30.0070.03016.49
5.4.20.0000.04016.34
5.4.10.0030.03016.25
5.4.00.0000.04015.97
5.3.290.0030.06014.56
5.3.280.0070.03014.38
5.3.270.0030.03314.68
5.3.260.0030.04014.53
5.3.250.0000.04014.66
5.3.240.0070.02714.63
5.3.230.0000.04014.52
5.3.220.0030.03714.49
5.3.210.0030.03714.64
5.3.200.0000.03314.46
5.3.190.0070.04314.50
5.3.180.0000.03314.62
5.3.170.0070.02714.62
5.3.160.0100.03014.44
5.3.150.0100.05014.62
5.3.140.0030.04714.38
5.3.130.0030.03714.61
5.3.120.0000.03714.54
5.3.110.0000.03314.40
5.3.100.0070.02713.98
5.3.90.0030.03313.88
5.3.80.0030.03313.86
5.3.70.0100.02313.95
5.3.60.0070.03013.93
5.3.50.0000.03713.80
5.3.40.0030.03013.82
5.3.30.0000.03013.84
5.3.20.0130.02713.59
5.3.10.0000.03013.72
5.3.00.0070.02713.65
5.2.170.0030.02311.93
5.2.160.0100.01711.93
5.2.150.0030.02311.93
5.2.140.0000.02711.93
5.2.130.0000.02711.93
5.2.120.0070.02011.93
5.2.110.0030.02311.93
5.2.100.0030.02311.93
5.2.90.0000.02711.93
5.2.80.0070.02711.93
5.2.70.0000.03311.93
5.2.60.0000.03011.93
5.2.50.0000.03311.93
5.2.40.0070.02011.93
5.2.30.0030.02311.93
5.2.20.0000.02711.93
5.2.10.0000.02311.93
5.2.00.0070.02011.93
5.1.60.0000.02011.93
5.1.50.0070.02311.93
5.1.40.0000.02311.93
5.1.30.0030.02011.93
5.1.20.0000.02711.93
5.1.10.0000.02311.93
5.1.00.0000.02311.93
5.0.50.0030.01711.93
5.0.40.0030.01711.93
5.0.30.0000.02711.93
5.0.20.0030.01311.93
5.0.10.0030.01711.93
5.0.00.0070.02311.93
4.4.90.0000.01311.93
4.4.80.0000.01311.93
4.4.70.0030.01311.93
4.4.60.0070.00711.93
4.4.50.0030.01311.93
4.4.40.0030.02311.93
4.4.30.0030.01011.93
4.4.20.0000.01711.93
4.4.10.0030.01011.93
4.4.00.0000.02311.93
4.3.110.0000.01711.93
4.3.100.0000.01311.93
4.3.90.0000.01711.93
4.3.80.0030.02011.93
4.3.70.0000.01311.93
4.3.60.0000.02011.93
4.3.50.0000.01311.93
4.3.40.0000.02311.93
4.3.30.0000.01311.93
4.3.20.0070.02311.93
4.3.10.0000.02311.93
4.3.00.0000.02311.93

preferences:
41.06 ms | 401 KiB | 5 Q