3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr_u = array(); for($i=00000; $i<99999; $i++)array_push($arr_u,chr($i)); print(implode("",$arr_u));

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.0100.01320.61
8.3.50.0190.00724.00
8.3.40.0070.01722.59
8.3.30.0100.01323.10
8.3.20.0030.01024.39
8.3.10.0000.01127.66
8.3.00.0040.00723.16
8.2.180.0160.00922.40
8.2.170.0170.00722.96
8.2.160.0040.01824.37
8.2.150.0090.00324.18
8.2.140.0030.01024.66
8.2.130.0090.01526.16
8.2.120.0030.00726.16
8.2.110.0030.01026.26
8.2.100.0040.01421.72
8.2.90.0080.00423.16
8.2.80.0030.01021.93
8.2.70.0060.01021.75
8.2.60.0070.00721.93
8.2.50.0060.00621.63
8.2.40.0030.00922.05
8.2.30.0090.00322.15
8.2.20.0000.01321.89
8.2.10.0000.01322.05
8.2.00.0090.00621.88
8.1.280.0160.02025.92
8.1.270.0040.01127.69
8.1.260.0110.00426.35
8.1.250.0070.00329.82
8.1.240.0110.00429.86
8.1.230.0080.01224.57
8.1.220.0040.01122.91
8.1.210.0040.01122.82
8.1.200.0060.00922.82
8.1.190.0100.00322.97
8.1.180.0040.01122.77
8.1.170.0030.01024.12
8.1.160.0070.00727.66
8.1.150.0000.01324.23
8.1.140.0100.00323.16
8.1.130.0060.00623.57
8.1.120.0070.00722.96
8.1.110.0060.00623.08
8.1.100.0000.01323.04
8.1.90.0000.01422.95
8.1.80.0030.01023.00
8.1.70.0100.00723.02
8.1.60.0060.00923.19
8.1.50.0000.01423.13
8.1.40.0030.01223.17
8.1.30.0040.01123.16
8.1.20.0110.00423.11
8.1.10.0060.00923.20
8.1.00.0060.00923.16
8.0.300.0000.01322.77
8.0.290.0110.00422.52
8.0.280.0070.00723.94
8.0.270.0000.01222.85
8.0.260.0090.00322.36
8.0.250.0080.00422.32
8.0.240.0000.01422.49
8.0.230.0090.00322.42
8.0.220.0120.00022.34
8.0.210.0040.00822.27
8.0.200.0070.00722.36
8.0.190.0060.00922.43
8.0.180.0040.01122.32
8.0.170.0000.01422.25
8.0.160.0100.00422.26
8.0.150.0000.01422.25
8.0.140.0030.01322.26
8.0.130.0140.00018.93
8.0.120.0150.00022.36
8.0.110.0060.00822.33
8.0.100.0110.00322.30
8.0.90.0040.01122.39
8.0.80.0040.02222.32
8.0.70.0090.00622.31
8.0.60.0040.01122.37
8.0.50.0060.00922.34
8.0.30.0200.01322.56
8.0.20.0200.01322.41
8.0.10.0060.00822.49
8.0.00.0160.01622.24
7.4.330.0030.00820.90
7.4.320.0030.01022.05
7.4.300.0030.01021.91
7.4.290.0000.01421.85
7.4.280.0060.00921.91
7.4.270.0040.01121.93
7.4.260.0080.00521.83
7.4.250.0110.00421.98
7.4.240.0010.01321.89
7.4.230.0030.01021.72
7.4.220.0190.01522.05
7.4.210.0190.01322.01
7.4.200.0040.01122.05
7.4.190.0000.01421.98
7.4.160.0160.01321.85
7.4.150.0070.02522.05
7.4.140.0260.00722.05
7.4.130.0120.02121.94
7.4.120.0110.02121.93
7.4.110.0230.02021.89
7.4.100.0100.02121.85
7.4.90.0070.02721.96
7.4.80.0110.03022.05
7.4.70.0120.01922.04
7.4.60.0210.01122.12
7.4.50.0040.01621.99
7.4.40.0110.01022.77
7.4.30.0170.01422.10
7.4.00.0120.01520.44
7.3.330.0080.00418.77
7.3.320.0060.00618.58
7.3.310.0000.01421.81
7.3.300.0070.00721.74
7.3.290.0140.01721.77
7.3.280.0150.02521.78
7.3.270.0220.01021.90
7.3.260.0110.02621.94
7.3.250.0230.01821.91
7.3.240.0190.02221.63
7.3.230.0220.01021.98
7.3.210.0300.01721.79
7.3.200.0210.01422.07
7.3.190.0160.01922.00
7.3.180.0210.01421.80
7.3.170.0190.01321.96
7.3.160.0110.03321.98
7.3.120.0000.02820.38
7.2.330.0190.01321.45
7.2.320.0220.02021.47
7.2.310.0100.03321.50
7.2.300.0110.02121.51
7.2.290.0130.02021.44
7.2.00.0100.01725.11
7.1.200.0090.01523.44
7.1.100.0060.02226.00
7.1.70.0070.01124.93
7.1.60.0070.03323.27
7.1.50.0100.01023.14
7.0.200.0230.01724.87

preferences:
40.35 ms | 401 KiB | 5 Q