3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rows = [ ['id' => 1, 'code' => '342'], ['id' => 2, 'code' => '765'], ['id' => 3, 'code' => '134'], ['id' => 1, 'code' => '999'] ]; var_export( array_values(array_column($rows, null, 'id')) );

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.5.10.0100.00818.63
8.5.00.0100.01120.00
8.4.150.0020.00114.05
8.4.140.0130.00817.34
8.4.130.0040.00718.67
8.4.120.0060.00323.87
8.4.110.0080.01217.72
8.4.100.0130.00618.46
8.4.90.0130.00822.30
8.4.80.0110.00920.55
8.4.70.0040.00417.86
8.4.60.0140.00718.70
8.4.50.0110.00819.22
8.4.40.0100.00917.48
8.4.30.0160.00320.17
8.4.20.0040.01817.80
8.4.10.0040.00417.61
8.3.280.0130.00718.00
8.3.270.0120.00916.30
8.3.260.0060.00316.51
8.3.250.0080.01018.54
8.3.240.0140.00516.99
8.3.230.0120.00716.62
8.3.220.0040.00418.86
8.3.210.0060.00116.49
8.3.200.0140.00616.37
8.3.190.0120.00517.02
8.3.180.0110.00916.53
8.3.170.0090.00618.83
8.3.160.0140.00418.12
8.3.150.0160.00320.62
8.3.140.0040.01116.50
8.3.130.0140.00716.23
8.3.120.0050.00318.82
8.3.110.0090.00920.94
8.3.100.0070.00424.06
8.3.90.0050.00226.77
8.3.80.0060.00316.50
8.3.70.0160.00316.58
8.3.60.0120.00318.31
8.3.50.0160.00320.23
8.3.40.0140.00318.65
8.3.30.0090.00618.55
8.3.20.0070.00024.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.290.0110.00720.40
8.2.280.0090.00718.13
8.2.270.0040.00417.25
8.2.260.0000.00916.36
8.2.250.0070.00716.61
8.2.240.0060.00317.29
8.2.230.0000.00822.58
8.2.220.0120.00637.54
8.2.210.0110.00726.77
8.2.200.0040.00816.25
8.2.190.0120.00916.58
8.2.180.0130.00725.92
8.2.170.0090.00918.83
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0060.00318.66
8.2.110.0090.00021.11
8.2.100.0110.00017.56
8.2.90.0040.00419.12
8.2.80.0090.00017.97
8.2.70.0040.00417.49
8.2.60.0080.00017.92
8.2.50.0000.00818.07
8.2.40.0040.00418.16
8.2.30.0080.00017.92
8.2.20.0040.00420.32
8.2.10.0040.00417.52
8.2.00.0040.00419.26
8.1.330.0070.00422.01
8.1.320.0130.00516.10
8.1.310.0030.01216.45
8.1.300.0090.00018.29
8.1.290.0030.00630.84
8.1.280.0110.00425.92
8.1.270.0000.00823.99
8.1.260.0050.00326.35
8.1.250.0030.00528.09
8.1.240.0030.00717.52
8.1.230.0120.00019.01
8.1.220.0030.00517.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0030.00617.23
8.1.180.0050.00318.10
8.1.170.0050.00318.75
8.1.160.0060.00318.88
8.1.150.0000.00718.57
8.1.140.0090.00017.35
8.1.130.0000.00720.36
8.1.120.0000.00717.40
8.1.110.0030.00317.31
8.1.100.0000.00717.40
8.1.90.0000.00817.36
8.1.80.0100.00017.36
8.1.70.0040.00417.29
8.1.60.0000.00817.49
8.1.50.0050.00317.49
8.1.40.0040.00417.33
8.1.30.0040.00417.53
8.1.20.0040.00417.40
8.1.10.0080.00017.35
8.1.00.0070.00017.33
8.0.300.0000.00818.77
8.0.290.0050.00216.63
8.0.280.0050.00518.36
8.0.270.0080.00016.73
8.0.260.0080.00018.43
8.0.250.0050.00316.84
8.0.240.0040.00416.84
8.0.230.0030.00316.95
8.0.220.0030.00316.70
8.0.210.0000.00816.73
8.0.200.0030.00316.81
8.0.190.0040.00716.91
8.0.180.0030.00516.70
8.0.170.0090.00016.82
8.0.160.0030.00516.79
8.0.150.0030.00316.61
8.0.140.0030.00316.59
8.0.130.0000.00716.61
8.0.120.0030.00316.76
8.0.110.0000.00716.80
8.0.100.0000.00716.75
8.0.90.0040.00416.72
8.0.80.0030.00316.79
8.0.70.0030.00316.79
8.0.60.0000.00716.71
8.0.50.0000.00716.64
8.0.30.0030.00316.85
8.0.20.0030.00316.76
8.0.10.0070.00016.95
7.4.330.0000.00615.55
7.4.320.0040.00416.43
7.4.300.0060.00016.49
7.4.290.0000.00716.41
7.4.280.0040.00416.55
7.4.270.0000.00616.34
7.4.260.0030.00316.46
7.4.250.0000.00616.48
7.4.240.0030.00316.46
7.4.230.0000.00616.45
7.4.220.0030.00316.43
7.4.210.0000.00616.45
7.4.200.0060.00016.32
7.4.190.0000.00716.38
7.4.180.0070.00016.44
7.4.160.0040.00416.47
7.4.150.0040.00416.41
7.4.140.0030.00316.22
7.4.130.0050.00216.36
7.4.120.0070.00016.29
7.4.110.0040.00416.24
7.4.100.0070.00016.39
7.4.90.0070.00016.26
7.4.80.0000.00616.29
7.4.70.0080.00016.26
7.4.60.0000.00816.38
7.4.50.0000.00816.18
7.4.40.0080.00016.19
7.4.30.0000.00816.22
7.4.20.0050.00216.31
7.4.10.0040.00416.34
7.4.00.0000.00716.36

preferences:
150.69 ms | 403 KiB | 5 Q