3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array( 'leg1'=>'1', 'leg2'=>'2', 'leg3'=>'3', 'leg4'=>'4', 'leg5'=>'5'); while($current = current($a)) { echo $current . "... "; $next = next($a); $nextnext = next($a); echo $next."<>"; echo $nextnext; }

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.70.0110.00416.75
8.3.60.0140.00718.28
8.3.50.0100.00517.36
8.3.40.0100.00718.81
8.3.30.0140.00018.63
8.3.20.0070.00020.20
8.3.10.0090.00623.48
8.3.00.0040.00419.69
8.2.180.0150.00316.50
8.2.170.0130.00322.96
8.2.160.0070.00719.05
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0050.00319.37
8.2.120.0040.00426.35
8.2.110.0080.00022.20
8.2.100.0060.00617.78
8.2.90.0000.00819.22
8.2.80.0060.00317.97
8.2.70.0090.00017.50
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0030.00520.59
8.2.30.0000.00819.24
8.2.20.0000.00718.10
8.2.10.0050.00218.02
8.2.00.0000.00818.17
8.1.280.0070.00725.92
8.1.270.0040.00422.19
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0090.00023.88
8.1.230.0080.00318.98
8.1.220.0040.00417.77
8.1.210.0030.00518.77
8.1.200.0060.00317.13
8.1.190.0060.00317.36
8.1.180.0050.00318.10
8.1.170.0040.00418.59
8.1.160.0040.00419.01
8.1.150.0000.00720.62
8.1.140.0040.00719.43
8.1.130.0000.00818.73
8.1.120.0040.00417.39
8.1.110.0070.00017.32
8.1.100.0040.00417.41
8.1.90.0000.00717.45
8.1.80.0040.00417.28
8.1.70.0030.00517.34
8.1.60.0000.00917.38
8.1.50.0080.00017.39
8.1.40.0000.00817.46
8.1.30.0040.00417.52
8.1.20.0060.00317.60
8.1.10.0000.00917.53
8.1.00.0000.00817.33
8.0.300.0070.00019.63
8.0.290.0060.00316.75
8.0.280.0070.00018.44
8.0.270.0030.00317.25
8.0.260.0000.00616.81
8.0.250.0000.00717.01
8.0.240.0040.00416.94
8.0.230.0030.00316.94
8.0.220.0000.00716.95
8.0.210.0040.00416.84
8.0.200.0050.00316.94
8.0.190.0040.00417.00
8.0.180.0030.00516.95
8.0.170.0000.00816.84
8.0.160.0000.00716.89
8.0.150.0040.00416.84
8.0.140.0060.00316.85
8.0.130.0030.00313.36
8.0.120.0080.00016.87
8.0.110.0040.00416.68
8.0.100.0000.00816.82
8.0.90.0070.00016.89
8.0.80.0130.00316.88
8.0.70.0070.00016.83
8.0.60.0000.00716.77
8.0.50.0040.00416.77
8.0.30.0070.01017.05
8.0.20.0130.00717.40
8.0.10.0040.00416.99
8.0.00.0090.00916.89
7.4.330.0050.00015.55
7.4.320.0000.00716.44
7.4.300.0030.00316.50
7.4.290.0000.01016.52
7.4.280.0030.00316.44
7.4.270.0040.00416.52
7.4.260.0030.00316.55
7.4.250.0030.00316.35
7.4.240.0040.00416.45
7.4.230.0000.00716.61
7.4.220.0070.01116.46
7.4.210.0100.00916.30
7.4.200.0040.00416.41
7.4.160.0050.01316.48
7.4.150.0110.01117.40
7.4.140.0100.00717.86
7.4.130.0070.01016.24
7.4.120.0110.01016.47
7.4.110.0060.01516.48
7.4.100.0090.00916.32
7.4.90.0160.00716.38
7.4.80.0100.00719.39
7.4.70.0110.00516.43
7.4.60.0100.01016.33
7.4.50.0070.01016.54
7.4.40.0100.00716.27
7.4.30.0070.01016.41
7.4.00.0060.00714.82
7.3.330.0050.00013.00
7.3.320.0000.00512.95
7.3.310.0040.00416.13
7.3.300.0030.00316.24
7.3.290.0070.00716.26
7.3.280.0080.01016.20
7.3.270.0140.00317.40
7.3.260.0070.01316.37
7.3.250.0140.00316.29
7.3.240.0100.00716.50
7.3.230.0070.01016.56
7.3.210.0040.01216.54
7.3.200.0030.01316.20
7.3.190.0130.00816.43
7.3.180.0100.00716.32
7.3.170.0100.01316.54
7.3.160.0060.01016.21
7.3.120.0120.00614.48
7.3.110.0070.01314.81
7.3.100.0070.00714.88
7.3.90.0040.01114.91
7.3.80.0000.01315.16
7.3.70.0090.00614.46
7.3.60.0100.00614.91
7.3.50.0000.01614.75
7.3.40.0140.00014.68
7.3.30.0060.00314.75
7.3.20.0000.01216.50
7.3.10.0110.00416.63
7.3.00.0120.00616.54
7.2.330.0120.00616.62
7.2.320.0090.00916.39
7.2.310.0040.01216.43
7.2.300.0090.01516.52
7.2.290.0100.01316.79
7.2.250.0060.01214.83
7.2.240.0000.02015.29
7.2.230.0120.00314.97
7.2.220.0070.00314.86
7.2.210.0090.00615.03
7.2.200.0030.00715.23
7.2.190.0120.00615.14
7.2.180.0040.00815.12
7.2.170.0040.01115.03
7.2.60.0740.01014.82
7.2.00.0000.01419.43
7.1.330.0000.01316.07
7.1.320.0060.00616.00
7.1.310.0000.01415.56
7.1.300.0000.01615.88
7.1.290.0030.01015.91
7.1.280.0050.00515.55
7.1.270.0060.00315.65
7.1.260.0030.01015.77
7.1.200.0040.00815.64
7.1.100.0030.01018.18
7.1.70.0210.01815.29
7.1.60.0490.01333.35
7.1.50.0510.01632.84
7.1.40.0470.01232.44
7.1.30.0370.02232.56
7.1.20.0400.00932.84
7.1.10.0220.00814.82
7.1.00.0200.01314.80
7.0.200.0350.01015.06
7.0.190.0200.01014.93
7.0.180.0220.01814.58
7.0.170.0140.01914.29
7.0.160.0220.00714.35
7.0.150.0230.00514.26
7.0.140.0250.01014.49
7.0.130.0130.01614.67
7.0.120.0160.01014.57
7.0.110.0170.01714.47
7.0.100.0180.01414.50
7.0.90.0220.01314.59
7.0.80.0240.00614.49
7.0.70.0280.00614.66
7.0.60.0410.01214.41
7.0.50.0250.01414.57
7.0.40.0310.00714.90
7.0.30.0230.01514.67
7.0.20.0820.01014.53
7.0.10.0370.00914.36
7.0.00.0270.00814.66

preferences:
36.82 ms | 401 KiB | 5 Q