3v4l.org

run code in 300+ PHP versions simultaneously
<?php include "php://filter/read=string.toupper/resource=/etc/passwd\0";

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.0090.01218.31
8.3.50.0060.01221.02
8.3.40.0070.00718.85
8.3.30.0070.00718.84
8.3.20.0040.00420.21
8.3.10.0060.00321.92
8.3.00.0050.00222.42
8.2.180.0140.00416.63
8.2.170.0100.01022.96
8.2.160.0070.01020.32
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0140.00026.16
8.2.120.0150.00019.38
8.2.110.0090.00020.52
8.2.100.0060.00617.91
8.2.90.0000.00719.09
8.2.80.0050.00319.34
8.2.70.0000.00817.50
8.2.60.0080.00017.93
8.2.50.0030.00618.07
8.2.40.0050.00218.16
8.2.30.0060.00318.04
8.2.20.0070.00017.49
8.2.10.0000.00717.54
8.2.00.0030.00617.61
8.1.280.0110.00425.92
8.1.270.0060.00320.27
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0040.00421.99
8.1.230.0070.00423.75
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0040.00417.17
8.1.180.0040.00419.89
8.1.170.0000.00818.57
8.1.160.0040.00422.11
8.1.150.0040.00418.53
8.1.140.0000.00717.39
8.1.130.0030.00517.75
8.1.120.0050.00217.30
8.1.110.0070.00017.34
8.1.100.0000.00717.25
8.1.90.0000.00717.33
8.1.80.0000.00717.29
8.1.70.0000.00717.19
8.1.60.0000.01017.56
8.1.50.0040.00417.43
8.1.40.0040.00417.49
8.1.30.0040.00417.58
8.1.20.0080.00017.46
8.1.10.0000.00817.48
8.1.00.0030.00717.27
8.0.300.0050.00218.77
8.0.290.0030.00317.05
8.0.280.0000.00618.43
8.0.270.0000.00817.24
8.0.260.0080.00016.91
8.0.250.0070.00016.99
8.0.240.0080.00016.88
8.0.230.0000.00716.95
8.0.220.0030.00316.97
8.0.210.0060.00016.83
8.0.200.0000.00616.93
8.0.190.0040.00417.07
8.0.180.0080.00016.87
8.0.170.0000.00816.87
8.0.160.0070.00016.91
8.0.150.0000.00716.85
8.0.140.0000.00816.89
8.0.130.0000.00613.32
8.0.120.0060.00316.91
8.0.110.0090.00016.82
8.0.100.0040.00417.00
8.0.90.0030.00316.97
8.0.80.0070.00716.98
8.0.70.0070.00016.75
8.0.60.0000.00717.00
8.0.50.0070.00016.81
8.0.30.0100.00917.07
8.0.20.0080.01417.40
8.0.10.0050.00217.03
8.0.00.0120.00516.63
7.4.330.0030.00315.00
7.4.320.0000.00616.48
7.4.300.0000.00916.46
7.4.290.0000.00716.64
7.4.280.0070.00016.52
7.4.270.0000.00716.35
7.4.260.0000.01016.46
7.4.250.0080.00016.58
7.4.240.0030.00416.51
7.4.230.0030.00316.57
7.4.220.0100.00916.49
7.4.210.0080.00616.59
7.4.200.0000.00716.38
7.4.190.0050.00216.66
7.4.160.0030.01316.31
7.4.150.0080.00817.40
7.4.140.0030.01417.86
7.4.130.0100.01016.46
7.4.120.0080.01016.39
7.4.110.0030.01416.52
7.4.100.0130.00516.26
7.4.90.0060.01116.50
7.4.80.0060.01019.39
7.4.70.0110.00616.40
7.4.60.0130.00316.50
7.4.50.0000.00816.35
7.4.40.0070.00722.77
7.4.30.0060.00916.45
7.4.00.0100.00615.01
7.3.330.0030.00312.89
7.3.320.0000.00612.92
7.3.310.0030.00316.18
7.3.300.0000.00716.24
7.3.290.0100.00316.25
7.3.280.0080.00716.19
7.3.270.0140.00317.40
7.3.260.0040.01316.38
7.3.250.0110.00616.35
7.3.240.0120.01216.24
7.3.230.0090.00916.39
7.3.210.0060.01216.44
7.3.200.0140.00719.39
7.3.190.0160.00316.30
7.3.180.0030.01616.11
7.3.170.0060.01116.27
7.3.160.0090.00916.42
7.3.120.0110.00314.64
7.2.330.0090.00916.36
7.2.320.0170.00016.36
7.2.310.0040.01616.50
7.2.300.0060.01016.54
7.2.290.0080.00816.23
7.1.70.0030.00717.11
7.1.60.0090.01519.50
7.1.50.0030.01716.77
7.1.00.0070.06722.48
7.0.200.0080.00016.70
7.0.140.0070.06722.01
7.0.60.0100.08720.00
7.0.50.0100.08017.86
7.0.40.0170.05319.96
7.0.30.0170.04320.30
7.0.20.0200.04020.42
7.0.10.0170.06020.23
7.0.00.0070.04020.00
5.6.280.0000.07321.03
5.6.210.0170.02720.50
5.6.200.0070.08018.11
5.6.190.0100.04320.32
5.6.180.4130.04020.77
5.6.170.0270.07020.50
5.6.160.0170.07320.61
5.6.150.0070.08018.19
5.6.140.0070.03718.22
5.6.130.0030.04318.18
5.6.120.0100.04320.96
5.6.110.0030.04020.99
5.6.100.0030.07320.98
5.6.90.0130.08021.07
5.6.80.0100.06020.36
5.6.70.0230.07020.49
5.5.350.0200.07320.39
5.5.340.0070.08018.02
5.5.330.0030.05320.56
5.5.320.0270.08020.21
5.5.310.0270.06020.29
5.5.300.0070.07717.86
5.5.290.0100.05317.94
5.5.280.0070.03720.75
5.5.270.0070.07720.75
5.5.260.0170.06320.76
5.5.250.0030.04020.57
5.5.240.0070.07720.13
5.4.450.0500.06719.39
5.4.440.0370.05319.38
5.4.430.0270.04719.45
5.4.420.0530.07019.45
5.4.410.0470.06719.30
5.4.400.0330.04019.14
5.4.390.0430.03318.77
5.4.380.0430.06319.23
5.4.370.0430.03719.13
5.4.360.0300.05019.09
5.4.350.0430.03319.16
5.4.340.0400.03718.93
5.4.320.0530.06719.16
5.4.310.0470.03319.10
5.4.300.0330.04018.80
5.4.290.0470.05719.23
5.4.280.0370.04019.05
5.4.270.0270.05019.08
5.4.260.0400.03318.80
5.4.250.0470.03019.14
5.4.240.0300.04319.12
5.4.230.0370.03719.21
5.4.220.0430.04719.05
5.4.210.0370.04019.23
5.4.200.0430.03019.09
5.4.190.0370.03718.91
5.4.180.0400.03318.80
5.4.170.0470.03319.24
5.4.160.0370.03719.04
5.4.150.0500.04319.11
5.4.140.0370.03716.38
5.4.130.0430.03016.25
5.4.120.0430.03016.25
5.4.110.0370.03316.47
5.4.100.0400.03316.47
5.4.90.0430.03016.07
5.4.80.0370.03316.34
5.4.70.0400.03016.41
5.4.60.0430.02716.41
5.4.50.0430.04316.33
5.4.40.0500.03716.36
5.4.30.0400.03316.45
5.4.20.0370.03316.36
5.4.10.0430.03016.55
5.4.00.0470.04015.72
5.3.290.0300.04314.51
5.3.280.0370.03714.43
5.3.270.0370.04014.55
5.3.260.0430.03314.55
5.3.250.0470.03014.61
5.3.240.0430.05014.62
5.3.230.0370.04014.54
5.3.220.0370.03314.41
5.3.210.0430.03014.40
5.3.200.0400.03314.42
5.3.190.0400.03314.45
5.3.180.0400.03314.65
5.3.170.0300.04314.39
5.3.160.0370.03714.54
5.3.150.0430.06314.39
5.3.140.0400.04314.45
5.3.130.0400.05014.49
5.3.120.0400.03314.42
5.3.110.0330.04014.49
5.3.100.0330.04013.89
5.3.90.0400.03313.86
5.3.80.0400.04313.89
5.3.70.0370.04714.11
5.3.60.0400.04313.86
5.3.50.0270.05013.84
5.3.40.0430.05013.89
5.3.30.0400.03314.01
5.3.20.0330.04013.59
5.3.10.0330.03713.68
5.3.00.0400.03013.48

preferences:
27.84 ms | 400 KiB | 5 Q