3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=1;$i<1000;$i++){ $string = 'lorem_' . $i . '_ipsum'; // $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.00718.30
8.3.50.0100.01017.96
8.3.40.0130.00718.67
8.3.30.0130.00618.58
8.3.20.0070.00420.34
8.3.10.0100.00021.63
8.3.00.0030.00623.53
8.2.180.0120.01218.53
8.2.170.0130.00722.96
8.2.160.0160.00320.35
8.2.150.0070.00324.18
8.2.140.0040.00724.66
8.2.130.0070.00321.04
8.2.120.0070.00426.16
8.2.110.0040.00820.56
8.2.100.0040.01117.87
8.2.90.0070.00317.84
8.2.80.0030.00618.04
8.2.70.0030.00617.78
8.2.60.0030.00718.09
8.2.50.0060.00318.10
8.2.40.0030.01020.28
8.2.30.0050.00519.23
8.2.20.0040.00417.93
8.2.10.0000.01018.11
8.2.00.0050.00518.04
8.1.280.0160.00325.92
8.1.270.0100.00022.02
8.1.260.0030.00726.35
8.1.250.0070.00328.09
8.1.240.0060.00620.30
8.1.230.0090.00621.09
8.1.220.0030.00617.78
8.1.210.0000.00918.77
8.1.200.0030.00617.13
8.1.190.0050.00517.35
8.1.180.0040.00418.10
8.1.170.0030.00718.84
8.1.160.0030.00618.88
8.1.150.0060.00320.14
8.1.140.0060.00319.13
8.1.130.0080.00018.86
8.1.120.0040.00417.43
8.1.110.0000.01017.41
8.1.100.0030.00717.49
8.1.90.0060.00317.42
8.1.80.0080.00417.35
8.1.70.0000.00917.46
8.1.60.0060.00317.46
8.1.50.0040.00417.49
8.1.40.0030.00617.43
8.1.30.0030.00617.63
8.1.20.0060.00317.55
8.1.10.0100.00017.50
8.1.00.0000.01017.42
8.0.300.0060.00321.48
8.0.290.0070.00416.58
8.0.280.0030.00518.39
8.0.270.0060.00316.85
8.0.260.0000.00916.86
8.0.250.0000.00816.82
8.0.240.0040.00416.99
8.0.230.0060.00316.93
8.0.220.0030.00616.93
8.0.210.0060.00316.89
8.0.200.0050.00516.92
8.0.190.0000.01016.91
8.0.180.0000.00916.89
8.0.170.0030.00616.89
8.0.160.0000.00916.87
8.0.150.0000.00816.86
8.0.140.0000.00916.75
8.0.130.0030.00613.29
8.0.120.0030.00716.86
8.0.110.0060.00316.88
8.0.100.0030.00616.67
8.0.90.0030.00516.72
8.0.80.0100.01616.88
8.0.70.0080.00016.95
8.0.60.0060.00316.65
8.0.50.0060.00316.90
8.0.30.0140.01216.89
8.0.20.0170.01617.40
8.0.10.0030.00616.93
8.0.00.0170.01016.59
7.4.330.0030.00315.55
7.4.320.0080.00016.45
7.4.300.0000.00816.45
7.4.290.0030.00616.32
7.4.280.0000.00816.50
7.4.270.0090.00016.33
7.4.260.0080.00316.43
7.4.250.0040.00416.47
7.4.240.0040.00416.52
7.4.230.0030.00616.64
7.4.220.0150.01216.49
7.4.210.0130.01616.36
7.4.200.0030.00616.23
7.4.160.0160.01016.56
7.4.150.0210.00717.40
7.4.140.0190.01717.86
7.4.130.0200.00716.39
7.4.120.0160.01716.47
7.4.110.0120.01616.59
7.4.100.0160.01216.50
7.4.90.0300.00716.67
7.4.80.0160.01019.39
7.4.70.0240.01016.41
7.4.60.0130.01216.49
7.4.50.0160.00316.40
7.4.40.0110.02016.35
7.4.30.0140.01016.54
7.4.00.0070.01414.77
7.3.330.0060.00013.02
7.3.320.0000.00613.13
7.3.310.0040.00416.08
7.3.300.0000.00916.25
7.3.290.0110.01416.25
7.3.280.0100.01916.27
7.3.270.0190.01617.40
7.3.260.0180.01216.28
7.3.250.0180.00916.30
7.3.240.0160.01216.33
7.3.230.0210.00716.48
7.3.210.0100.02016.32
7.3.200.0220.00716.31
7.3.190.0070.01716.63
7.3.180.0190.01216.35
7.3.170.0070.01916.54
7.3.160.0100.01416.31
7.3.00.0130.00616.67
7.2.330.0210.01216.62
7.2.320.0070.02116.33
7.2.310.0100.01616.53
7.2.300.0160.00816.80
7.2.290.0100.01416.36
7.2.130.0100.00316.95
7.2.120.0110.00716.98
7.2.110.0130.00016.83
7.2.100.0100.00716.96
7.2.90.0090.00917.02
7.2.80.0030.01516.57
7.2.70.0030.01416.65
7.2.60.0060.01116.91
7.2.50.0070.01416.87
7.2.40.0170.00316.84
7.2.30.0080.00416.82
7.2.20.0090.00316.96
7.2.10.0080.01516.91
7.2.00.0050.01118.20
7.1.250.0040.01115.85
7.1.240.0140.00715.56
7.1.230.0120.00615.84
7.1.220.0070.01115.91
7.1.210.0070.01015.70
7.1.200.0120.00515.78
7.1.190.0120.00315.76
7.1.180.0060.00915.63
7.1.170.0130.00715.63
7.1.160.0000.01315.56
7.1.150.0140.00315.83
7.1.140.0080.00815.75
7.1.130.0070.00715.64
7.1.120.0090.00917.13
7.1.110.0060.01116.80
7.1.100.0110.00516.88
7.1.90.0120.00516.78
7.1.80.0080.01016.80
7.1.70.0080.00816.43
7.1.60.0180.00725.34
7.1.50.0140.00925.38
7.1.40.0130.01424.95
7.1.30.0080.01825.13
7.1.20.0150.00825.22
7.1.10.0080.00816.03
7.1.00.0120.00216.30
7.0.330.0100.00715.46
5.6.380.0100.01014.13

preferences:
45.48 ms | 400 KiB | 5 Q