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.0100.01018.40
8.3.50.0150.00418.11
8.3.40.0250.00318.72
8.3.30.0100.01318.59
8.3.20.0030.00720.16
8.3.10.0090.00321.73
8.3.00.0040.00723.66
8.2.180.0130.00716.50
8.2.170.0130.00622.96
8.2.160.0130.00620.11
8.2.150.0070.00324.18
8.2.140.0100.00024.66
8.2.130.0100.00021.18
8.2.120.0000.01026.35
8.2.110.0090.00321.06
8.2.100.0120.00617.84
8.2.90.0070.00317.91
8.2.80.0000.00919.18
8.2.70.0060.00317.63
8.2.60.0060.00317.63
8.2.50.0030.00617.55
8.2.40.0090.00019.35
8.2.30.0050.00519.18
8.2.20.0000.00918.13
8.2.10.0070.00417.86
8.2.00.0050.00518.09
8.1.280.0170.01025.92
8.1.270.0080.00322.19
8.1.260.0070.00726.35
8.1.250.0030.00628.09
8.1.240.0140.00322.07
8.1.230.0070.00720.84
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0050.00517.35
8.1.190.0060.00317.10
8.1.180.0080.00418.10
8.1.170.0040.00718.88
8.1.160.0070.00318.82
8.1.150.0060.00320.07
8.1.140.0040.00419.05
8.1.130.0040.00418.77
8.1.120.0090.00017.30
8.1.110.0060.00317.31
8.1.100.0030.00617.43
8.1.90.0060.00317.21
8.1.80.0000.01117.28
8.1.70.0040.00417.27
8.1.60.0000.01017.54
8.1.50.0030.00617.39
8.1.40.0070.00417.46
8.1.30.0000.01017.59
8.1.20.0080.00417.64
8.1.10.0060.00317.37
8.1.00.0030.00717.44
8.0.300.0090.00019.72
8.0.290.0070.00316.63
8.0.280.0100.00018.29
8.0.270.0030.00517.18
8.0.260.0040.00416.75
8.0.250.0040.00416.75
8.0.240.0040.00416.72
8.0.230.0040.00416.83
8.0.220.0040.00416.85
8.0.210.0030.00516.85
8.0.200.0100.00016.83
8.0.190.0090.00016.78
8.0.180.0040.00416.82
8.0.170.0100.00016.75
8.0.160.0050.00516.71
8.0.150.0060.00616.80
8.0.140.0050.00316.77
8.0.130.0000.00613.28
8.0.120.0090.00016.77
8.0.110.0040.00416.82
8.0.100.0060.00316.71
8.0.90.0040.00416.78
8.0.80.0110.01416.81
8.0.70.0000.00916.62
8.0.60.0000.00816.71
8.0.50.0090.00016.71
8.0.30.0190.01217.12
8.0.20.0220.00717.40
8.0.10.0090.00016.93
8.0.00.0140.01416.55
7.4.330.0060.00015.55
7.4.320.0040.00416.45
7.4.300.0000.00816.35
7.4.290.0060.00316.45
7.4.280.0090.00016.53
7.4.270.0040.00416.41
7.4.260.0000.00816.48
7.4.250.0040.00416.43
7.4.240.0060.00316.45
7.4.230.0090.00016.55
7.4.220.0080.02016.57
7.4.210.0160.01316.41
7.4.200.0030.00616.54
7.4.160.0190.00916.40
7.4.150.0230.00717.40
7.4.140.0210.01917.86
7.4.130.0180.01816.34
7.4.120.0170.01416.53
7.4.110.0240.01416.36
7.4.100.0170.01016.40
7.4.90.0220.01316.57
7.4.80.0110.01419.39
7.4.70.0220.01116.50
7.4.60.0130.01316.38
7.4.50.0090.00616.33
7.4.40.0170.01616.38
7.4.30.0180.00616.44
7.4.00.0160.00614.58
7.3.330.0040.00413.32
7.3.320.0000.00713.08
7.3.310.0000.00816.29
7.3.300.0030.00616.32
7.3.290.0090.01616.36
7.3.280.0130.00816.37
7.3.270.0120.01817.40
7.3.260.0220.00616.36
7.3.250.0180.00916.25
7.3.240.0160.01116.38
7.3.230.0060.02216.50
7.3.210.0100.01716.41
7.3.200.0250.00316.37
7.3.190.0080.01616.29
7.3.180.0160.02016.36
7.3.170.0150.01216.42
7.3.160.0150.01516.52
7.3.00.0110.00616.18
7.2.330.0260.00416.49
7.2.320.0060.01816.52
7.2.310.0150.01316.68
7.2.300.0120.01916.64
7.2.290.0170.00716.65
7.2.130.0100.00616.62
7.2.120.0070.01516.81
7.2.110.0100.00316.78
7.2.100.0090.00916.52
7.2.90.0210.00416.75
7.2.80.0100.00716.79
7.2.70.0060.01316.78
7.2.60.0150.00516.76
7.2.50.0060.01216.65
7.2.40.0130.00016.73
7.2.30.0090.01316.70
7.2.20.0090.00616.82
7.2.10.0110.00616.37
7.2.00.0100.01018.05
7.1.250.0100.01015.53
7.1.240.0100.00715.58
7.1.230.0100.01015.74
7.1.220.0070.00415.38
7.1.210.0060.00915.57
7.1.200.0050.01415.59
7.1.190.0030.01215.76
7.1.180.0100.01015.54
7.1.170.0060.00615.63
7.1.160.0090.00615.58
7.1.150.0060.01315.30
7.1.140.0090.01315.79
7.1.130.0040.00815.64
7.1.120.0110.01117.22
7.1.110.0130.00817.01
7.1.100.0100.01016.94
7.1.90.0090.00816.92
7.1.80.0050.01216.78
7.1.70.0080.01216.45
7.1.60.0130.00925.50
7.1.50.0140.00725.13
7.1.40.0120.01425.04
7.1.30.0150.01025.11
7.1.20.0130.01225.23
7.1.10.0080.00915.92
7.1.00.0100.00816.20
7.0.330.0110.00415.40
5.6.380.0090.00314.29

preferences:
50.21 ms | 400 KiB | 5 Q