3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=1;$i<1000;$i++){ $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.0130.00618.43
8.3.50.0100.01018.20
8.3.40.0170.00318.72
8.3.30.0130.00718.66
8.3.20.0030.00620.24
8.3.10.0070.00321.71
8.3.00.0100.00023.56
8.2.180.0170.00718.18
8.2.170.0160.00322.96
8.2.160.0160.00320.39
8.2.150.0030.00724.18
8.2.140.0040.00724.66
8.2.130.0030.00626.16
8.2.120.0080.00320.91
8.2.110.0080.00421.06
8.2.100.0040.01117.78
8.2.90.0030.00717.91
8.2.80.0040.00717.97
8.2.70.0000.00917.92
8.2.60.0040.00418.04
8.2.50.0000.00918.21
8.2.40.0060.00320.66
8.2.30.0030.00619.21
8.2.20.0090.00018.06
8.2.10.0090.00017.92
8.2.00.0050.00518.06
8.1.280.0160.00325.92
8.1.270.0070.00423.66
8.1.260.0040.00726.35
8.1.250.0070.00428.09
8.1.240.0060.00622.14
8.1.230.0120.00322.82
8.1.220.0030.00617.74
8.1.210.0000.00918.77
8.1.200.0060.00617.22
8.1.190.0040.00717.13
8.1.180.0040.00418.10
8.1.170.0090.00018.58
8.1.160.0030.00618.81
8.1.150.0000.00920.11
8.1.140.0030.00618.98
8.1.130.0040.00418.80
8.1.120.0040.00417.43
8.1.110.0030.00717.36
8.1.100.0000.01117.29
8.1.90.0000.00817.41
8.1.80.0000.01317.41
8.1.70.0040.00417.41
8.1.60.0030.00617.46
8.1.50.0060.00317.37
8.1.40.0040.00417.35
8.1.30.0090.00017.52
8.1.20.0060.00317.58
8.1.10.0060.00317.50
8.1.00.0100.00017.46
8.0.300.0040.00419.65
8.0.290.0030.00616.63
8.0.280.0060.00318.32
8.0.270.0080.00017.15
8.0.260.0090.00016.75
8.0.250.0030.00616.88
8.0.240.0030.00616.87
8.0.230.0060.00316.82
8.0.220.0000.00916.86
8.0.210.0080.00016.90
8.0.200.0060.00616.88
8.0.190.0070.00316.86
8.0.180.0060.00316.75
8.0.170.0000.00816.86
8.0.160.0050.00516.92
8.0.150.0070.00416.75
8.0.140.0000.01016.84
8.0.130.0070.00013.16
8.0.120.0070.00316.79
8.0.110.0040.00416.83
8.0.100.0030.00616.83
8.0.90.0030.00616.71
8.0.80.0100.01016.70
8.0.70.0040.00416.86
8.0.60.0030.00616.73
8.0.50.0040.00416.87
8.0.30.0220.00617.17
8.0.20.0180.01317.40
8.0.10.0060.00316.82
8.0.00.0170.01016.91
7.4.330.0030.00315.55
7.4.320.0060.00316.46
7.4.300.0040.00416.32
7.4.290.0030.00616.41
7.4.280.0000.00916.50
7.4.270.0000.00816.54
7.4.260.0000.00816.41
7.4.250.0030.00516.37
7.4.240.0030.00516.36
7.4.230.0000.00816.34
7.4.220.0040.00416.43
7.4.210.0110.01816.46
7.4.200.0040.00416.56
7.4.160.0100.01616.52
7.4.150.0110.02117.40
7.4.140.0220.01817.86
7.4.130.0210.01416.35
7.4.120.0170.01616.45
7.4.110.0130.01316.61
7.4.100.0210.00616.32
7.4.90.0090.01816.31
7.4.80.0070.02419.39
7.4.70.0200.00716.43
7.4.60.0130.01016.33
7.4.50.0090.00816.35
7.4.40.0100.01616.34
7.4.30.0180.00616.46
7.4.00.0060.01014.98
7.3.330.0000.00713.16
7.3.320.0050.00313.23
7.3.310.0090.00016.27
7.3.300.0060.00316.34
7.3.290.0120.01216.33
7.3.280.0160.00816.36
7.3.270.0160.01317.40
7.3.260.0190.00916.40
7.3.250.0170.01716.35
7.3.240.0170.01516.38
7.3.230.0150.01416.16
7.3.210.0160.01216.41
7.3.200.0060.02216.30
7.3.190.0100.01316.57
7.3.180.0190.01516.38
7.3.170.0110.01416.52
7.3.160.0240.00916.55
7.3.10.0110.01116.55
7.3.00.0180.00916.44
7.2.330.0180.01016.43
7.2.320.0110.01516.50
7.2.310.0140.01016.62
7.2.300.0070.02016.44
7.2.290.0130.01316.53
7.2.130.0140.00716.66
7.2.120.0150.00416.47
7.2.110.0170.00015.93
7.2.100.0160.00616.75
7.2.90.0200.01316.20
7.2.80.0100.01716.53
7.2.70.0220.00616.64
7.2.60.0210.00616.63
7.2.50.0190.00816.50
7.2.40.0110.01416.41
7.2.30.0100.01716.48
7.2.20.0240.00516.50
7.2.10.0120.00816.83
7.2.00.0130.00817.94
7.1.250.0140.00715.43
7.1.200.0070.00315.85
7.1.120.0100.00718.97
7.1.110.0150.00518.07
7.1.100.0150.00918.43
7.1.90.0160.00517.98
7.1.80.0110.01118.11
7.1.70.0030.01417.32
7.1.60.0240.01034.84
7.1.50.0210.01434.57
7.1.40.0210.00934.39
7.1.30.0140.02134.56
7.1.20.0210.01434.39
7.1.10.0070.01716.46
7.1.00.0030.01516.71

preferences:
42.53 ms | 400 KiB | 5 Q