3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fopen('php://temp', 'r'); var_dump( $fp, var_export($fp, true) );

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.0130.00918.43
8.3.50.0160.00015.98
8.3.40.0070.00718.65
8.3.30.0040.01118.59
8.3.20.0080.00018.90
8.3.10.0050.00221.78
8.3.00.0050.00223.53
8.2.180.0230.00616.50
8.2.170.0070.01122.96
8.2.160.0060.01018.96
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0020.00521.03
8.2.110.0090.00919.37
8.2.100.0080.00317.78
8.2.90.0000.00818.16
8.2.80.0060.00317.97
8.2.70.0050.00317.50
8.2.60.0000.00917.80
8.2.50.0020.00518.10
8.2.40.0000.00819.26
8.2.30.0040.00419.08
8.2.20.0040.00417.91
8.2.10.0000.00717.98
8.2.00.0030.00319.22
8.1.280.0110.00425.92
8.1.270.0040.00422.01
8.1.260.0090.00026.35
8.1.250.0050.00228.09
8.1.240.0090.00018.98
8.1.230.0060.00620.90
8.1.220.0000.00817.74
8.1.210.0030.00518.79
8.1.200.0060.00317.22
8.1.190.0060.00317.12
8.1.180.0040.00418.10
8.1.170.0030.00518.88
8.1.160.0000.00718.68
8.1.150.0040.00418.72
8.1.140.0040.00417.53
8.1.130.0040.00419.04
8.1.120.0030.00317.30
8.1.110.0030.00717.38
8.1.100.0030.00317.24
8.1.90.0000.00717.33
8.1.80.0000.00717.36
8.1.70.0000.00817.39
8.1.60.0050.00317.49
8.1.50.0000.00717.34
8.1.40.0000.00717.48
8.1.30.0000.00817.54
8.1.20.0000.00717.54
8.1.10.0040.00417.45
8.1.00.0040.00417.37
8.0.300.0070.00019.96
8.0.290.0040.00416.75
8.0.280.0070.00018.30
8.0.270.0030.00317.20
8.0.260.0060.00017.22
8.0.250.0030.00316.83
8.0.240.0030.00516.95
8.0.230.0040.00416.93
8.0.220.0040.00416.89
8.0.210.0000.00716.90
8.0.200.0030.00316.93
8.0.190.0040.00416.96
8.0.180.0050.00216.88
8.0.170.0080.00016.91
8.0.160.0030.00316.91
8.0.150.0030.00316.80
8.0.140.0070.00016.82
8.0.130.0050.00013.28
8.0.120.0000.00816.79
8.0.110.0000.00816.75
8.0.100.0040.00416.93
8.0.90.0030.00316.88
8.0.80.0070.00716.75
8.0.70.0000.00716.81
8.0.60.0040.00416.77
8.0.50.0040.00416.79
8.0.30.0110.00717.09
8.0.20.0080.01117.40
8.0.10.0040.00416.98
8.0.00.0130.00816.74
7.4.330.0000.00515.55
7.4.320.0030.00316.49
7.4.300.0000.00816.50
7.4.290.0000.00716.52
7.4.280.0000.00716.36
7.4.270.0070.00016.44
7.4.260.0070.00016.51
7.4.250.0020.00516.47
7.4.240.0030.00316.42
7.4.230.0030.00316.50
7.4.220.0000.00716.32
7.4.210.0070.01016.50
7.4.200.0000.00716.56
7.4.160.0090.00716.46
7.4.140.0110.00817.86
7.4.130.0080.01016.37
7.4.120.0120.00716.30
7.4.110.0100.01016.41
7.4.100.0060.01016.37
7.4.90.0070.01016.54
7.4.80.0100.01119.39
7.4.70.0070.01016.45
7.4.60.0070.01016.19
7.4.50.0070.01016.43
7.4.40.0070.01016.25
7.4.00.0100.00714.89
7.3.330.0000.00513.02
7.3.320.0030.00313.07
7.3.310.0070.00016.01
7.3.300.0030.00316.08
7.3.290.0030.00316.09
7.3.280.0140.00016.17
7.3.260.0130.00616.30
7.3.240.0080.00916.37
7.3.230.0080.00916.64
7.3.210.0160.00616.17
7.3.200.0080.00816.22
7.3.190.0090.00616.04
7.3.180.0070.01116.01
7.3.170.0070.01316.23
7.3.160.0090.00916.53
7.2.330.0220.00316.38
7.2.320.0110.01116.53
7.2.310.0090.00916.67
7.2.300.0080.01416.48
7.2.290.0070.01016.56
7.2.70.0140.00816.72
7.2.60.0110.00816.84
7.2.50.0090.00716.61
7.2.40.0030.01616.76
7.2.30.0100.00916.61
7.2.20.0140.00616.51
7.2.10.0090.01216.55
7.2.00.0060.01216.58
7.1.200.0040.01115.60
7.1.170.0110.00815.73
7.1.160.0080.01015.54
7.1.150.0040.01415.31
7.1.140.0060.01215.60
7.1.130.0060.01215.59
7.1.120.0070.01115.61
7.1.110.0110.00415.73
7.1.100.0030.01215.29
7.1.90.0070.00715.71
7.1.80.0120.00215.42
7.1.70.0060.01215.74
7.1.60.0290.01333.51
7.1.50.0320.00933.67
7.1.40.0330.01233.27
7.1.30.0290.00733.34
7.1.20.0200.01733.47
7.1.10.0070.01015.24
7.1.00.0100.00315.62

preferences:
55.7 ms | 400 KiB | 5 Q