3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = fopen("php://memory", "w+"); var_dump($s); fclose($s); var_dump($s);

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.4.120.0120.00624.21
8.4.110.0100.00918.79
8.4.100.0120.00817.45
8.4.90.0140.00617.67
8.4.80.0100.01017.45
8.4.70.0070.00117.49
8.4.60.0090.00918.59
8.4.50.0110.01017.73
8.4.40.0090.01219.46
8.4.30.0070.01318.66
8.4.20.0100.01022.63
8.4.10.0110.00021.89
8.3.250.0110.00718.69
8.3.240.0120.00717.16
8.3.230.0120.00716.23
8.3.220.0070.00916.96
8.3.210.0110.00816.42
8.3.200.0050.00616.33
8.3.190.0130.00719.02
8.3.180.0100.00816.96
8.3.170.0060.01218.77
8.3.160.0070.01116.37
8.3.150.0130.00318.89
8.3.140.0000.00819.02
8.3.130.0030.00618.51
8.3.120.0150.00320.49
8.3.110.0070.01020.94
8.3.100.0000.00818.43
8.3.90.0150.00326.77
8.3.80.0060.00317.97
8.3.70.0090.00918.18
8.3.60.0090.00618.31
8.3.50.0140.00016.34
8.3.40.0070.01420.06
8.3.30.0080.00818.52
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0140.00418.90
8.2.280.0120.00720.30
8.2.270.0110.00718.80
8.2.260.0060.00319.13
8.2.250.0040.00418.46
8.2.240.0000.01016.93
8.2.230.0040.00422.58
8.2.220.0000.00824.06
8.2.210.0090.00926.77
8.2.200.0060.00318.29
8.2.190.0040.01118.45
8.2.180.0140.00716.63
8.2.170.0070.00722.96
8.2.160.0140.00022.96
8.2.150.0070.00325.66
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0090.00626.16
8.2.110.0030.00619.21
8.2.100.0040.00817.72
8.2.90.0000.00917.63
8.2.80.0000.00718.64
8.2.70.0030.00517.50
8.2.60.0000.00817.50
8.2.50.0040.00417.55
8.2.40.0050.00319.35
8.2.30.0050.00317.95
8.2.20.0000.00919.05
8.2.10.0140.00717.46
8.2.00.0190.00017.64
8.1.330.0100.00916.25
8.1.320.0070.01216.16
8.1.310.0090.00918.54
8.1.300.0000.00816.23
8.1.290.0080.00430.84
8.1.280.0100.00725.92
8.1.270.0050.00324.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0130.01019.11
8.1.230.0120.00019.23
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0060.00317.23
8.1.190.0060.00317.00
8.1.180.0050.00318.10
8.1.170.0080.00017.62
8.1.160.0000.00718.81
8.1.150.0080.00018.62
8.1.140.0170.00317.26
8.1.130.0150.00317.36
8.1.120.0140.00617.39
8.1.110.0140.00517.47
8.1.100.0130.00317.31
8.1.90.0130.00717.53
8.1.80.0150.00517.34
8.1.70.0120.00817.40
8.1.60.0120.00817.59
8.1.50.0230.00017.49
8.1.40.0190.00517.43
8.1.30.0140.00617.63
8.1.20.0160.00517.57
8.1.10.0180.00217.46
8.1.00.0180.00317.26
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00318.43
8.0.270.0080.00816.71
8.0.260.0130.00416.78
8.0.250.0180.00316.80
8.0.240.0120.00616.78
8.0.230.0130.00316.76
8.0.220.0080.00816.80
8.0.210.0120.00616.81
8.0.200.0070.01016.86
8.0.190.0080.00716.84
8.0.180.0100.00516.86
8.0.170.0070.01016.91
8.0.160.0100.00516.87
8.0.150.0100.00516.70
8.0.140.0060.00916.70
8.0.130.0100.00516.78
8.0.120.0130.00516.75
8.0.110.0060.01116.71
8.0.100.0140.00316.72
8.0.90.0170.00016.72
8.0.80.0140.00316.85
8.0.70.0140.00316.73
8.0.60.0140.00516.78
8.0.50.0110.00416.75
8.0.30.0090.00716.77
8.0.20.0140.00516.79
8.0.10.0110.00616.84

preferences:
28.3 ms | 403 KiB | 5 Q