3v4l.org

run code in 300+ PHP versions simultaneously
<?php $action = $_GET['action'] ?? 'none'; echo $action;

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.20.0100.01017.67
8.4.10.0070.01017.72
8.3.150.0090.00918.63
8.3.140.0110.00718.79
8.3.130.0060.00318.31
8.3.120.0000.00918.79
8.3.110.0080.00016.81
8.3.100.0090.00024.06
8.3.90.0040.00426.77
8.3.80.0030.00617.97
8.3.70.0040.01118.08
8.3.60.0110.01118.55
8.3.50.0160.00521.14
8.3.40.0070.00718.52
8.3.30.0110.01118.79
8.3.20.0040.00420.21
8.3.10.0000.00723.49
8.3.00.0050.00319.64
8.2.270.0140.00417.26
8.2.260.0040.00416.81
8.2.250.0070.00316.59
8.2.240.0030.01017.37
8.2.230.0060.00320.94
8.2.220.0050.00537.54
8.2.210.0030.00526.77
8.2.200.0140.00016.63
8.2.190.0090.00618.41
8.2.180.0040.01118.43
8.2.170.0110.00422.96
8.2.160.0070.00720.57
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.95
8.2.110.0030.00620.97
8.2.100.0110.00018.28
8.2.90.0000.00819.20
8.2.80.0080.00017.97
8.2.70.0080.00017.63
8.2.60.0000.00718.04
8.2.50.0000.00818.07
8.2.40.0040.00419.95
8.2.30.0000.00718.10
8.2.20.0030.00517.65
8.2.10.0040.00418.21
8.2.00.0050.00318.16
8.1.310.0000.00816.67
8.1.300.0120.00318.20
8.1.290.0080.00030.84
8.1.280.0110.00325.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00019.02
8.1.230.0040.00720.27
8.1.220.0000.00817.78
8.1.210.0050.00318.77
8.1.200.0000.00917.35
8.1.190.0040.00417.23
8.1.180.0060.00618.10
8.1.170.0050.00318.72
8.1.160.0000.00722.04
8.1.150.0000.00818.73
8.1.140.0000.00717.48
8.1.130.0080.00017.80
8.1.120.0040.00417.36
8.1.110.0000.00717.34
8.1.100.0040.00417.49
8.1.90.0070.00017.34
8.1.80.0040.00417.36
8.1.70.0000.00717.40
8.1.60.0050.00517.58
8.1.50.0000.00817.50
8.1.40.0000.00917.45
8.1.30.0040.00417.47
8.1.20.0080.00017.63
8.1.10.0080.00017.47
8.1.00.0040.00417.53
8.0.300.0040.00418.77
8.0.290.0030.00516.63
8.0.280.0000.00818.43
8.0.270.0030.00316.81
8.0.260.0030.00317.24
8.0.250.0000.00716.86
8.0.240.0000.00716.95
8.0.230.0000.00716.77
8.0.220.0030.00316.80
8.0.210.0070.00016.84
8.0.200.0030.00316.85
8.0.190.0000.00816.93
8.0.180.0040.00416.96
8.0.170.0040.00416.79
8.0.160.0030.00316.95
8.0.150.0080.00016.78
8.0.140.0030.00316.75
8.0.130.0030.00313.30
8.0.120.0040.00416.73
8.0.110.0000.00716.71
8.0.100.0070.00016.86
8.0.90.0030.00316.77
8.0.80.0060.00916.87
8.0.70.0050.00216.93
8.0.60.0000.00716.82
8.0.50.0000.00716.83
8.0.30.0090.01117.10
8.0.20.0140.01917.40
8.0.10.0030.00516.87
8.0.00.0080.01016.82
7.4.330.0000.00515.14
7.4.320.0030.00316.50
7.4.300.0030.00316.50
7.4.290.0070.00016.52
7.4.280.0090.00316.60
7.4.270.0070.00016.61
7.4.260.0000.00816.37
7.4.250.0000.00816.56
7.4.240.0040.00316.42
7.4.230.0000.00716.31
7.4.220.0070.01716.54
7.4.210.0110.00716.62
7.4.200.0070.00016.70
7.4.160.0070.00716.46
7.4.150.0060.01317.40
7.4.140.0150.01017.86
7.4.130.0080.01016.41
7.4.120.0060.01216.49
7.4.110.0160.00716.54
7.4.100.0090.01416.39
7.4.90.0140.00316.56
7.4.80.0130.01019.39
7.4.70.0070.01616.64
7.4.60.0090.00916.61
7.4.50.0020.00216.60
7.4.40.0130.00416.26
7.4.30.0100.00716.49
7.4.10.0040.01515.20
7.4.00.0070.01014.95
7.3.330.0060.00013.04
7.3.320.0000.00613.06
7.3.310.0070.00016.18
7.3.300.0030.00316.24
7.3.290.0080.00616.24
7.3.280.0070.00816.31
7.3.270.0150.00917.40
7.3.260.0100.01316.65
7.3.250.0100.00816.35
7.3.240.0080.00816.31
7.3.230.0090.01016.54
7.3.210.0070.01016.48
7.3.200.0060.01016.63
7.3.190.0090.00616.21
7.3.180.0040.01216.47
7.3.170.0090.00916.45
7.3.160.0030.01316.45
7.3.130.0060.01014.90
7.3.120.0000.01515.08
7.3.110.0040.01414.79
7.3.100.0030.01415.00
7.3.90.0090.00914.63
7.3.80.0090.00614.93
7.3.70.0060.00614.71
7.3.60.0100.00614.63
7.3.50.0090.00614.84
7.3.40.0040.00814.91
7.3.30.0070.00314.82
7.3.20.0100.01016.56
7.3.10.0000.01116.82
7.3.00.0070.00416.50
7.2.330.0150.00316.45
7.2.320.0080.00816.34
7.2.310.0090.01516.64
7.2.300.0060.01016.65
7.2.290.0070.01016.32
7.2.260.0070.01015.00
7.2.250.0140.00314.96
7.2.240.0060.00914.75
7.2.230.0030.00714.87
7.2.220.0030.01514.77
7.2.210.0080.00314.74
7.2.200.0080.00415.05
7.2.190.0110.00814.86
7.2.180.0090.00915.18
7.2.170.0000.01114.67
7.2.160.0100.00314.97
7.2.150.0070.01016.70
7.2.140.0030.01416.64
7.2.130.0030.01316.55
7.2.120.0040.01116.97
7.2.110.0100.00717.04
7.2.100.0100.00316.79
7.2.90.0120.00316.91
7.2.80.0030.01316.65
7.2.70.0030.01316.89
7.2.60.0050.00916.64
7.2.50.0100.00316.95
7.2.40.0030.00916.73
7.2.30.0070.00716.58
7.2.20.0040.01116.91
7.2.10.0040.00816.97
7.2.00.0050.00618.04
7.1.330.0060.00315.71
7.1.320.0030.01415.96
7.1.310.0030.00615.97
7.1.300.0090.00615.69
7.1.290.0000.00915.48
7.1.280.0070.00715.62
7.1.270.0040.00415.96
7.1.260.0130.00315.88
7.1.250.0030.01015.63
7.1.240.0070.00615.55
7.1.230.0120.00615.78
7.1.220.0030.01015.41
7.1.210.0060.00915.84
7.1.200.0050.00515.79
7.1.190.0080.00415.54
7.1.180.0030.00715.71
7.1.170.0110.00415.82
7.1.160.0070.00715.71
7.1.150.0100.00315.75
7.1.140.0040.00415.50
7.1.130.0040.00915.74
7.1.120.0060.00615.48
7.1.110.0060.00315.95
7.1.100.0030.00716.87
7.1.90.0070.00715.78
7.1.80.0000.00915.68
7.1.70.0050.00616.42
7.1.60.0110.00817.80
7.1.50.0080.01116.21
7.1.40.0060.00315.82
7.1.30.0070.01015.63
7.1.20.0080.01215.73
7.1.10.0070.01115.68
7.1.00.0060.04119.13
7.0.330.0060.00615.16
7.0.320.0040.00715.42
7.0.310.0060.00315.31
7.0.300.0000.01315.28
7.0.290.0000.00815.41
7.0.280.0040.00815.20
7.0.270.0000.00915.39
7.0.260.0070.01015.16
7.0.250.0070.00715.31
7.0.240.0030.01015.43
7.0.230.0090.00615.36
7.0.220.0060.00615.53
7.0.210.0080.00415.17
7.0.200.0060.00715.90
7.0.190.0130.00315.41
7.0.180.0030.00515.27
7.0.170.0090.00615.20
7.0.160.0000.01615.35
7.0.150.0060.00615.15
7.0.140.0120.00415.18
7.0.130.0100.00315.40
7.0.120.0060.00815.45
7.0.110.0000.01115.38
7.0.100.0060.00315.40
7.0.90.0080.00815.18
7.0.80.0070.00715.27
7.0.70.0030.01015.30
7.0.60.0070.04417.65
7.0.50.0080.04516.57
7.0.40.0070.04716.74
7.0.30.0150.02616.77
7.0.20.0200.03516.59
7.0.10.0070.04516.74
7.0.00.0050.04716.75
5.6.400.0040.01114.23
5.6.390.0060.00914.36
5.6.380.0070.00713.93
5.6.370.0070.00714.03
5.6.360.0060.00613.82
5.6.350.0000.01113.92
5.6.340.0080.00414.13
5.6.330.0070.00314.40
5.6.320.0060.00714.17
5.6.310.0000.01314.22
5.6.300.0090.00914.29
5.6.290.0030.01114.27
5.6.280.0080.03717.56
5.6.270.0070.00714.22
5.6.260.0110.00313.88
5.6.250.0110.00314.02
5.6.240.0040.01114.27
5.6.230.0060.00613.96
5.6.220.0030.00513.88
5.6.210.0070.02817.36
5.6.200.0070.03116.25
5.6.190.0090.02517.41
5.6.180.0110.02617.39
5.6.170.0180.04817.23
5.6.160.0080.02317.41
5.6.150.0070.02316.23
5.6.140.0040.03316.23
5.6.130.0030.04316.06
5.6.120.0070.03917.62
5.6.110.0070.04317.42
5.6.100.0050.03417.55
5.6.90.0050.04917.63
5.6.80.0050.02417.37
5.6.70.0060.00614.14
5.6.60.0090.00614.01
5.6.50.0040.00414.14
5.6.40.0030.00913.83
5.6.30.0050.00514.00
5.6.20.0040.00814.08
5.6.10.0030.01013.89
5.6.00.0030.00714.05
5.5.380.0070.00414.08
5.5.370.0070.00714.20
5.5.360.0040.00814.07
5.5.350.0030.04517.33
5.5.340.0050.04515.87
5.5.330.0020.03717.29
5.5.320.1430.02217.14
5.5.310.0130.03116.98
5.5.300.0040.04215.95
5.5.290.0030.03016.03
5.5.280.0050.03617.49
5.5.270.0080.03817.37
5.5.260.0070.04417.63
5.5.250.0100.04017.24
5.5.240.0070.04017.20
5.5.230.0060.00614.09
5.5.220.0070.00713.98
5.5.210.0070.00714.19
5.5.200.0000.01414.12
5.5.190.0030.01013.89
5.5.180.0070.01014.14
5.5.170.0030.01313.96
5.5.160.0030.01014.12
5.5.150.0000.01114.04
5.5.140.0040.00413.99
5.5.130.0000.01513.95
5.5.120.0040.00413.92
5.5.110.0060.00313.84
5.5.100.0040.00413.86
5.5.90.0060.00914.13
5.5.80.0030.00614.16
5.5.70.0060.00614.05
5.5.60.0040.01114.00
5.5.50.0070.00713.92
5.5.40.0000.01514.12
5.5.30.0030.00913.96
5.5.20.0130.00313.87
5.5.10.0100.00713.68
5.5.00.0080.00413.79
5.4.450.0280.03516.13
5.4.440.0400.02816.02
5.4.430.0120.02516.17
5.4.420.0100.03016.15
5.4.410.0090.03016.07
5.4.400.0100.02815.99
5.4.390.0080.02715.99
5.4.380.0030.03315.90
5.4.370.0070.03315.95
5.4.360.0090.02715.97
5.4.350.0070.03215.91
5.4.340.0170.01816.01
5.4.330.0060.00612.79
5.4.320.0090.02815.90
5.4.310.0100.03115.90
5.4.300.0050.03615.92
5.4.290.0020.03515.95
5.4.280.0050.03115.92
5.4.270.0030.03315.93
5.4.260.0080.02815.94
5.4.250.0080.03016.01
5.4.240.0100.03115.92
5.4.230.0120.02715.91
5.4.220.0090.03116.01
5.4.210.0050.03115.99
5.4.200.0090.02514.90
5.4.190.0070.02815.89
5.4.180.0120.02315.88
5.4.170.0080.03015.92
5.4.160.0070.02715.98
5.4.150.0070.02715.98
5.4.140.0050.03014.71
5.4.130.0100.02314.52
5.4.120.0090.02614.52
5.4.110.0080.02614.71
5.4.100.0070.02914.68
5.4.90.0080.02814.71
5.4.80.0030.03214.51
5.4.70.0050.03014.65
5.4.60.0090.02314.69
5.4.50.0030.03214.58
5.4.40.0060.02914.50
5.4.30.0080.02714.50
5.4.20.0110.02514.61
5.4.10.0070.02514.52
5.4.00.0050.02614.39
5.3.290.0030.05714.59
5.3.280.0100.06014.38
5.3.270.0030.06014.55
5.3.260.0130.05314.59
5.3.250.0070.05314.51
5.3.240.0170.04314.59
5.3.230.0070.05314.63
5.3.220.0170.04314.46
5.3.210.0130.06714.47
5.3.200.0100.04714.48
5.3.190.0030.05714.46
5.3.180.0070.05014.50
5.3.170.0070.05014.54
5.3.160.0100.04714.54
5.3.150.0100.05014.42
5.3.140.0170.04314.39
5.3.130.0100.06314.46
5.3.120.0100.05714.46
5.3.110.0170.04714.57
5.3.100.0030.05713.91
5.3.90.0100.05014.02
5.3.80.0070.05313.86
5.3.70.0100.05013.86
5.3.60.0130.04313.86
5.3.50.0030.06313.97
5.3.40.0030.05313.82
5.3.30.0070.05013.84
5.3.20.0070.05013.70
5.3.10.0070.05013.59
5.3.00.0200.04313.58
5.2.170.0100.04011.06
5.2.160.0030.04311.19
5.2.150.0030.04311.15
5.2.140.0070.04011.03
5.2.130.0030.04011.02
5.2.120.0030.04311.04
5.2.110.0030.04311.14
5.2.100.0030.04310.96
5.2.90.0100.03310.95
5.2.80.0070.04011.10
5.2.70.0100.04311.04
5.2.60.0030.04311.09
5.2.50.0170.03710.95
5.2.40.0100.03710.84
5.2.30.0130.04310.83
5.2.20.0000.04710.82
5.2.10.0070.04010.84
5.2.00.0200.03010.70
5.1.60.0070.0309.98
5.1.50.0070.0339.98
5.1.40.0100.0309.97
5.1.30.0000.04010.34
5.1.20.0100.03310.45
5.1.10.0000.04010.00
5.1.00.0000.04010.14
5.0.50.0070.0278.54
5.0.40.0070.0238.39
5.0.30.0000.0478.30
5.0.20.0030.0278.04
5.0.10.0000.0308.25
5.0.00.0030.0438.21
4.4.90.0030.0205.75
4.4.80.0030.0205.73
4.4.70.0000.0275.74
4.4.60.0000.0235.85
4.4.50.0000.0235.75
4.4.40.0030.0405.77
4.4.30.0030.0235.84
4.4.20.0070.0175.91
4.4.10.0100.0135.80
4.4.00.0000.0405.84
4.3.110.0000.0235.69
4.3.100.0030.0205.66
4.3.90.0070.0175.76
4.3.80.0070.0305.75
4.3.70.0030.0205.77
4.3.60.0000.0235.80
4.3.50.0100.0135.64
4.3.40.0030.0335.72
4.3.30.0070.0174.52
4.3.20.0030.0204.39
4.3.10.0030.0204.46
4.3.00.0130.0207.03

preferences:
56.09 ms | 403 KiB | 5 Q