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.0170.00318.55
8.3.50.0170.00318.04
8.3.40.0170.00418.70
8.3.30.0130.00718.70
8.3.20.0070.00720.33
8.3.10.0000.01021.77
8.3.00.0110.00023.48
8.2.180.0160.00718.15
8.2.170.0160.00322.96
8.2.160.0070.01120.37
8.2.150.0100.00024.18
8.2.140.0070.00324.66
8.2.130.0110.00026.16
8.2.120.0070.00419.83
8.2.110.0130.00022.20
8.2.100.0150.00017.91
8.2.90.0100.00018.03
8.2.80.0070.00317.97
8.2.70.0060.00317.93
8.2.60.0000.00918.03
8.2.50.0000.01117.38
8.2.40.0030.00919.36
8.2.30.0030.00619.13
8.2.20.0040.00417.98
8.2.10.0060.00319.82
8.2.00.0040.00418.11
8.1.280.0060.01925.92
8.1.270.0060.00623.97
8.1.260.0110.00026.35
8.1.250.0070.00328.09
8.1.240.0080.00422.34
8.1.230.0110.00422.78
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0050.00517.35
8.1.190.0070.00317.13
8.1.180.0120.00018.10
8.1.170.0060.00618.43
8.1.160.0090.00018.87
8.1.150.0040.00420.16
8.1.140.0040.00419.03
8.1.130.0030.00617.30
8.1.120.0040.00417.45
8.1.110.0060.00317.36
8.1.100.0060.00317.25
8.1.90.0040.00417.27
8.1.80.0080.00417.29
8.1.70.0060.00317.39
8.1.60.0040.00417.40
8.1.50.0060.00317.47
8.1.40.0000.00917.50
8.1.30.0030.00617.42
8.1.20.0000.00917.52
8.1.10.0030.00617.55
8.1.00.0000.00917.46
8.0.300.0100.00019.97
8.0.290.0040.00716.63
8.0.280.0000.00918.34
8.0.270.0000.00817.19
8.0.260.0080.00016.66
8.0.250.0030.00616.83
8.0.240.0090.00016.86
8.0.230.0030.00616.78
8.0.220.0030.00616.82
8.0.210.0000.00816.74
8.0.200.0060.00316.80
8.0.190.0030.00716.93
8.0.180.0030.00616.88
8.0.170.0030.00616.91
8.0.160.0060.00316.79
8.0.150.0060.00616.87
8.0.140.0040.00416.74
8.0.130.0070.00013.21
8.0.120.0100.00016.84
8.0.110.0030.00616.89
8.0.100.0040.00416.86
8.0.90.0030.00616.93
8.0.80.0090.01216.75
8.0.70.0040.00416.71
8.0.60.0040.00416.65
8.0.50.0060.00316.85
8.0.30.0180.00917.05
8.0.20.0160.01317.40
8.0.10.0060.00316.80
8.0.00.0230.01316.73
7.4.330.0000.00615.55
7.4.320.0090.00016.34
7.4.300.0040.00416.54
7.4.290.0030.00516.44
7.4.280.0030.00716.43
7.4.270.0040.00416.46
7.4.260.0060.00316.43
7.4.250.0060.00316.42
7.4.240.0000.00816.54
7.4.230.0040.00416.54
7.4.220.0180.01116.39
7.4.210.0100.01616.56
7.4.200.0060.00316.24
7.4.160.0210.00816.48
7.4.150.0190.01517.40
7.4.140.0240.01417.86
7.4.130.0170.01216.45
7.4.120.0180.01816.44
7.4.110.0150.02516.53
7.4.100.0210.00616.53
7.4.90.0200.00716.33
7.4.80.0060.01919.39
7.4.70.0130.01916.58
7.4.60.0120.01216.50
7.4.50.0100.00816.57
7.4.40.0140.01516.34
7.4.30.0100.01716.56
7.4.00.0120.00714.92
7.3.330.0030.00313.18
7.3.320.0030.00312.99
7.3.310.0060.00316.29
7.3.300.0000.00816.30
7.3.290.0160.01016.28
7.3.280.0180.00816.30
7.3.270.0200.00717.40
7.3.260.0170.01116.29
7.3.250.0190.01016.47
7.3.240.0130.01716.57
7.3.230.0190.01316.40
7.3.210.0160.01216.50
7.3.200.0150.00916.49
7.3.190.0070.01616.55
7.3.180.0230.00316.54
7.3.170.0120.01216.50
7.3.160.0210.01016.39
7.3.120.0140.01014.80
7.3.110.0100.01314.52
7.3.100.0100.01014.66
7.3.90.0110.01114.68
7.3.80.0070.00714.58
7.3.70.0090.00614.88
7.3.60.0160.00614.57
7.3.50.0070.01714.84
7.3.40.0110.01114.84
7.3.30.0130.01014.83
7.3.20.0070.01716.61
7.3.10.0120.00616.57
7.3.00.0120.00316.77
7.2.330.0210.00916.58
7.2.320.0100.02016.55
7.2.310.0150.01516.62
7.2.300.0100.02316.61
7.2.290.0140.01016.64
7.2.250.0070.01614.78
7.2.240.0090.01615.02
7.2.230.0100.01014.89
7.2.220.0120.00914.75
7.2.210.0030.01615.18
7.2.200.0070.01014.88
7.2.190.0120.00915.18
7.2.180.0120.00915.09
7.2.170.0120.00914.79
7.2.60.0270.01216.71
7.2.00.0030.01719.41
7.1.330.0060.01515.68
7.1.320.0070.00715.60
7.1.310.0030.01516.00
7.1.300.0130.00615.79
7.1.290.0160.00615.91
7.1.280.0140.01015.96
7.1.270.0070.00715.53
7.1.260.0060.01615.62
7.1.200.0030.01415.57
7.1.120.0120.00918.68
7.1.110.0060.01018.13
7.1.100.0170.00017.76
7.1.90.0060.01218.43
7.1.80.0000.01617.98
7.1.70.0040.01116.89
7.1.60.0200.01035.06
7.1.50.0170.01434.56
7.1.40.0150.01534.52
7.1.30.0130.01934.67
7.1.20.0160.01334.39
7.1.10.0120.00816.59
7.1.00.0110.01216.71

preferences:
51.59 ms | 400 KiB | 5 Q