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) { $t1['overallSeasons'][$season] = array_map( fn(...$col) => array_sum($col), ...array_values($t1['matches'][$season]) ); } 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.0110.00918.86
8.4.120.0060.00620.86
8.4.110.0110.00922.61
8.4.100.0150.00617.80
8.4.90.0100.01017.98
8.4.80.0030.00522.70
8.4.70.0100.00717.75
8.4.60.0110.00817.93
8.4.50.0180.00317.83
8.4.40.0060.01318.01
8.4.30.0040.00418.87
8.4.20.0170.00017.52
8.4.10.0030.00519.60
8.3.260.0120.00716.60
8.3.250.0120.00718.98
8.3.240.0120.00816.46
8.3.230.0120.00716.75
8.3.220.0160.00916.99
8.3.210.0120.01016.60
8.3.200.0030.00616.73
8.3.190.0130.00716.46
8.3.180.0100.00616.48
8.3.170.0120.00620.79
8.3.160.0130.00617.16
8.3.150.0040.00417.20
8.3.140.0030.00517.05
8.3.130.0030.00518.50
8.3.120.0120.00618.89
8.3.110.0100.01016.79
8.3.100.0040.00424.06
8.3.90.0040.00426.77
8.3.80.0090.00017.97
8.3.70.0110.00316.75
8.3.60.0060.01018.61
8.3.50.0070.01416.70
8.3.40.0030.01023.72
8.3.30.0100.00720.34
8.3.20.0050.00324.18
8.3.10.0120.00623.66
8.3.00.0110.00720.73
8.2.290.0100.00820.49
8.2.280.0160.00518.02
8.2.270.0120.00816.92
8.2.260.0040.00419.00
8.2.250.0030.01218.23
8.2.240.0070.01118.74
8.2.230.0030.00620.94
8.2.220.0090.00037.54
8.2.210.0040.00426.77
8.2.200.0060.00316.88
8.2.190.0120.00616.75
8.2.180.0090.00618.16
8.2.170.0040.01118.99
8.2.160.0100.00322.96
8.2.150.0040.00425.66
8.2.140.0060.00922.17
8.2.130.0070.01122.29
8.2.120.0070.01420.74
8.2.110.0160.00320.91
8.2.100.0110.00720.66
8.2.90.0160.00320.51
8.2.80.0090.00920.91
8.2.70.0160.00320.52
8.2.60.0100.00720.46
8.2.50.0150.00420.45
8.2.40.0040.01220.68
8.2.30.0040.01120.43
8.2.20.0140.00020.26
8.2.10.0070.00320.56
8.2.00.0030.00620.32
8.1.330.0110.00622.00
8.1.320.0100.01019.80
8.1.310.0120.00616.64
8.1.300.0090.00917.98
8.1.290.0000.00930.84
8.1.280.0210.00025.92
8.1.270.0110.00723.82
8.1.260.0040.01423.73
8.1.250.0090.00923.92
8.1.240.0060.00320.26
8.1.230.0090.00020.31
8.1.220.0120.00620.73
8.1.210.0150.00320.37
8.1.200.0000.00820.54
8.1.190.0130.00320.32
8.1.180.0040.00420.35
8.1.170.0080.00820.31
8.1.160.0090.00020.31
8.1.150.0040.00420.30
8.1.140.0100.00620.39
8.1.130.0060.00320.56
8.1.120.0080.00820.28
8.1.110.0030.00620.36
8.1.100.0060.00320.28
8.1.90.0030.00620.33
8.1.80.0040.01120.32
8.1.70.0080.00820.20
8.1.60.0040.00420.45
8.1.50.0120.00320.24
8.1.40.0150.00020.51
8.1.30.0040.00420.48
8.1.20.0000.00820.52
8.1.10.0040.00420.39
8.1.00.0030.00620.24

preferences:
14.28 ms | 403 KiB | 5 Q