3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = []; var_dump(false || $foo['bar'] ?? true); var_dump(false || ($foo['bar'] ?? true));

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.4.10.0030.00619.77
8.3.140.0040.00420.55
8.3.130.0060.00318.57
8.3.120.0030.00618.91
8.3.110.0030.00620.94
8.3.100.0000.00924.06
8.3.90.0120.00626.77
8.3.80.0060.00316.72
8.3.70.0150.00316.58
8.3.60.0150.00616.75
8.3.50.0210.00824.47
8.3.40.0140.00720.34
8.3.30.0090.01218.81
8.3.20.0080.00020.73
8.3.10.0120.00620.26
8.3.00.0080.00020.57
8.2.250.0130.00318.61
8.2.240.0070.00717.27
8.2.230.0060.00322.58
8.2.220.0080.00037.54
8.2.210.0050.00326.77
8.2.200.0080.00316.63
8.2.190.0110.00316.58
8.2.180.0100.01016.50
8.2.170.0090.00622.96
8.2.160.0030.01021.04
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0030.00521.11
8.2.110.0040.00819.21
8.2.100.0110.00017.79
8.2.90.0080.00018.28
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00817.50
8.2.50.0000.00818.05
8.2.40.0000.00718.03
8.2.30.0030.00618.13
8.2.20.0040.00417.98
8.2.10.0000.00819.22
8.2.00.0000.00719.29
8.1.300.0040.00418.31
8.1.290.0080.00330.84
8.1.280.0090.00625.92
8.1.270.0080.00020.65
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00023.97
8.1.230.0090.00320.90
8.1.220.0000.01017.74
8.1.210.0000.00818.80
8.1.200.0040.00417.53
8.1.190.0000.00817.25
8.1.180.0060.00318.10
8.1.170.0000.00817.62
8.1.160.0040.00422.09
8.1.150.0040.00418.88
8.1.140.0080.00018.80
8.1.130.0070.00017.45
8.1.120.0050.00217.46
8.1.110.0040.00417.35
8.1.100.0030.00617.31
8.1.90.0040.00317.34
8.1.80.0040.00417.52
8.1.70.0000.00717.48
8.1.60.0050.00317.48
8.1.50.0000.00717.56
8.1.40.0040.00417.42
8.1.30.0030.00617.58
8.1.20.0040.00417.47
8.1.10.0000.00717.51
8.1.00.0050.00217.50
8.0.300.0060.00320.04
8.0.290.0000.00916.88
8.0.280.0030.00318.34
8.0.270.0000.00718.00
8.0.260.0030.00316.80
8.0.250.0000.00716.97
8.0.240.0070.00016.99
8.0.230.0030.00316.89
8.0.220.0000.00616.81
8.0.210.0000.00816.83
8.0.200.0000.00717.00
8.0.190.0030.00516.91
8.0.180.0050.00317.02
8.0.170.0040.00417.00
8.0.160.0040.00417.02
8.0.150.0040.00416.91
8.0.140.0040.00316.80
8.0.130.0000.00513.44
8.0.120.0030.00516.91
8.0.110.0000.00716.85
8.0.100.0000.00716.83
8.0.90.0040.00416.90
8.0.80.0090.00616.98
8.0.70.0080.00016.96
8.0.60.0070.00016.85
8.0.50.0040.00416.86
8.0.30.0030.01317.02
8.0.20.0080.01017.19
8.0.10.0070.00016.95
8.0.00.0110.00716.56
7.4.330.0000.00515.55
7.4.320.0000.00616.54
7.4.300.0060.00016.65
7.4.290.0030.00416.44
7.4.280.0030.00516.61
7.4.270.0030.00316.50
7.4.260.0000.00513.28
7.4.250.0070.00016.54
7.4.240.0000.00716.43
7.4.230.0070.00016.49
7.4.220.0000.00716.63
7.4.210.0110.00416.62
7.4.200.0000.00716.59
7.4.130.0090.01016.43
7.4.120.0190.00616.39
7.4.110.0140.00416.58
7.4.100.0060.01616.71
7.4.90.0090.00916.36
7.4.80.0130.00319.39
7.4.70.0140.00316.50
7.4.60.0060.01016.48
7.4.50.0100.00316.39
7.4.40.0090.00716.41
7.4.30.0090.00616.33
7.4.20.0120.00316.46
7.4.10.0060.01016.41
7.4.00.0070.00916.48
7.3.330.0050.00216.32
7.3.320.0000.00513.00
7.3.310.0030.00316.30
7.3.300.0000.00716.25
7.3.290.0090.00716.30
7.3.260.0060.01316.30
7.3.240.0100.01016.33
7.3.230.0090.00816.43
7.3.210.0120.00816.34
7.3.200.0110.00716.42
7.3.190.0050.01316.34
7.3.180.0060.00916.20
7.3.170.0090.00916.34
7.3.160.0050.01116.26
7.3.150.0090.00816.32
7.3.140.0120.00316.14
7.3.130.0050.01116.26
7.3.120.0130.00316.18
7.3.110.0070.00816.29
7.3.100.0060.01016.34
7.3.90.0080.00816.13
7.3.80.0070.00816.20
7.3.70.0060.01016.20
7.3.60.0120.00316.24
7.3.50.0090.00616.29
7.3.40.0040.01116.31
7.3.30.0060.00916.33
7.3.20.0080.00917.24
7.3.10.0080.00917.18
7.3.00.0100.00617.19
7.2.330.0090.01216.61
7.2.320.0090.00916.66
7.2.310.0060.01616.47
7.2.300.0090.00916.71
7.2.290.0080.00816.63
7.2.280.0090.00716.62
7.2.270.0100.00516.49
7.2.260.0000.01616.42
7.2.250.0030.01316.25
7.2.240.0060.00916.57
7.2.230.0090.00716.27
7.2.220.0050.01116.41
7.2.210.0060.01116.42
7.2.200.0100.00716.45
7.2.190.0080.00916.39
7.2.180.0110.00816.39
7.2.170.0070.00916.45
7.2.160.0080.00816.43
7.2.150.0080.00917.33
7.2.140.0090.00817.46
7.2.130.0080.01017.43
7.2.120.0110.00717.46
7.2.110.0150.00217.37
7.2.100.0120.00817.48
7.2.90.0100.00817.28
7.2.80.0070.01417.43
7.2.70.0050.01417.38
7.2.60.0130.00817.39
7.2.50.0100.00617.22
7.2.40.0060.01217.33
7.2.30.0090.00817.45
7.2.20.0080.00817.25
7.2.10.0110.00617.28
7.2.00.0120.00917.38
7.1.330.0090.00617.37
7.1.320.0030.01217.40
7.1.310.0060.00917.33
7.1.300.0120.00317.43
7.1.290.0080.00717.38
7.1.280.0030.01217.48
7.1.270.0060.00917.14
7.1.260.0130.00317.50
7.1.250.0050.01217.31
7.1.240.0080.00817.24
7.1.230.0030.01217.37
7.1.220.0040.01217.35
7.1.210.0040.01217.44
7.1.200.0060.01017.36
7.1.190.0100.01017.41
7.1.180.0120.00617.34
7.1.170.0070.01117.42
7.1.160.0140.00017.37
7.1.150.0150.00317.35
7.1.140.0030.01417.36
7.1.130.0100.00717.30
7.1.120.0040.01217.39
7.1.110.0060.01517.37
7.1.100.0030.01217.27
7.1.90.0120.00417.22
7.1.80.0130.00317.34
7.1.70.0100.00617.45
7.1.60.0080.00817.39
7.1.50.0040.01117.28
7.1.40.0080.00617.33
7.1.30.0150.00017.28
7.1.20.0090.00617.32
7.1.10.0060.01017.49
7.1.00.0110.00417.37
7.0.330.0090.00616.94
7.0.320.0070.00716.93
7.0.310.0110.00716.75
7.0.300.0000.01416.77
7.0.290.0130.00316.96
7.0.280.0060.00916.95
7.0.270.0090.00616.89
7.0.260.0000.01816.85
7.0.250.0120.00316.90
7.0.240.0060.00916.88
7.0.230.0150.00416.98
7.0.220.0090.00616.90
7.0.210.0100.00616.96
7.0.200.0040.01217.10
7.0.190.0000.01417.08
7.0.180.0110.00317.11
7.0.170.0110.00516.92
7.0.160.0110.00316.96
7.0.150.0100.00416.85
7.0.140.0070.00716.96
7.0.130.0070.00716.94
7.0.120.0070.00716.84
7.0.110.0070.00816.87
7.0.100.0040.01116.77
7.0.90.0060.00916.99
7.0.80.0090.00616.98
7.0.70.0070.01016.91
7.0.60.0080.00816.86
7.0.50.0090.00616.96
7.0.40.0070.01016.82
7.0.30.0220.00916.83
7.0.20.0090.00516.88
7.0.10.0090.01216.95
7.0.00.0160.00316.82
5.6.400.0060.01115.50
5.6.390.0040.01315.52
5.6.380.0120.00615.79
5.6.370.0040.01415.91
5.6.360.0100.00615.40
5.6.350.0000.01615.94
5.6.340.0060.01115.70
5.6.330.0100.01015.63
5.6.320.0170.00015.68
5.6.310.0040.01415.82
5.6.300.0130.00315.51
5.6.290.0040.01215.57
5.6.280.0070.01015.89
5.6.270.0100.00715.85
5.6.260.0070.01015.57
5.6.250.0070.01015.72
5.6.240.0040.01315.84
5.6.230.0030.01315.63
5.6.220.0160.00315.66
5.6.210.0060.01215.52
5.6.200.0030.01415.52
5.6.190.0090.00915.65
5.6.180.0060.01215.61
5.6.170.0060.01715.65
5.6.160.0100.01015.45
5.6.150.0060.01615.61
5.6.140.0100.01315.49
5.6.130.0090.00915.79
5.6.120.0210.00015.54
5.6.110.0080.00815.64
5.6.100.0090.00915.50
5.6.90.0140.00415.48
5.6.80.0000.01615.52
5.6.70.0030.01515.47
5.6.60.0070.01015.54
5.6.50.0110.00715.51
5.6.40.0000.01615.50
5.6.30.0180.00715.43
5.6.20.0060.01015.34
5.6.10.0070.01015.58
5.6.00.0070.01015.57
5.5.380.0170.01215.52
5.5.370.0220.00715.62
5.5.360.0190.00815.43
5.5.350.0220.00615.57
5.5.340.0150.01415.57
5.5.330.0200.01215.54
5.5.320.0290.00315.35
5.5.310.0160.01615.47
5.5.300.0180.01515.38
5.5.290.0280.00715.60
5.5.280.0170.01015.33
5.5.270.0170.01015.59
5.5.260.0230.00815.31
5.5.250.0250.00715.45
5.5.240.0120.01515.48
5.5.230.0150.01615.27
5.5.220.0170.01315.60
5.5.210.0200.00815.60
5.5.200.0160.01215.51
5.5.190.0230.00615.59
5.5.180.0180.00815.46
5.5.170.0170.01115.41
5.5.160.0220.00515.34
5.5.150.0230.00615.48
5.5.140.0200.00615.53
5.5.130.0100.01615.40
5.5.120.0110.01415.64
5.5.110.0140.01115.58
5.5.100.0160.01115.25
5.5.90.0120.01215.57
5.5.80.0110.01215.28
5.5.70.0130.01315.45
5.5.60.0100.01315.34
5.5.50.0150.01015.45
5.5.40.0080.01515.53
5.5.30.0140.00915.36
5.5.20.0190.01315.36
5.5.10.0220.01115.31
5.5.00.0170.00615.25
5.4.450.0160.00412.33
5.4.440.0130.00812.45
5.4.430.0190.00312.56
5.4.420.0220.00012.57
5.4.410.0170.00612.54
5.4.400.0150.00612.34
5.4.390.0230.00312.54
5.4.380.0190.00312.22
5.4.370.0100.01012.35
5.4.360.0150.01012.39
5.4.350.0150.00612.33
5.4.340.0130.00712.37
5.4.330.0160.00412.29
5.4.320.0160.00712.40
5.4.310.0160.00312.50
5.4.300.0090.00912.11
5.4.290.0150.00412.22
5.4.280.0120.00812.20
5.4.270.0110.00812.52
5.4.260.0100.01012.24
5.4.250.0070.01112.24
5.4.240.0160.00712.45
5.4.230.0170.00612.22
5.4.220.0090.00912.34
5.4.210.0160.00312.18
5.4.200.0100.00712.33
5.4.190.0160.00412.27
5.4.180.0070.01112.17
5.4.170.0090.01212.47
5.4.160.0120.00312.37
5.4.150.0120.00612.09
5.4.140.0100.00712.32
5.4.130.0140.00312.25
5.4.120.0220.00212.15
5.4.110.0100.00712.38
5.4.100.0040.01112.43
5.4.90.0130.00412.20
5.4.80.0080.01212.50
5.4.70.0100.00712.21
5.4.60.0090.00912.24
5.4.50.0130.00512.26
5.4.40.0100.01012.19
5.4.30.0170.00612.30
5.4.20.0120.01212.31
5.4.10.0090.00912.41
5.4.00.0150.00312.26
5.3.290.0150.00812.67
5.3.280.0110.00812.48
5.3.270.0200.00312.76
5.3.260.0120.00612.68
5.3.250.0140.01112.59
5.3.240.0180.00712.63
5.3.230.0160.00812.57
5.3.220.0100.01312.47
5.3.210.0130.00312.55
5.3.200.0100.00812.70
5.3.190.0080.01312.77
5.3.180.0190.00812.84
5.3.170.0030.01612.71
5.3.160.0120.00913.02
5.3.150.0100.01412.77
5.3.140.0180.00412.74
5.3.130.0140.01412.77
5.3.120.0120.01212.62
5.3.110.0110.01112.70
5.3.100.0150.00612.81
5.3.90.0150.00712.82
5.3.80.0160.00512.80
5.3.70.0060.01312.76
5.3.60.0150.01112.58
5.3.50.0120.01612.52
5.3.40.0190.00612.60
5.3.30.0130.01312.55
5.3.20.0190.01012.83
5.3.10.0200.02312.54
5.3.00.0060.01312.39
5.2.170.0190.00511.71
5.2.160.0170.00611.78
5.2.150.0160.00511.81
5.2.140.0170.00711.72
5.2.130.0140.00911.81
5.2.120.0160.00611.71
5.2.110.0120.00611.75
5.2.100.0090.00911.72
5.2.90.0160.00611.78
5.2.80.0160.00811.71
5.2.70.0160.00611.71
5.2.60.0110.00711.71
5.2.50.0150.00511.71
5.2.40.0070.01111.71
5.2.30.0080.00811.71
5.2.20.0140.00411.71
5.2.10.0090.00911.71
5.2.00.0180.00611.71
5.1.60.0120.00611.71
5.1.50.0140.00611.71
5.1.40.0190.01511.71
5.1.30.0100.00711.71
5.1.20.0070.00711.71
5.1.10.0050.00911.71
5.1.00.0110.00511.71
5.0.50.0040.00711.71
5.0.40.0040.00811.71
5.0.30.0100.00411.71
5.0.20.0040.00811.71
5.0.10.0060.00511.71
5.0.00.0060.00611.71
4.4.90.0080.00311.71
4.4.80.0100.00011.71
4.4.70.0050.00311.71
4.4.60.0000.00811.71
4.4.50.0040.00411.71
4.4.40.0030.00311.71
4.4.30.0030.00311.71
4.4.20.0000.00711.71
4.4.10.0080.00011.71
4.4.00.0040.00211.71
4.3.110.0030.00311.71
4.3.100.0040.00411.71
4.3.90.0030.00311.71
4.3.80.0040.00411.71
4.3.70.0060.00311.71
4.3.60.0090.00011.71
4.3.50.0050.00511.71
4.3.40.0030.00611.71
4.3.30.0030.00711.71
4.3.20.0040.00411.71
4.3.10.0070.00011.71
4.3.00.0050.00311.71

preferences:
24.98 ms | 403 KiB | 5 Q