3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'tag_name' => 'google', 'status' => TRUE ), array( 'tag_name' => 'technology', 'status' => FALSE ) ); echo implode(', ', array_map(function ($entry) { return $entry['tag_name']; }, $input));

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.0140.00716.63
8.3.50.0110.00722.05
8.3.40.0140.00418.84
8.3.30.0110.00318.70
8.3.20.0040.00420.35
8.3.10.0040.00423.48
8.3.00.0030.00619.15
8.2.180.0120.00918.17
8.2.170.0100.01022.96
8.2.160.0070.01120.38
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0110.00819.95
8.2.110.0030.00720.54
8.2.100.0040.00818.05
8.2.90.0030.00619.35
8.2.80.0080.00017.97
8.2.70.0060.00317.63
8.2.60.0000.01217.90
8.2.50.0040.00418.07
8.2.40.0080.00019.41
8.2.30.0070.00020.62
8.2.20.0040.00417.62
8.2.10.0070.00018.04
8.2.00.0030.00618.02
8.1.280.0090.00925.92
8.1.270.0030.00523.96
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00619.25
8.1.230.0070.00417.78
8.1.220.0050.00317.77
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0030.00617.23
8.1.180.0070.00018.10
8.1.170.0000.00918.72
8.1.160.0040.00421.93
8.1.150.0000.00818.94
8.1.140.0060.00319.50
8.1.130.0050.00317.70
8.1.120.0080.00017.43
8.1.110.0040.00417.50
8.1.100.0100.00017.37
8.1.90.0040.00417.50
8.1.80.0000.00717.42
8.1.70.0050.00217.46
8.1.60.0040.00417.61
8.1.50.0040.00417.54
8.1.40.0000.00817.57
8.1.30.0030.00517.67
8.1.20.0020.00517.61
8.1.10.0000.00817.55
8.1.00.0030.00517.52
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.43
8.0.270.0080.00017.26
8.0.260.0000.00617.25
8.0.250.0030.00316.98
8.0.240.0030.00316.88
8.0.230.0070.00016.96
8.0.220.0030.00316.82
8.0.210.0030.00516.79
8.0.200.0060.00016.99
8.0.190.0000.00716.96
8.0.180.0030.00516.80
8.0.170.0040.00416.85
8.0.160.0030.00316.76
8.0.150.0070.00016.89
8.0.140.0050.00316.85
8.0.130.0030.00313.35
8.0.120.0040.00416.87
8.0.110.0000.00716.72
8.0.100.0090.00016.79
8.0.90.0040.00416.95
8.0.80.0130.00316.83
8.0.70.0000.00716.89
8.0.60.0030.00316.78
8.0.50.0000.00716.69
8.0.30.0140.00417.18
8.0.20.0110.01017.40
8.0.10.0040.00416.95
8.0.00.0090.00816.82
7.4.330.0000.00615.08
7.4.320.0000.00616.45
7.4.300.0000.00716.40
7.4.290.0060.00016.64
7.4.280.0040.00416.60
7.4.270.0100.00016.51
7.4.260.0020.00516.50
7.4.250.0060.00316.48
7.4.240.0030.00516.50
7.4.230.0040.00416.34
7.4.220.0110.00716.47
7.4.210.0070.01016.58
7.4.200.0030.00316.60
7.4.160.0140.00716.54
7.4.150.0100.00717.40
7.4.140.0130.01017.86
7.4.130.0070.01016.63
7.4.120.0090.00816.55
7.4.110.0070.01416.47
7.4.100.0100.01016.49
7.4.90.0070.01016.74
7.4.80.0110.00719.39
7.4.70.0130.00616.50
7.4.60.0160.00016.52
7.4.50.0030.00516.51
7.4.40.0140.00416.49
7.4.30.0110.00616.50
7.4.00.0030.01414.96
7.3.330.0030.00313.30
7.3.320.0030.00313.13
7.3.310.0000.00716.34
7.3.300.0030.00516.14
7.3.290.0070.00916.20
7.3.280.0090.00916.25
7.3.270.0100.00717.40
7.3.260.0090.00916.13
7.3.240.0090.00916.30
7.3.230.0150.00916.53
7.3.210.0150.00716.25
7.3.200.0180.00016.47
7.3.190.0000.01916.30
7.3.180.0150.00616.27
7.3.170.0060.00916.29
7.3.160.0100.00616.51
7.3.10.0090.00316.66
7.3.00.0040.00416.58
7.2.330.0060.01916.39
7.2.320.0070.01316.68
7.2.310.0130.00316.58
7.2.300.0140.00916.54
7.2.290.0100.00716.55
7.2.130.0120.00617.05
7.2.120.0000.01116.96
7.2.110.0030.01016.59
7.2.100.0080.00416.94
7.2.90.0060.00317.02
7.2.80.0040.00716.95
7.2.70.0070.00716.89
7.2.60.0050.00816.46
7.2.50.0120.00317.04
7.2.40.0070.00316.89
7.2.30.0000.01216.61
7.2.20.0080.00816.85
7.2.10.0060.00316.83
7.2.00.0050.01018.30
7.1.250.0030.00615.87
7.1.200.0030.01015.88
7.1.100.0060.00918.12
7.1.70.0000.00717.15
7.1.60.0070.01719.43
7.1.50.0170.00716.56
7.1.00.0070.07022.28
7.0.200.0240.00414.59
7.0.60.0070.06319.94
7.0.50.0070.05717.86
7.0.40.0100.04320.18
7.0.30.0070.04020.23
7.0.20.0270.08020.05
7.0.10.0130.08020.25
7.0.00.0030.05720.24
5.6.280.0030.06321.11
5.6.210.0070.08720.47
5.6.200.0100.05318.14
5.6.190.0070.06720.61
5.6.180.0300.06020.57
5.6.170.0330.07320.47
5.6.160.0070.05720.43
5.6.150.0100.07718.23
5.6.140.0030.04018.14
5.6.130.0070.04018.15
5.6.120.0000.04321.02
5.6.110.0000.04321.11
5.6.100.0100.08021.11
5.6.90.0130.05720.88
5.6.80.0070.07720.54
5.5.350.0300.07320.39
5.5.340.0100.05018.07
5.5.330.0000.09320.31
5.5.320.0270.03020.30
5.5.310.0300.05020.29
5.5.300.0070.05017.98
5.5.290.0130.07317.95
5.5.280.0100.08020.65
5.5.270.0100.08020.68
5.5.260.0170.05320.88
5.5.250.0130.07020.62
5.5.240.0130.07020.15
5.4.450.0700.06019.39
5.4.440.0600.05719.59
5.4.430.0600.05319.59
5.4.420.0530.06019.16
5.4.410.0830.03319.13
5.4.400.0670.04719.10
5.4.390.0530.06319.11
5.4.380.0630.05019.23
5.4.370.0600.05319.10
5.4.360.0600.05318.89
5.4.350.0570.05319.07
5.4.340.0530.05019.20
5.4.320.0530.05019.02
5.4.310.0600.04319.13
5.4.300.0530.05019.00
5.4.290.0570.05019.05
5.4.280.0500.05718.93
5.4.270.0570.04718.93
5.4.260.0530.06319.27
5.4.250.0730.04018.87
5.4.240.0600.05319.18
5.4.230.0630.04719.27
5.4.220.0630.05319.05
5.4.210.0630.04719.32
5.4.200.0470.05719.35
5.4.190.0500.05019.00
5.4.180.0500.05018.92
5.4.170.0530.05319.09
5.4.160.0770.05019.07
5.4.150.0630.04319.05
5.4.140.0570.04716.33
5.4.130.0500.05016.41
5.4.120.0600.04316.32
5.4.110.0570.05716.48
5.4.100.0570.05716.41
5.4.90.0630.06016.47
5.4.80.0600.04716.54
5.4.70.0530.05016.58
5.4.60.0630.04716.44
5.4.50.0630.05016.48
5.4.40.0430.06316.54
5.4.30.0670.06316.57
5.4.20.0500.05016.53
5.4.10.0530.04716.57
5.4.00.0500.04715.89

preferences:
52.44 ms | 401 KiB | 5 Q