3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $stream = fopen("php://memory", 'rw+'); fwrite($stream, false);

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.20.0100.01018.00
8.4.10.0090.00620.71
8.3.150.0110.00718.97
8.3.140.0090.00017.14
8.3.130.0040.00418.24
8.3.120.0060.00320.68
8.3.110.0030.00620.94
8.3.100.0160.00318.38
8.3.90.0030.00526.77
8.3.80.0040.00419.36
8.3.70.0110.00716.61
8.3.60.0140.00416.63
8.3.50.0120.00723.63
8.3.40.0070.01121.77
8.3.30.0100.01018.77
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0000.00726.16
8.2.260.0030.00616.73
8.2.250.0000.00818.76
8.2.240.0080.00417.34
8.2.230.0060.00322.58
8.2.220.0090.00024.06
8.2.210.0000.01526.77
8.2.200.0030.00616.63
8.2.190.0140.00318.54
8.2.180.0120.00325.92
8.2.170.0040.01118.96
8.2.160.0040.01122.96
8.2.150.0040.00425.66
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00726.35
8.2.110.0000.00922.24
8.2.100.0090.00317.91
8.2.90.0040.00417.97
8.2.80.0000.00819.16
8.2.70.0000.00817.80
8.2.60.0030.00518.16
8.2.50.0000.00918.10
8.2.40.0040.00419.13
8.2.30.0040.00419.30
8.2.20.0000.00718.04
8.2.10.0040.00419.11
8.2.00.0000.00719.15
8.1.310.0100.00318.40
8.1.300.0110.00418.13
8.1.290.0040.00418.88
8.1.280.0140.00025.92
8.1.270.0000.00822.19
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0090.00021.91
8.1.230.0070.00420.76
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0080.00018.10
8.1.170.0060.00318.65
8.1.160.0060.00319.05
8.1.150.0040.00418.81
8.1.140.0060.00618.77
8.1.130.0030.00317.32
8.1.120.0000.00717.24
8.1.110.0040.00417.35
8.1.100.0030.00517.40
8.1.90.0040.00417.27
8.1.80.0060.00617.30
8.1.70.0000.00717.43
8.1.60.0030.00517.45
8.1.50.0000.00817.51
8.1.40.0060.00317.55
8.1.30.0030.00617.65
8.1.20.0080.00017.50
8.1.10.0040.00417.58
8.1.00.0000.00917.49
8.0.300.0060.00319.88
8.0.290.0060.00316.63
8.0.280.0000.00718.32
8.0.270.0040.00416.76
8.0.260.0030.00316.75
8.0.250.0060.00017.01
8.0.240.0080.00017.02
8.0.230.0030.00316.97
8.0.220.0000.00816.88
8.0.210.0000.00716.93
8.0.200.0000.00617.01
8.0.190.0030.00617.01
8.0.180.0050.00216.85
8.0.170.0030.00616.95
8.0.160.0050.00216.93
8.0.150.0040.00716.93
8.0.140.0040.00416.83
8.0.130.0000.00513.31
8.0.120.0040.00416.86
8.0.110.0040.00416.85
8.0.100.0000.00816.82
8.0.90.0030.00516.89
8.0.80.0100.00716.87
8.0.70.0070.00016.99
8.0.60.0040.00417.01
8.0.50.0000.00816.82
8.0.30.0100.01316.97
8.0.20.0110.00916.96
8.0.10.0090.00017.07
8.0.00.0180.00316.59
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0000.00616.56
7.4.290.0040.00416.52
7.4.280.0040.00416.59
7.4.270.0070.00016.50
7.4.260.0030.00313.31
7.4.250.0040.00416.48
7.4.240.0030.00316.63
7.4.230.0030.00316.69
7.4.220.0040.00316.55
7.4.210.0070.00916.50
7.4.200.0040.00416.40
7.4.130.0140.00716.43
7.4.120.0090.00916.36
7.4.110.0100.01016.04
7.4.100.0130.00715.86
7.4.90.0190.00316.33
7.4.80.0100.01016.05
7.4.70.0060.01216.35
7.4.60.0090.00916.39
7.4.50.0050.01216.23
7.4.40.0150.00716.02
7.4.30.0070.01116.22
7.4.20.0180.00316.24
7.4.10.0100.00716.36
7.4.00.0140.00316.14
7.3.330.0040.00416.39
7.3.320.0000.00813.15
7.3.310.0070.00016.31
7.3.300.0000.00716.23
7.3.290.0120.00416.33
7.3.260.0140.00416.35
7.3.230.0100.01315.97
7.3.220.0110.01115.87
7.3.210.0130.00616.10
7.3.200.0100.00716.05
7.3.190.0130.00815.90
7.3.180.0090.01216.09
7.3.170.0100.01016.17
7.3.160.0110.01116.12
7.3.150.0130.00916.15
7.3.140.0100.00616.12
7.3.130.0140.00716.18
7.3.120.0090.00916.42
7.3.110.0090.01216.13
7.3.100.0150.00616.20
7.3.90.0190.00016.42
7.3.80.0100.01016.27
7.3.70.0120.01216.19
7.3.60.0030.01716.34
7.3.50.0060.01116.26
7.3.40.0090.00916.36
7.3.30.0090.01016.29
7.3.20.0170.00516.21
7.3.10.0220.00216.08
7.3.00.0160.00816.11
7.2.340.0030.01616.16
7.2.330.0150.00416.13
7.2.320.0150.00316.05
7.2.310.0110.00716.22
7.2.300.0030.01316.15
7.2.290.0120.00616.36
7.2.280.0090.00916.49
7.2.270.0130.00316.22
7.2.260.0040.01516.43
7.2.250.0140.01016.05
7.2.240.0030.01616.34
7.2.230.0100.01016.64
7.2.220.0060.01316.54
7.2.210.0120.01216.29
7.2.200.0090.01216.41
7.2.190.0110.00716.50
7.2.180.0090.00916.43
7.2.170.0110.00916.40
7.2.160.0090.01216.37
7.2.150.0130.00816.46
7.2.140.0170.00516.49
7.2.130.0130.00816.31
7.2.120.0070.01416.60
7.2.110.0130.00816.45
7.2.100.0230.01216.49
7.2.90.0410.00916.35
7.2.80.0130.00716.51
7.2.70.0110.00716.50
7.2.60.0130.00716.43
7.2.50.0090.01016.47
7.2.40.0070.01016.55
7.2.30.0180.00616.41
7.2.20.0150.00916.40
7.2.10.0090.01516.50
7.2.00.0150.00916.50

preferences:
28.88 ms | 403 KiB | 5 Q