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/1");

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.01416.63
8.3.50.0070.00716.26
8.3.40.0040.01118.84
8.3.30.0090.00618.43
8.3.20.0040.00420.31
8.3.10.0090.00021.77
8.3.00.0030.00619.38
8.2.180.0090.00618.17
8.2.170.0120.00622.96
8.2.160.0040.00921.97
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0080.00021.00
8.2.120.0030.00626.35
8.2.110.0000.01021.12
8.2.100.0060.00618.09
8.2.90.0000.00919.20
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0060.00317.91
8.2.50.0000.00818.10
8.2.40.0040.00420.59
8.2.30.0040.00420.86
8.2.20.0000.00717.87
8.2.10.0050.00217.82
8.2.00.0050.00217.79
8.1.280.0150.00625.92
8.1.270.0040.00422.04
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.79
8.1.230.0000.01119.04
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0000.00817.23
8.1.190.0000.00817.22
8.1.180.0030.00618.10
8.1.170.0060.00320.44
8.1.160.0030.00318.86
8.1.150.0070.00020.54
8.1.140.0000.00719.37
8.1.130.0080.00318.68
8.1.120.0060.00317.35
8.1.110.0060.00317.20
8.1.100.0040.00417.23
8.1.90.0040.00417.16
8.1.80.0070.00017.34
8.1.70.0000.00717.36
8.1.60.0000.00817.50
8.1.50.0070.00017.32
8.1.40.0040.00417.41
8.1.30.0000.00717.54
8.1.20.0000.01017.59
8.1.10.0050.00317.44
8.1.00.0000.00917.43
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0030.00318.46
8.0.270.0030.00317.16
8.0.260.0070.00016.93
8.0.250.0030.00316.86
8.0.240.0050.00316.90
8.0.230.0000.00816.97
8.0.220.0060.00316.89
8.0.210.0040.00416.89
8.0.200.0030.00316.84
8.0.190.0040.00416.98
8.0.180.0000.00716.90
8.0.170.0070.00016.90
8.0.160.0000.00816.90
8.0.150.0000.00816.73
8.0.140.0000.00716.87
8.0.130.0060.00013.38
8.0.120.0050.00316.84
8.0.110.0040.00416.76
8.0.100.0040.00416.75
8.0.90.0080.00016.94
8.0.80.0120.00816.94
8.0.70.0000.00716.92
8.0.60.0040.00416.78
8.0.50.0000.00716.80
8.0.30.0110.00616.86
8.0.20.0120.00817.40
8.0.10.0030.00316.94
8.0.00.0070.01016.65
7.4.330.0060.00015.55
7.4.320.0060.00016.37
7.4.300.0070.00016.46
7.4.290.0000.00716.39
7.4.280.0000.00816.38
7.4.270.0000.00716.40
7.4.260.0000.00716.32
7.4.250.0040.00416.45
7.4.240.0030.00316.38
7.4.230.0070.00016.56
7.4.220.0150.00416.34
7.4.210.0030.01016.59
7.4.200.0070.00016.29
7.4.160.0090.00616.39
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0120.00616.30
7.4.120.0110.00816.36
7.4.110.0070.01116.55
7.4.100.0060.01316.37
7.4.90.0030.01716.44
7.4.80.0130.00619.39
7.4.70.0080.00816.42
7.4.60.0110.00416.28
7.4.50.0070.01016.53
7.4.40.0060.01216.36
7.4.30.0030.01316.61
7.4.00.0040.01115.05
7.3.330.0030.00313.06
7.3.320.0030.00313.10
7.3.310.0060.00016.15
7.3.300.0030.00316.23
7.3.290.0040.01116.21
7.3.280.0090.01016.21
7.3.270.0070.01017.40
7.3.260.0140.00916.37
7.3.250.0130.00516.40
7.3.240.0120.00616.52
7.3.230.0070.01016.36
7.3.210.0100.00716.34
7.3.200.0120.00316.45
7.3.190.0140.00716.24
7.3.180.0100.00616.59
7.3.170.0040.01316.08
7.3.160.0100.00716.20
7.2.330.0100.00716.58
7.2.320.0070.01016.29
7.2.310.0120.00616.38
7.2.300.0100.00916.58
7.2.290.0070.01016.41
7.2.60.0050.00316.64
7.2.00.0030.00919.26
7.1.200.0030.00615.76
7.1.100.0040.00718.20
7.1.70.0060.00616.96
7.1.60.0150.00935.05
7.1.50.0160.01034.63
7.1.40.0140.01134.05
7.1.30.0140.01134.48
7.1.20.0130.01334.42
7.1.10.0060.00616.69
7.1.00.0030.00916.50
7.0.200.0040.00816.72
7.0.190.0040.00816.71
7.0.180.0060.00616.07
7.0.170.0000.01216.32
7.0.160.0030.00916.24
7.0.150.0000.01216.03
7.0.140.0000.01216.25
7.0.130.0000.01116.50
7.0.120.0040.00816.56
7.0.110.0040.00716.28
7.0.100.0060.00616.27
7.0.90.0060.00615.95
7.0.80.0060.00616.15
7.0.70.0060.00616.09
7.0.60.0060.00616.03
7.0.50.0060.00616.21
7.0.40.0040.00716.32
7.0.30.0050.00516.42
7.0.20.0060.00616.07
7.0.10.0000.01116.39
7.0.00.0060.00616.35

preferences:
40.03 ms | 401 KiB | 5 Q