3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t1 = array ( "basicInfo" => array ( "The Sineps", "December 25, 2010", "lemonpole" ), "overallRecord" => array ( 0, 0, 0, 0 ), "overallSeasons" => array ( "season1.cs" => array (0, 0, 0), "season2.cs" => array (0, 0, 0) ), "matches" => array ( "season1.cs" => array ( "week1" => array ("12", "3", "1"), "week2" => array ("8", "8" ,"0"), "week3" => array ("8", "8" ,"0") ), "season2.cs" => array ( "week1" => array ("9", "2", "5"), "week2" => array ("12", "2" ,"2") ) ) ); foreach ($t1['matches'] as $season => $weeks) { foreach ($weeks as [$w, $l, $d]) { $t1['overallSeasons'][$season][0] += $w; $t1['overallSeasons'][$season][1] += $l; $t1['overallSeasons'][$season][2] += $d; } } var_export($t1);

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.4.130.0100.01118.64
8.4.120.0130.00620.53
8.4.110.0050.00722.38
8.4.100.0130.00718.67
8.4.90.0130.00818.47
8.4.80.0110.00818.65
8.4.70.0170.00519.52
8.4.60.0110.00618.83
8.4.50.0050.00418.48
8.4.40.0130.00617.54
8.4.30.0040.00418.71
8.4.20.0080.00017.91
8.4.10.0050.00319.34
8.3.260.0120.00816.40
8.3.250.0110.00818.88
8.3.240.0090.01017.12
8.3.230.0140.00516.61
8.3.220.0110.00718.84
8.3.210.0070.00216.68
8.3.200.0030.00616.73
8.3.190.0100.00617.39
8.3.180.0110.00816.49
8.3.170.0090.00920.73
8.3.160.0040.01416.52
8.3.150.0040.00417.45
8.3.140.0110.00017.15
8.3.130.0030.00618.32
8.3.120.0090.00020.69
8.3.110.0080.00016.63
8.3.100.0110.00418.34
8.3.90.0040.00426.77
8.3.80.0060.00318.30
8.3.70.0070.01016.38
8.3.60.0070.01118.46
8.3.50.0140.00418.35
8.3.40.0030.01023.66
8.3.30.0070.00720.17
8.3.20.0040.00424.18
8.3.10.0110.00723.51
8.3.00.0160.00320.71
8.2.290.0100.01020.34
8.2.280.0120.00918.38
8.2.270.0090.00917.02
8.2.260.0080.00019.08
8.2.250.0160.00317.40
8.2.240.0150.00016.82
8.2.230.0100.00320.94
8.2.220.0000.00924.06
8.2.210.0000.00826.77
8.2.200.0110.00018.16
8.2.190.0040.01118.29
8.2.180.0110.00416.75
8.2.170.0040.01119.00
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0110.00722.25
8.2.130.0160.00322.25
8.2.120.0130.00720.80
8.2.110.0070.01320.95
8.2.100.0100.01020.88
8.2.90.0150.00020.55
8.2.80.0000.01421.04
8.2.70.0050.00320.48
8.2.60.0090.00620.54
8.2.50.0180.00020.57
8.2.40.0150.00020.51
8.2.30.0090.00020.55
8.2.20.0040.01120.61
8.2.10.0040.00420.56
8.2.00.0040.00420.38
8.1.330.0120.00622.01
8.1.320.0100.01116.48
8.1.310.0150.00316.58
8.1.300.0040.01117.57
8.1.290.0060.00330.84
8.1.280.0110.01125.92
8.1.270.0080.00023.97
8.1.260.0040.00423.90
8.1.250.0050.00323.79
8.1.240.0060.00320.35
8.1.230.0030.00620.39
8.1.220.0000.00820.57
8.1.210.0080.00020.29
8.1.200.0080.00020.63
8.1.190.0000.00820.29
8.1.180.0050.00520.21
8.1.170.0080.00020.40
8.1.160.0040.00420.26
8.1.150.0090.00020.34
8.1.140.0080.00020.30
8.1.130.0040.00420.47
8.1.120.0040.00420.46
8.1.110.0040.00420.45
8.1.100.0040.00420.45
8.1.90.0040.00420.34
8.1.80.0030.00520.33
8.1.70.0080.00020.46
8.1.60.0080.00020.48
8.1.50.0080.00020.41
8.1.40.0000.00820.45
8.1.30.0080.00020.45
8.1.20.0090.00020.52
8.1.10.0060.00320.48
8.1.00.0040.00420.27

preferences:
26.67 ms | 403 KiB | 5 Q