3v4l.org

run code in 300+ PHP versions simultaneously
<?php include "php://filter/read=string.toupper/resource=file:///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.0070.00718.68
8.3.50.0090.00921.14
8.3.40.0170.00318.71
8.3.30.0100.00319.07
8.3.20.0040.00420.21
8.3.10.0090.00021.92
8.3.00.0050.00222.46
8.2.180.0090.00616.75
8.2.170.0110.01122.96
8.2.160.0160.00020.57
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00719.66
8.2.110.0060.00322.08
8.2.100.0070.00419.33
8.2.90.0080.00019.04
8.2.80.0040.00419.38
8.2.70.0080.00017.63
8.2.60.0040.00417.68
8.2.50.0030.00618.07
8.2.40.0000.00818.09
8.2.30.0030.00618.04
8.2.20.0040.00417.58
8.2.10.0080.00017.54
8.2.00.0100.00017.60
8.1.280.0040.01125.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00623.83
8.1.230.0090.00319.17
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0030.00617.13
8.1.190.0000.00717.18
8.1.180.0000.00818.50
8.1.170.0050.00318.70
8.1.160.0030.00322.02
8.1.150.0040.00418.63
8.1.140.0070.00017.37
8.1.130.0030.00617.70
8.1.120.0000.00717.29
8.1.110.0070.00017.35
8.1.100.0000.00717.38
8.1.90.0000.00717.45
8.1.80.0050.00317.38
8.1.70.0030.00317.34
8.1.60.0090.00317.48
8.1.50.0040.00417.36
8.1.40.0000.00717.38
8.1.30.0080.00017.49
8.1.20.0000.00917.52
8.1.10.0030.00617.36
8.1.00.0080.00417.24
8.0.300.0000.00818.77
8.0.290.0000.00817.18
8.0.280.0070.00018.30
8.0.270.0000.00717.09
8.0.260.0060.00316.80
8.0.250.0070.00016.91
8.0.240.0040.00417.06
8.0.230.0020.00517.00
8.0.220.0000.00716.87
8.0.210.0000.00716.97
8.0.200.0030.00316.89
8.0.190.0080.00016.92
8.0.180.0040.00416.89
8.0.170.0040.00416.92
8.0.160.0040.00416.93
8.0.150.0030.00316.90
8.0.140.0080.00016.87
8.0.130.0030.00313.30
8.0.120.0040.00416.78
8.0.110.0040.00416.93
8.0.100.0040.00416.97
8.0.90.0040.00416.80
8.0.80.0080.00816.90
8.0.70.0070.00016.79
8.0.60.0070.00016.84
8.0.50.0000.00816.98
8.0.30.0130.01016.93
8.0.20.0080.01217.40
8.0.10.0070.00016.88
8.0.00.0110.00616.59
7.4.330.0030.00315.02
7.4.320.0070.00016.58
7.4.300.0030.00316.61
7.4.290.0070.00016.47
7.4.280.0030.00316.48
7.4.270.0070.00016.43
7.4.260.0000.00916.37
7.4.250.0000.00816.59
7.4.240.0000.00716.55
7.4.230.0030.00316.48
7.4.220.0100.01716.69
7.4.210.0080.00616.53
7.4.200.0030.00316.69
7.4.190.0040.00416.64
7.4.160.0100.00716.21
7.4.150.0100.00717.40
7.4.140.0100.01017.86
7.4.130.0120.00616.38
7.4.120.0090.00816.54
7.4.110.0040.01416.63
7.4.100.0110.00616.47
7.4.90.0040.01516.59
7.4.80.0120.00619.39
7.4.70.0100.00716.61
7.4.60.0030.01216.56
7.4.50.0000.00716.46
7.4.40.0030.01222.77
7.4.30.0060.00916.70
7.4.00.0030.01214.82
7.3.330.0000.00512.92
7.3.320.0050.00012.91
7.3.310.0060.00316.14
7.3.300.0060.00016.23
7.3.290.0140.00716.14
7.3.280.0080.00916.16
7.3.270.0070.01117.40
7.3.260.0090.00916.19
7.3.250.0070.00916.39
7.3.240.0140.00316.15
7.3.230.0120.01516.39
7.3.210.0030.01316.20
7.3.200.0150.00819.39
7.3.190.0070.01416.16
7.3.180.0100.00616.30
7.3.170.0100.00716.34
7.3.160.0060.00916.37
7.3.120.0040.01114.76
7.2.330.0070.01016.37
7.2.320.0090.00916.49
7.2.310.0070.01116.60
7.2.300.0040.01216.53
7.2.290.0100.00716.68
7.1.70.0030.00916.97
7.1.60.0140.01019.50
7.1.50.0070.01516.86
7.1.00.0100.05722.29
7.0.200.0000.00716.34
7.0.140.0030.07321.96
7.0.60.0070.04720.05
7.0.50.0100.07717.87
7.0.40.0070.04020.39
7.0.30.0330.06720.09
7.0.20.0200.05020.17
7.0.10.0030.05320.01
7.0.00.0030.06320.16
5.6.280.0070.06721.12
5.6.210.0030.07320.70
5.6.200.0070.07718.09
5.6.190.0030.08720.57
5.6.180.0470.06720.39
5.6.170.0270.06320.41
5.6.160.0130.07720.41
5.6.150.0000.04318.12
5.6.140.0030.04018.11
5.6.130.0030.06018.21
5.6.120.0030.06320.99
5.6.110.0070.05020.99
5.6.100.0070.06020.94
5.6.90.0130.04721.13
5.6.80.0130.03320.50
5.5.350.0270.07720.36
5.5.340.0030.09017.89
5.5.330.0130.05320.29
5.5.320.0400.07320.24
5.5.310.0270.07020.41
5.5.300.0100.05017.98
5.5.290.0100.08318.02
5.5.280.0070.08720.80
5.5.270.0030.04720.82
5.5.260.0100.08020.86
5.5.250.0030.04320.77
5.5.240.0000.03320.03
5.4.450.0470.06019.35
5.4.440.0870.09019.44
5.4.430.0770.05319.59
5.4.420.0800.05319.23
5.4.410.0900.06719.45
5.4.400.1100.05319.14
5.4.390.1000.06319.15
5.4.380.0300.05318.46
5.4.370.0030.06318.44
5.4.360.0170.04718.74
5.4.350.0070.04311.97
5.4.340.0110.03411.97
5.4.320.0070.03612.45
5.4.310.0100.05312.45
5.4.300.0040.03812.45
5.4.290.0070.03612.45
5.4.280.0070.05412.32
5.4.270.0080.05612.32
5.4.260.0120.05212.32
5.4.250.0090.04312.33
5.4.240.0100.04112.33
5.4.230.0080.05012.32
5.4.220.0090.04312.32
5.4.210.0070.04312.32
5.4.200.0080.04512.32
5.4.190.0090.04912.32
5.4.180.0110.04512.31
5.4.170.0050.04812.33
5.4.160.0110.04212.32
5.4.150.0090.04312.32
5.4.140.0070.04712.00
5.4.130.0070.04111.99
5.4.120.0070.04211.95
5.4.110.0100.04511.95
5.4.100.0110.03911.94
5.4.90.0090.04311.94
5.4.80.0080.04711.95
5.4.70.0080.05111.94
5.4.60.0080.04311.94
5.4.50.0050.04111.94
5.4.40.0070.03511.93
5.4.30.0070.04111.93
5.4.20.0070.04311.93
5.4.10.0090.03911.93
5.4.00.0090.03711.42
5.3.290.0060.04712.80
5.3.280.0130.06112.71
5.3.270.0080.04312.72
5.3.260.0050.04112.72
5.3.250.0100.03812.72
5.3.240.0090.03912.72
5.3.230.0080.03812.71
5.3.220.0070.03812.68
5.3.210.0080.04212.68
5.3.200.0100.03512.68
5.3.190.0070.03812.68
5.3.180.0080.04212.67
5.3.170.0100.05312.67
5.3.160.0090.05012.67
5.3.150.0100.04512.67
5.3.140.0100.04512.66
5.3.130.0090.04712.66
5.3.120.0100.04312.66
5.3.110.0090.03912.66
5.3.100.0080.04212.12
5.3.90.0100.04212.08
5.3.80.0100.04312.07
5.3.70.0070.04512.08
5.3.60.0070.04212.06
5.3.50.0070.04312.00
5.3.40.0100.04212.00
5.3.30.0120.04311.95
5.3.20.0060.04111.72
5.3.10.0100.04911.69
5.3.00.0090.04611.67

preferences:
36.23 ms | 401 KiB | 5 Q