3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "hello, world\n"; var_dump(fclose(STDOUT)); echo "hello, world2\n"; echo "hello, world2 in stderr\n";

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.0140.00318.17
8.3.40.0140.00021.89
8.3.30.0070.00718.54
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0050.00226.16
8.2.180.0150.00025.92
8.2.170.0130.00722.96
8.2.160.0060.00922.96
8.2.150.0070.00025.66
8.2.140.0000.00724.66
8.2.130.0000.00726.16
8.2.120.0050.00319.59
8.2.110.0110.00019.45
8.2.100.0090.00417.25
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0040.00417.50
8.2.50.0040.00417.93
8.2.40.0060.00319.64
8.2.30.0040.00417.63
8.2.20.0040.00420.48
8.2.10.0030.00617.47
8.2.00.0000.00818.98
8.1.280.0070.01125.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0000.01428.09
8.1.240.0060.00320.75
8.1.230.0040.00717.66
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0040.00418.80
8.1.150.0040.00418.53
8.1.140.0040.00417.30
8.1.130.0000.00717.30
8.1.120.0070.00017.33
8.1.110.0040.00417.34
8.1.100.0040.00817.37
8.1.90.0070.00617.37
8.1.80.0060.00617.38
8.1.70.0000.00917.26
8.1.60.0030.00617.44
8.1.50.0070.00317.39
8.1.40.0040.00817.37
8.1.30.0090.00417.48
8.1.20.0060.00617.53
8.1.10.0070.00617.42
8.1.00.0060.00717.37
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00518.36
8.0.270.0000.00716.81
8.0.260.0000.00616.73
8.0.250.0000.00716.96
8.0.240.0090.00116.92
8.0.230.0090.00216.82
8.0.220.0060.00516.81
8.0.210.0100.00216.82
8.0.200.0110.00016.79
8.0.190.0090.00416.86
8.0.180.0090.00316.83
8.0.170.0120.00016.77
8.0.160.0060.00616.78
8.0.150.0080.00416.84
8.0.140.0040.00716.81
8.0.130.0080.00316.76
8.0.120.0070.00716.89
8.0.110.0100.00616.83
8.0.100.0100.00516.87
8.0.90.0100.00716.78
8.0.80.0100.00516.85
8.0.70.0110.00416.84
8.0.60.0100.00516.78
8.0.50.0070.00616.79
8.0.30.0160.00216.77
8.0.20.0140.00416.89
8.0.10.0110.00816.96
8.0.00.0130.00217.01
7.4.330.0020.00215.55
7.4.320.0000.00816.50
7.4.300.0040.00916.43
7.4.290.0090.00216.41
7.4.280.0100.00316.38
7.4.270.0080.00416.49
7.4.260.0140.00116.47
7.4.250.0070.00616.35
7.4.240.0100.00416.36
7.4.230.0110.00516.47
7.4.220.0040.01116.34
7.4.210.0070.00516.38
7.4.200.0110.00316.44
7.4.190.0100.00416.39
7.4.180.0070.00616.44
7.4.160.0100.00416.40
7.4.150.0070.00716.38
7.4.140.0100.00416.36
7.4.130.0100.00516.35
7.4.120.0120.00316.09
7.4.110.0050.00616.31
7.4.100.0040.00816.46
7.4.90.0110.00116.35
7.4.80.0080.00616.38
7.4.70.0100.00316.31
7.4.60.0060.00916.33
7.4.50.0090.00516.28
7.4.40.0080.00616.34
7.4.30.0120.00216.28
7.4.20.0080.00616.32
7.4.10.0100.00416.21
7.4.00.0110.00316.32
7.3.330.0090.00916.15
7.3.320.0140.00416.14
7.3.310.0140.00416.09
7.3.300.0110.00816.04
7.3.290.0140.00316.09
7.3.280.0130.00616.28
7.3.270.0140.00316.12
7.3.260.0130.00415.98
7.3.250.0180.00016.10
7.3.240.0110.00816.11
7.3.230.0170.00316.22
7.3.220.0150.00416.16
7.3.210.0140.00516.17
7.3.200.0120.00515.97
7.3.190.0180.00015.99
7.3.180.0130.00416.21
7.3.170.0150.00316.16
7.3.160.0140.00516.27
7.3.150.0120.00616.11
7.3.140.0150.00416.14
7.3.130.0130.00516.16

preferences:
63.13 ms | 400 KiB | 5 Q