3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=1;$i<1000;$i++){ $string = []; $string[]='lorem_'; $string[]= $i; $string[]='_ipsum'; $string = join('',$string); var_dump($string); // unset($string); }

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.0080.01218.27
8.3.50.0250.00318.02
8.3.40.0200.00318.70
8.3.30.0130.01618.54
8.3.20.0060.00320.16
8.3.10.0070.00321.90
8.3.00.0070.00323.66
8.2.180.0150.00418.29
8.2.170.0070.01722.96
8.2.160.0070.01120.38
8.2.150.0080.00324.18
8.2.140.0130.00024.66
8.2.130.0110.00026.16
8.2.120.0120.00021.13
8.2.110.0100.00320.38
8.2.100.0070.00717.72
8.2.90.0060.00319.22
8.2.80.0060.00317.97
8.2.70.0050.00517.63
8.2.60.0050.00517.80
8.2.50.0060.00318.10
8.2.40.0090.00020.59
8.2.30.0000.01119.25
8.2.20.0000.00918.06
8.2.10.0000.01017.93
8.2.00.0030.00718.06
8.1.280.0120.00825.92
8.1.270.0110.00022.06
8.1.260.0030.00626.35
8.1.250.0030.00728.09
8.1.240.0080.00422.07
8.1.230.0150.00017.89
8.1.220.0040.00417.74
8.1.210.0070.00318.77
8.1.200.0060.00617.22
8.1.190.0090.00017.25
8.1.180.0040.00418.10
8.1.170.0070.00318.54
8.1.160.0060.00318.88
8.1.150.0000.01019.98
8.1.140.0040.00418.99
8.1.130.0060.00318.87
8.1.120.0030.00617.41
8.1.110.0090.00017.36
8.1.100.0030.00717.29
8.1.90.0090.00017.38
8.1.80.0040.00817.31
8.1.70.0080.00017.29
8.1.60.0030.00717.44
8.1.50.0090.00017.46
8.1.40.0030.00617.43
8.1.30.0090.00017.58
8.1.20.0040.00717.50
8.1.10.0030.00617.48
8.1.00.0040.00417.41
8.0.300.0060.00318.77
8.0.290.0000.01016.63
8.0.280.0000.00818.44
8.0.270.0080.00017.04
8.0.260.0040.00416.73
8.0.250.0030.00516.94
8.0.240.0060.00316.91
8.0.230.0050.00516.84
8.0.220.0030.00616.85
8.0.210.0040.00416.85
8.0.200.0070.00316.85
8.0.190.0000.00916.79
8.0.180.0060.00316.84
8.0.170.0030.00716.83
8.0.160.0030.00516.79
8.0.150.0040.00416.79
8.0.140.0100.00016.70
8.0.130.0000.00813.21
8.0.120.0000.01016.79
8.0.110.0000.00816.72
8.0.100.0090.00016.73
8.0.90.0110.00016.70
8.0.80.0110.01016.82
8.0.70.0040.00416.74
8.0.60.0040.00416.77
8.0.50.0060.00316.81
8.0.30.0090.01717.04
8.0.20.0230.01217.40
8.0.10.0030.00617.04
8.0.00.0100.01816.61
7.4.330.0060.00015.55
7.4.320.0040.00416.37
7.4.300.0060.00316.39
7.4.290.0050.00316.51
7.4.280.0030.00616.38
7.4.270.0040.00416.43
7.4.260.0110.00016.36
7.4.250.0070.00316.43
7.4.240.0050.00516.34
7.4.230.0040.00416.27
7.4.220.0130.01316.44
7.4.210.0150.01516.54
7.4.200.0060.00316.53
7.4.160.0210.00916.51
7.4.150.0210.01017.40
7.4.140.0160.01917.86
7.4.130.0140.01416.57
7.4.120.0200.01816.48
7.4.110.0220.00716.65
7.4.100.0210.00816.51
7.4.90.0070.02016.35
7.4.80.0100.01619.39
7.4.70.0190.00916.52
7.4.60.0080.01616.41
7.4.50.0100.01016.35
7.4.40.0120.01216.39
7.4.30.0170.00716.43
7.4.00.0100.00714.64
7.3.330.0060.00013.00
7.3.320.0000.00813.02
7.3.310.0000.00816.34
7.3.300.0030.00516.14
7.3.290.0080.01416.31
7.3.280.0100.01616.18
7.3.270.0180.01117.40
7.3.260.0150.01816.20
7.3.250.0160.01316.32
7.3.240.0170.01216.37
7.3.230.0210.01216.51
7.3.210.0190.00816.55
7.3.200.0130.02216.60
7.3.190.0080.01716.32
7.3.180.0130.01016.59
7.3.170.0100.01416.36
7.3.160.0170.00716.22
7.3.10.0100.01016.47
7.3.00.0080.01116.82
7.2.330.0130.01616.66
7.2.320.0080.01916.43
7.2.310.0160.01016.63
7.2.300.0140.01416.44
7.2.290.0150.00916.38
7.2.130.0030.01616.92
7.2.120.0180.00416.91
7.2.110.0140.00716.57
7.2.100.0100.00716.86
7.2.90.0100.00716.73
7.2.80.0070.01016.97
7.2.70.0120.00616.97
7.2.60.0080.01016.77
7.2.50.0100.00716.68
7.2.40.0060.01216.99
7.2.30.0090.00916.96
7.2.20.0100.01016.74
7.2.10.0030.01317.02
7.2.00.0120.00917.19
7.1.250.0090.00415.76
7.1.200.0110.00415.57
7.1.120.0070.01018.84
7.1.110.0150.00616.40
7.1.100.0170.00316.18
7.1.90.0140.01317.98
7.1.80.0210.01416.59
7.1.70.0170.00616.92
7.1.60.0330.01933.29
7.1.50.0250.01935.01
7.1.40.0370.01932.47
7.1.30.0270.00934.46
7.1.20.0400.01232.46
7.1.10.0140.01714.79
7.1.00.0100.00916.54

preferences:
59.39 ms | 400 KiB | 5 Q