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.70.0120.00618.40
8.3.60.0210.00018.43
8.3.50.0100.00617.17
8.3.40.0070.00718.90
8.3.30.0110.00418.75
8.3.20.0070.00021.90
8.3.10.0030.00523.70
8.3.00.0040.00421.82
8.2.190.0120.00416.58
8.2.180.0160.00616.38
8.2.170.0120.00322.96
8.2.160.0100.00322.03
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0000.00720.35
8.2.120.0080.00026.35
8.2.110.0030.00621.00
8.2.100.0120.00417.85
8.2.90.0030.00618.16
8.2.80.0030.00517.97
8.2.70.0050.00317.50
8.2.60.0080.00017.93
8.2.50.0120.00018.22
8.2.40.0000.00820.42
8.2.30.0030.00519.23
8.2.20.0040.00418.04
8.2.10.0000.00718.07
8.2.00.0040.00418.12
8.1.280.0110.00725.92
8.1.270.0000.00724.66
8.1.260.0030.00526.35
8.1.250.0000.00828.09
8.1.240.0060.00622.06
8.1.230.0090.00320.61
8.1.220.0080.00017.74
8.1.210.0080.00018.79
8.1.200.0060.00317.36
8.1.190.0060.00317.35
8.1.180.0000.00918.10
8.1.170.0040.00418.59
8.1.160.0030.00318.85
8.1.150.0000.00718.85
8.1.140.0000.00819.09
8.1.130.0030.00517.83
8.1.120.0030.00317.48
8.1.110.0040.00417.50
8.1.100.0000.00717.32
8.1.90.0070.00417.39
8.1.80.0070.00017.43
8.1.70.0030.00317.46
8.1.60.0040.00417.64
8.1.50.0070.00017.57
8.1.40.0000.00717.58
8.1.30.0030.00517.55
8.1.20.0040.00417.65
8.1.10.0030.00717.45
8.1.00.0050.00317.48
8.0.300.0040.00422.09
8.0.290.0000.00916.75
8.0.280.0030.00318.45
8.0.270.0070.00017.24
8.0.260.0030.00317.19
8.0.250.0060.00017.00
8.0.240.0000.00816.95
8.0.230.0070.00016.99
8.0.220.0070.00016.81
8.0.210.0000.00716.94
8.0.200.0000.00716.87
8.0.190.0080.00016.86
8.0.180.0000.00716.88
8.0.170.0060.00316.95
8.0.160.0030.00516.91
8.0.150.0070.00016.84
8.0.140.0070.00016.91
8.0.130.0030.00313.32
8.0.120.0040.00416.79
8.0.110.0040.00416.91
8.0.100.0040.00416.96
8.0.90.0040.00416.71
8.0.80.0110.00316.79
8.0.70.0040.00416.91
8.0.60.0040.00416.88
8.0.50.0000.00716.76
8.0.30.0120.00817.04
8.0.20.0130.01017.40
8.0.10.0000.00717.04
8.0.00.0080.01116.80
7.4.330.0020.00215.55
7.4.320.0020.00516.43
7.4.300.0030.00316.41
7.4.290.0040.00416.62
7.4.280.0060.00316.58
7.4.270.0030.00316.59
7.4.260.0000.00716.59
7.4.250.0030.00316.57
7.4.240.0040.00416.58
7.4.230.0000.00716.52
7.4.220.0040.00416.40
7.4.210.0080.00716.58
7.4.200.0070.00016.61
7.4.160.0110.00616.48
7.4.150.0110.01217.40
7.4.140.0150.00617.86
7.4.130.0070.01016.75
7.4.120.0120.01016.53
7.4.110.0120.00616.54
7.4.100.0060.01316.63
7.4.90.0070.01416.41
7.4.80.0110.00519.39
7.4.70.0090.01216.71
7.4.60.0100.00716.50
7.4.50.0120.00316.44
7.4.40.0030.01316.54
7.4.30.0100.00716.48
7.4.00.0100.00714.69
7.3.330.0030.00313.08
7.3.320.0030.00313.07
7.3.310.0000.00716.33
7.3.300.0040.00416.23
7.3.290.0070.00016.14
7.3.280.0110.00616.32
7.3.270.0170.00317.40
7.3.260.0100.00916.37
7.3.250.0110.00616.37
7.3.240.0090.00816.42
7.3.230.0070.01016.54
7.3.210.0090.00916.57
7.3.200.0180.00016.54
7.3.190.0140.00716.35
7.3.180.0070.01316.34
7.3.170.0070.01016.44
7.3.160.0130.00316.38
7.3.10.0060.00616.68
7.3.00.0060.00616.78
7.2.330.0110.00616.55
7.2.320.0090.00916.58
7.2.310.0070.01016.71
7.2.300.0130.00616.52
7.2.290.0060.01216.67
7.2.130.0100.00716.70
7.2.120.0030.01016.67
7.2.110.0070.01016.73
7.2.100.0070.01017.03
7.2.90.0030.01017.01
7.2.80.0070.00716.85
7.2.70.0090.00617.09
7.2.60.0050.00716.97
7.2.50.0100.00316.86
7.2.40.0030.01017.04
7.2.30.0070.00716.88
7.2.20.0030.00817.06
7.2.10.0060.00617.01
7.2.00.0610.01217.35
7.1.250.0000.00815.78
7.1.200.0130.00315.85
7.1.120.0190.00317.07
7.1.110.0240.00316.23
7.1.100.0230.00016.46
7.1.90.0200.00416.23
7.1.80.0180.01116.23
7.1.70.0180.01415.28
7.1.60.0280.01033.01
7.1.50.0290.01333.13
7.1.40.0250.01832.63
7.1.30.0390.00732.67
7.1.20.0200.02332.77
7.1.10.0160.01214.89
7.1.00.0420.01014.62

preferences:
71.69 ms | 401 KiB | 5 Q