3v4l.org

run code in 300+ PHP versions simultaneously
<?php $status='[ { "value":"New", "no_delete":true, "disabled":null, "resource":"4eb2df", "email":null }, { "value":"Assigned", "no_delete":true, "disabled":null, "resource":"4c85b6", "email":1 }, { "value":"Dispatched", "no_delete":true, "disabled":null, "resource":"a382d1", "email":"1" }, { "value":"Scheduled", "no_delete":true, "disabled":null, "resource":"75b4eb", "email":"1" }, { "value":"In-Progress", "no_delete":true, "disabled":null, "resource":"e48f8f", "email":"1" } ]'; $json = json_decode($status, true); //return an array foreach ($status as $key => $value) { if($value['value'] == 'Dispatched') { unset($json[$key]); } } $status = json_encode($json);

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.0120.00316.50
8.3.50.0130.00521.26
8.3.40.0140.00318.55
8.3.30.0140.00019.00
8.3.20.0040.00420.25
8.3.10.0040.00423.41
8.3.00.0060.00317.38
8.2.180.0110.00716.60
8.2.170.0100.00322.96
8.2.160.0070.00720.39
8.2.150.0050.00324.18
8.2.140.0070.00724.66
8.2.130.0040.00426.16
8.2.120.0090.00020.95
8.2.110.0030.00619.09
8.2.100.0070.00617.75
8.2.90.0040.00419.27
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0060.00317.68
8.2.50.0040.00418.07
8.2.40.0030.00519.95
8.2.30.0070.00017.95
8.2.20.0000.00717.71
8.2.10.0070.00018.01
8.2.00.0040.00418.00
8.1.280.0040.01425.92
8.1.270.0080.00620.23
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00422.69
8.1.230.0110.00017.70
8.1.220.0050.00317.79
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.25
8.1.180.0070.00018.10
8.1.170.0040.00418.61
8.1.160.0040.00422.03
8.1.150.0000.00718.91
8.1.140.0040.00417.52
8.1.130.0040.00417.68
8.1.120.0070.00017.36
8.1.110.0040.00417.52
8.1.100.0000.00717.36
8.1.90.0040.00417.47
8.1.80.0040.00817.41
8.1.70.0000.00717.36
8.1.60.0000.00817.59
8.1.50.0000.00917.55
8.1.40.0040.00417.38
8.1.30.0030.00517.69
8.1.20.0000.00817.70
8.1.10.0070.00017.43
8.1.00.0090.00017.34
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00518.50
8.0.270.0040.00417.21
8.0.260.0030.00317.20
8.0.250.0030.00616.93
8.0.240.0030.00317.07
8.0.230.0050.00317.00
8.0.220.0040.00416.96
8.0.210.0070.00016.96
8.0.200.0000.00617.07
8.0.190.0000.00717.05
8.0.180.0000.01116.82
8.0.170.0040.00416.90
8.0.160.0080.00016.97
8.0.150.0000.00816.75
8.0.140.0040.00416.88
8.0.130.0030.00313.32
8.0.120.0030.00616.80
8.0.110.0050.00216.87
8.0.100.0000.00716.74
8.0.90.0080.00017.03
8.0.80.0130.00316.91
8.0.70.0050.00217.07
8.0.60.0000.00716.92
8.0.50.0030.00516.83
8.0.30.0100.00917.19
8.0.20.0110.00817.40
8.0.10.0040.00417.14
8.0.00.0080.01116.74
7.4.330.0000.00615.03
7.4.320.0030.00316.43
7.4.300.0040.00416.43
7.4.290.0070.00016.53
7.4.280.0040.00416.40
7.4.270.0000.00616.47
7.4.260.0070.00016.48
7.4.250.0000.00816.53
7.4.240.0010.00616.49
7.4.230.0000.00716.49
7.4.220.0040.01416.59
7.4.210.0070.00716.55
7.4.200.0030.00316.59
7.4.160.0120.00616.56
7.4.150.0100.00717.40
7.4.140.0140.00617.86
7.4.130.0150.00916.41
7.4.120.0070.01116.53
7.4.110.0100.01316.54
7.4.100.0120.01216.28
7.4.90.0130.01016.38
7.4.80.0090.00919.39
7.4.70.0130.00416.60
7.4.60.0060.00916.48
7.4.50.0040.00016.68
7.4.40.0030.01316.66
7.4.30.0030.01516.49
7.4.00.0070.01015.01
7.3.330.0000.00713.20
7.3.320.0030.00212.96
7.3.310.0070.00016.12
7.3.300.0030.00316.18
7.3.290.0080.00816.29
7.3.280.0070.00916.27
7.3.270.0060.01217.40
7.3.260.0170.00716.54
7.3.240.0070.01016.41
7.3.230.0090.01316.39
7.3.210.0130.00316.42
7.3.200.0110.01419.39
7.3.190.0060.01316.44
7.3.180.0170.00616.54
7.3.170.0090.00916.46
7.3.160.0130.00716.33
7.2.330.0140.00316.45
7.2.320.0120.00916.74
7.2.310.0100.00616.43
7.2.300.0100.00716.49
7.2.290.0090.01016.66
7.2.00.0060.00919.32
7.1.200.0060.00915.72
7.1.100.0070.00418.21
7.1.70.0050.00217.31
7.1.60.0070.00717.25
7.1.50.0170.02334.86
7.1.00.0030.07322.25
7.0.200.0110.00716.84
7.0.90.0470.03019.89
7.0.80.0470.03719.93
7.0.70.0430.03719.96
7.0.60.0470.06019.88
7.0.50.0430.03720.30
7.0.40.0070.03720.14
7.0.30.0000.04720.09
7.0.20.0000.04320.05
7.0.10.0070.03720.14
7.0.00.0070.04020.14
5.6.280.0070.07021.07
5.6.240.0000.04320.64
5.6.230.0030.04020.65
5.6.220.0100.03720.62
5.6.210.0030.04020.75
5.6.200.0100.03721.04
5.6.190.0030.04021.03
5.6.180.0070.03721.04
5.6.170.0030.03720.93
5.6.160.0030.04720.93
5.6.150.0000.04320.90
5.6.140.0130.02721.01
5.6.130.0100.08021.02
5.6.120.0000.07721.04
5.6.110.0030.08320.93
5.6.100.0070.04321.04
5.6.90.0070.06321.01
5.6.80.0100.03720.34
5.6.70.0070.07720.33
5.6.60.0030.08320.30
5.6.50.0030.04320.46
5.6.40.0000.08720.43
5.6.30.0100.06020.44
5.6.20.0230.06320.40
5.6.10.0030.07320.37
5.6.00.0030.05720.45
5.5.380.0030.04020.48
5.5.370.0130.03020.35
5.5.360.0030.04320.35
5.5.350.0130.03020.42
5.5.340.0070.04020.76
5.5.330.0070.03720.79
5.5.320.0070.03720.88
5.5.310.0070.07020.77
5.5.300.0070.03720.88
5.5.290.0030.09320.91
5.5.280.0100.08020.76
5.5.270.0200.06720.90
5.5.260.0070.05020.72
5.5.250.0100.05020.63
5.5.240.0170.07320.13
5.5.230.0130.06720.28
5.5.220.0070.05720.29
5.5.210.0070.06020.21
5.5.200.0030.04720.18
5.5.190.0070.07720.12
5.5.180.0000.09020.14
5.5.160.0070.07020.27
5.5.150.0100.06020.14
5.5.140.0200.04720.20
5.5.130.0030.07320.21
5.5.120.0000.08020.14
5.5.110.0130.03720.16
5.5.100.0100.07719.95
5.5.90.0030.06020.07
5.5.80.0030.05320.01
5.5.70.0130.07020.05
5.5.60.0030.05019.93
5.5.50.0100.06020.08
5.5.40.0100.05020.02
5.5.30.0130.06020.12
5.5.20.0070.04320.14
5.5.10.0070.04020.07
5.5.00.0100.07320.04
5.4.450.0130.03319.44
5.4.440.0130.06019.40
5.4.430.0070.04719.34
5.4.420.0130.07019.25
5.4.410.0070.04319.31
5.4.400.0070.05018.98
5.4.390.0100.07719.14
5.4.380.0030.06318.96
5.4.370.0030.06019.23
5.4.360.0030.05719.14
5.4.350.0030.08019.23
5.4.340.0070.07718.93
5.4.320.0100.06319.23
5.4.310.0100.04719.14
5.4.300.0030.04019.09
5.4.290.0070.04719.13
5.4.280.0000.06018.98
5.4.270.0130.07018.83
5.4.260.0130.07319.27
5.4.250.0170.06319.09
5.4.240.0130.05319.09
5.4.230.0070.05319.22
5.4.220.0100.07719.02
5.4.210.0070.04719.09
5.4.200.0030.05719.06
5.4.190.0030.08318.96
5.4.180.0170.04319.06
5.4.170.0030.07319.13
5.4.160.0070.04319.05
5.4.150.0030.05319.09
5.4.140.0070.04316.08
5.4.130.0030.05016.28
5.4.120.0030.06316.31
5.4.110.0100.07716.34
5.4.100.0070.07716.31
5.4.90.0070.05016.25
5.4.80.0000.04016.32
5.4.70.0030.04016.41
5.4.60.0030.04316.33
5.4.50.0070.03716.23
5.4.40.0100.06016.44
5.4.30.0100.07016.38
5.4.20.0130.07016.44
5.4.10.0070.04716.27
5.4.00.0030.04315.46
5.3.290.0070.08014.52
5.3.280.0100.06014.61
5.3.270.0070.07714.44
5.3.260.0070.04314.62
5.3.250.0030.05014.61
5.3.240.0170.06014.59
5.3.230.0100.07014.56
5.3.220.0070.04014.57
5.3.210.0130.03714.57
5.3.200.0030.04314.57
5.3.190.0030.04014.52
5.3.180.0030.04714.52
5.3.170.0070.07014.39
5.3.160.0030.07014.56
5.3.150.0030.05014.55
5.3.140.0030.03714.43
5.3.130.0100.05314.49
5.3.120.0030.04714.54
5.3.110.0030.05714.55
5.3.100.0030.04013.90
5.3.90.0030.03713.86
5.3.80.0100.03313.79
5.3.70.0100.06713.77
5.3.60.0070.07713.99
5.3.50.0000.05313.95
5.3.40.0070.06313.81
5.3.30.0070.06313.82
5.3.20.0070.05013.63
5.3.10.0030.07313.64
5.3.00.0100.07013.58
5.2.170.0030.03311.18
5.2.160.0070.06310.96
5.2.150.0100.05711.13
5.2.140.0030.04710.98
5.2.130.0030.06011.13
5.2.120.0070.06311.09
5.2.110.0070.06010.98
5.2.100.0030.06311.09
5.2.90.0030.06310.96
5.2.80.0030.05311.09
5.2.70.0030.06311.02
5.2.60.0030.03710.88
5.2.50.0130.03711.01
5.2.40.0030.05710.86
5.2.30.0070.03310.98
5.2.20.0000.04011.01
5.2.10.0130.04310.88
5.2.00.0030.04710.64
5.1.60.0070.05010.04
5.1.50.0030.06010.00
5.1.40.0030.0339.81
5.1.30.0000.03010.26
5.1.20.0030.02710.30
5.1.10.0070.03310.05
5.1.00.0070.04310.06
5.0.50.0070.0438.61
5.0.40.0000.0338.29
5.0.30.0030.0608.21
5.0.20.0100.0308.22
5.0.10.0070.0438.19
5.0.00.0100.0608.21
4.4.90.0070.0338.19
4.4.80.0000.0238.19
4.4.70.0000.0408.19
4.4.60.0000.0308.19
4.4.50.0030.0238.19
4.4.40.0070.0478.19
4.4.30.0000.0278.19
4.4.20.0030.0208.19
4.4.10.0070.0278.19
4.4.00.0000.0308.19
4.3.110.0000.0378.19
4.3.100.0000.0208.19
4.3.90.0030.0278.19
4.3.80.0000.0478.19
4.3.70.0000.0178.19
4.3.60.0000.0178.19
4.3.50.0030.0308.19
4.3.40.0070.0338.19
4.3.30.0030.0208.19
4.3.20.0000.0208.19
4.3.10.0000.0278.19
4.3.00.0000.0378.19

preferences:
35.35 ms | 401 KiB | 5 Q