3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fdopen($id, $mode) { return fopen("/proc/self/fd/".(int)$id, $mode); } echo file_get_contents("php://fd/2");

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.00716.63
8.3.50.0100.00716.14
8.3.40.0070.00718.67
8.3.30.0160.00018.71
8.3.20.0050.00320.35
8.3.10.0050.00321.91
8.3.00.0040.00419.25
8.2.180.0090.00918.54
8.2.170.0090.00922.96
8.2.160.0030.01220.52
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00021.00
8.2.120.0080.00026.35
8.2.110.0100.00021.07
8.2.100.0040.00818.09
8.2.90.0040.00419.04
8.2.80.0000.00817.97
8.2.70.0040.00417.25
8.2.60.0040.00417.91
8.2.50.0050.00318.10
8.2.40.0030.00520.68
8.2.30.0080.00020.96
8.2.20.0040.00417.92
8.2.10.0000.00817.83
8.2.00.0040.00417.82
8.1.280.0040.01525.92
8.1.270.0040.00422.19
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.97
8.1.230.0080.00319.15
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0100.00017.23
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0040.00420.50
8.1.160.0000.00718.90
8.1.150.0050.00220.52
8.1.140.0030.00619.41
8.1.130.0040.00718.78
8.1.120.0090.00017.29
8.1.110.0030.00617.36
8.1.100.0040.00417.34
8.1.90.0050.00217.26
8.1.80.0040.00417.36
8.1.70.0040.00417.32
8.1.60.0000.00717.53
8.1.50.0040.00417.30
8.1.40.0000.00817.29
8.1.30.0050.00317.40
8.1.20.0000.00817.46
8.1.10.0040.00417.48
8.1.00.0000.00817.40
8.0.300.0040.00418.77
8.0.290.0040.00416.74
8.0.280.0070.00018.35
8.0.270.0030.00317.32
8.0.260.0000.00716.76
8.0.250.0000.00717.02
8.0.240.0030.00516.95
8.0.230.0040.00416.85
8.0.220.0060.00316.89
8.0.210.0000.00816.84
8.0.200.0030.00316.92
8.0.190.0000.00817.00
8.0.180.0040.00416.92
8.0.170.0040.00416.96
8.0.160.0020.00516.95
8.0.150.0030.00616.74
8.0.140.0030.00316.80
8.0.130.0040.00413.32
8.0.120.0040.00416.77
8.0.110.0050.00216.73
8.0.100.0040.00416.88
8.0.90.0040.00416.73
8.0.80.0120.00416.87
8.0.70.0000.00816.95
8.0.60.0050.00316.91
8.0.50.0000.00716.79
8.0.30.0110.00616.95
8.0.20.0070.01117.40
8.0.10.0040.00416.91
8.0.00.0100.01016.95
7.4.330.0020.00215.55
7.4.320.0070.00016.30
7.4.300.0030.00316.43
7.4.290.0030.00316.43
7.4.280.0040.00416.42
7.4.270.0000.00716.37
7.4.260.0030.00316.32
7.4.250.0030.00316.27
7.4.240.0050.00216.38
7.4.230.0050.00216.14
7.4.220.0080.01116.43
7.4.210.0080.00616.38
7.4.200.0030.00316.38
7.4.160.0100.00816.28
7.4.150.0090.00917.40
7.4.140.0120.00717.86
7.4.130.0060.01416.56
7.4.120.0120.01216.40
7.4.110.0100.00916.29
7.4.100.0070.01116.37
7.4.90.0160.00316.59
7.4.80.0050.01419.39
7.4.70.0120.00416.43
7.4.60.0130.00716.51
7.4.50.0070.00416.50
7.4.40.0040.01416.55
7.4.30.0140.00316.46
7.4.00.0080.00814.61
7.3.330.0030.00313.23
7.3.320.0050.00013.22
7.3.310.0070.00016.23
7.3.300.0030.00316.25
7.3.290.0070.00716.25
7.3.280.0090.00816.23
7.3.270.0110.00517.40
7.3.260.0060.01116.30
7.3.250.0130.00516.28
7.3.240.0100.01016.36
7.3.230.0160.00616.34
7.3.210.0120.00316.16
7.3.200.0060.01016.26
7.3.190.0030.01316.37
7.3.180.0040.01116.22
7.3.170.0150.00716.27
7.3.160.0100.00716.44
7.2.330.0100.00716.60
7.2.320.0140.00316.52
7.2.310.0030.01516.56
7.2.300.0090.00916.24
7.2.290.0100.00716.55
7.2.60.0030.01316.54
7.2.00.0350.00618.89
7.1.200.0100.00315.74
7.1.100.0060.00617.78
7.1.70.0060.00917.14
7.1.60.0180.01135.06
7.1.50.0130.01334.59
7.1.40.0190.00634.29
7.1.30.0160.01034.38
7.1.20.0190.00634.23
7.1.10.0030.00916.41
7.1.00.0030.01316.51
7.0.200.0080.00416.63
7.0.190.0070.01016.67
7.0.180.0060.00615.99
7.0.170.0030.01016.04
7.0.160.0070.00715.87
7.0.150.0040.00816.02
7.0.140.0040.00816.12
7.0.130.0050.00516.34
7.0.120.0000.01116.38
7.0.110.0000.01115.97
7.0.100.0090.00316.16
7.0.90.0030.00816.30
7.0.80.0000.01116.29
7.0.70.0080.00416.12
7.0.60.0060.00615.79
7.0.50.0040.00816.47
7.0.40.0060.00616.44
7.0.30.0050.00516.62
7.0.20.0050.00516.38
7.0.10.0030.00916.53
7.0.00.0000.01116.22

preferences:
30.81 ms | 400 KiB | 5 Q