3v4l.org

run code in 300+ PHP versions simultaneously
<?php $results = array ( array( 'body' => 'somevalue1', 'title' => 'somevalue1', 'type' => 'foo' ), array( 'body' => 'somevalue2', 'title' => 'somevalue2', 'type' => 'foo' ), array( 'body' => 'somevalue3', 'title' => 'somevalue3', 'type' => 'bar' ), array( 'body' => 'somevalue4', 'title' => 'somevalue4', 'type' => 'foobar' ), array( 'body' => 'somevalue5', 'title' => 'somevalue5', 'type' => 'foobar' ), array( 'body' => 'somevalue6', 'title' => 'somevalue6', 'type' => 'foobar' ), ); foreach($results as $a){ $output[$a['type']][]=array_slice($a,0,2); } var_export($output);

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.0070.01318.30
8.3.50.0070.01516.75
8.3.40.0070.01118.50
8.3.30.0070.01018.71
8.3.20.0070.00021.89
8.3.10.0080.00023.56
8.3.00.0080.00021.85
8.2.180.0120.00916.63
8.2.170.0160.00322.96
8.2.160.0100.00322.27
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00420.38
8.2.120.0020.00526.35
8.2.110.0060.00322.11
8.2.100.0060.00619.57
8.2.90.0000.00817.75
8.2.80.0000.00918.96
8.2.70.0000.00817.93
8.2.60.0000.00817.75
8.2.50.0000.00817.55
8.2.40.0080.00019.52
8.2.30.0080.00019.18
8.2.20.0040.00417.98
8.2.10.0050.00217.96
8.2.00.0040.00418.07
8.1.270.0080.00022.14
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.91
8.1.230.0040.00819.10
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0080.00017.23
8.1.190.0050.00317.22
8.1.180.0000.00818.10
8.1.170.0070.00018.94
8.1.160.0050.00218.82
8.1.150.0000.00718.89
8.1.140.0000.00719.08
8.1.130.0000.00717.84
8.1.120.0030.00317.50
8.1.110.0090.00017.36
8.1.100.0070.00017.46
8.1.90.0040.00717.46
8.1.80.0000.00717.49
8.1.70.0030.00317.42
8.1.60.0040.00417.57
8.1.50.0040.00417.54
8.1.40.0020.00517.41
8.1.30.0080.00017.57
8.1.20.0030.00517.60
8.1.10.0040.00717.43
8.1.00.0000.00817.45
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00818.51
8.0.270.0030.00317.32
8.0.260.0030.00317.15
8.0.250.0040.00417.00
8.0.240.0040.00417.02
8.0.230.0040.00416.96
8.0.220.0070.00016.80
8.0.210.0000.00816.86
8.0.200.0030.00316.96
8.0.190.0030.00616.94
8.0.180.0030.00516.85
8.0.170.0040.00416.80
8.0.160.0030.00516.84
8.0.150.0040.00416.73
8.0.140.0000.00716.91
8.0.130.0000.00513.33
8.0.120.0000.00716.82
8.0.110.0030.00516.81
8.0.100.0020.00516.75
8.0.90.0040.00416.93
8.0.80.0050.01016.91
8.0.70.0040.00416.87
8.0.60.0040.00416.75
8.0.50.0000.00716.76
8.0.30.0070.01216.98
8.0.20.0090.01117.40
8.0.10.0050.00316.96
8.0.00.0140.00416.72
7.4.330.0040.00015.55
7.4.320.0030.00316.47
7.4.300.0030.00316.61
7.4.290.0000.00716.59
7.4.280.0090.00016.41
7.4.270.0070.00016.46
7.4.260.0040.00416.49
7.4.250.0050.00216.62
7.4.240.0000.00716.61
7.4.230.0070.00016.63
7.4.220.0000.00716.54
7.4.210.0080.00816.56
7.4.200.0040.00416.41
7.4.160.0050.01316.51
7.4.150.0130.00617.40
7.4.140.0080.01117.86
7.4.130.0060.01816.66
7.4.120.0110.01016.44
7.4.110.0040.01216.43
7.4.100.0130.00316.48
7.4.90.0090.01116.50
7.4.80.0150.00619.39
7.4.70.0090.00916.48
7.4.60.0090.00916.54
7.4.50.0060.00616.38
7.4.40.0060.01216.39
7.4.30.0080.01316.63
7.4.00.0030.00914.96
7.3.330.0000.00513.25
7.3.320.0060.00013.07
7.3.310.0030.00516.42
7.3.300.0000.00616.42
7.3.290.0000.00716.38
7.3.280.0090.01116.30
7.3.270.0120.01217.40
7.3.260.0100.00816.50
7.3.250.0090.00916.55
7.3.240.0110.01016.48
7.3.230.0090.00816.38
7.3.210.0100.00716.23
7.3.200.0100.01016.47
7.3.190.0100.01016.39
7.3.180.0080.00816.37
7.3.170.0130.00316.60
7.3.160.0060.00916.52
7.2.330.0030.01516.46
7.2.320.0070.01016.38
7.2.310.0060.01216.52
7.2.300.0040.01316.58
7.2.290.0080.00816.70
7.2.60.0080.00817.11
7.2.00.0280.00818.16
7.1.200.0060.00615.89
7.1.120.0210.01516.61
7.1.110.0190.01516.28
7.1.100.0400.01315.89
7.1.90.0130.01316.14
7.1.80.0190.00916.38
7.1.70.0180.00715.26
7.1.60.0270.01233.44
7.1.50.0400.00732.99
7.1.40.0340.00932.54
7.1.30.0370.01132.69
7.1.20.0300.02032.63
7.1.10.0310.00614.90
7.1.00.0220.00614.89

preferences:
68.32 ms | 400 KiB | 5 Q