3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr ='[{ "other": { "1": { "type": "Network", "label": "Technology", "value": "GSM / HSPA / LTE" }, "2": { "type": "Network", "label": "2G bands", "value": "GSM 850 / 900 / 1800 / 1900 - SIM 1 & SIM 2" }, "3": { "type": "Network", "label": "3G bands", "value": "HSDPA 850 / 900 / 1900 / 2100" }, "4": { "type": "Network", "label": "4G bands", "value": "LTE band 1(2100), 3(1800), 5(850), 7(2600), 8(900), 20(800), 38(2600), 40(2300), 41(2500)" }, "5": { "type": "Network", "label": "Speed", "value": "HSPA 42.2/5.76 Mbps, LTE-A (2CA) Cat12 600/50 Mbps" }, "6": { "type": "Network", "label": "GPRS", "value": "Yes" }, "7": { "type": "Network", "label": "EDGE", "value": "Yes" }, "8": { "type": "Launch", "label": "Announced", "value": "2019, January" }, "9": { "type": "Launch", "label": "Status", "value": "Available. Released 2019, February" }, "10": { "type": "Body", "label": "Dimensions", "value": "156.4 x 74.5 x 8.8 mm (6.16 x 2.93 x 0.35 in)" }, "11": { "type": "Body", "label": "Weight", "value": "186 g (6.56 oz)" }, "12": { "type": "Body", "label": "SIM", "value": "Dual SIM (Nano-SIM, dual stand-by)" }, "13": { "type": "Display", "label": "Type", "value": "PLS TFT capacitive touchscreen, 16M colors" }, "14": { "type": "Display", "label": "Size", "value": "6.3 inches, 97.4 cm2 (~83.6% screen-to-body ratio)" }, "15": { "type": "Display", "label": "Resolution", "value": "1080 x 2340 pixels, 19.5:9 ratio (~409 ppi density)" }, "16": { "type": "Platform", "label": "OS", "value": "Android 8.1 (Oreo); Experience 9.5" }, "17": { "type": "Platform", "label": "Chipset", "value": "Exynos 7904 (14 nm)" }, "18": { "type": "Platform", "label": "CPU", "value": "Octa-core (2x1.8 GHz Cortex-A73 & 6x1.6 GHz Cortex-A53)" }, "19": { "type": "Platform", "label": "GPU", "value": "Mali-G71 MP2" }, "20": { "type": "Memory", "label": "Card slot", "value": "microSD, up to 1 TB (dedicated slot)" }, "21": { "type": "Memory", "label": "Internal", "value": "64 GB, 4 GB RAM or 32 GB, 3 GB RAM" }, "22": { "type": "Main Camera", "label": "Dual", "value": "13 MP, f/1.9, 1/3.1\", 1.12um, PDAF" }, "23": { "type": "Main Camera", "label": "Dual", "value": "5 MP, f/2.2, 12mm (ultrawide)" }, "24": { "type": "Main Camera", "label": "Features", "value": "LED flash, panorama, HDR" }, "25": { "type": "Main Camera", "label": "Video", "value": "1080p@30fps" }, "26": { "type": "Selfie camera", "label": "Single", "value": "8 MP, f/2.0, 25mm (wide)" }, "27": { "type": "Selfie camera", "label": "Features", "value": "HDR" }, "28": { "type": "Selfie camera", "label": "Video", "value": "1080p@30fps" }, "29": { "type": "Sound", "label": "Loudspeaker", "value": "Yes" }, "30": { "type": "Sound", "label": "3.5mm jack", "value": "Yes" }, "31": { "type": "Sound", "value": "Active noise cancellation with dedicated mic" }, "32": { "type": "Sound", "value": "Dolby Atmos sound" }, "33": { "type": "Comms", "label": "WLAN", "value": "Wi-Fi 802.11 b/g/n, WiFi Direct, hotspot" }, "34": { "type": "Comms", "label": "Bluetooth", "value": "5.0, A2DP, LE" }, "35": { "type": "Comms", "label": "GPS", "value": "Yes, with A-GPS, GLONASS, BDS" }, "36": { "type": "Comms", "label": "Radio", "value": "FM radio, RDS, recording" }, "37": { "type": "Comms", "label": "USB", "value": "2.0, Type-C 1.0 reversible connector" }, "38": { "type": "Features", "label": "Sensors", "value": "Fingerprint (rear-mounted), accelerometer, gyro, proximity, compass" }, "39": { "type": "Battery", "value": "Non-removable Li-Po 5000 mAh battery" }, "40": { "type": "Battery", "label": "Charging", "value": "Fast battery charging 15W" }, "41": { "type": "Misc", "label": "Colors", "value": "Ocean Blue, Charcoal Black" }, "42": { "type": "Misc", "label": "Models", "value": "SM-M205F, SM-M205FN, SM-M205G" }, "43": { "type": "Misc", "label": "SAR EU", "value": "0.25 W/kg (head) 1.59 W/kg (body)" }, "44": { "type": "Misc", "label": "Price", "value": "About 220 EUR" }, "45": { "type": "Tests", "label": "Performance", "value": "Basemark OS II: 1846 / Basemark OS II 2.0: 2025Basemark X: 8434" }, "46": { "type": "Tests", "label": "Display", "value": "Contrast ratio: 1333:1 (nominal), 2.960 (sunlight)" }, "47": { "type": "Tests", "label": "Camera", "value": "Photo / Video" }, "48": { "type": "Tests", "label": "Loudspeaker", "value": "Voice 67dB / Noise 66dB / Ring 68dB" }, "49": { "type": "Tests", "label": "Audio quality", "value": "Noise -90.5dB / Crosstalk -91.7dB" }, "50": { "type": "Tests", "label": "Battery life", "value": "Endurance rating 103h" } } }]'; $arr1 = json_decode($arr, true); print_r(array_count_values(array_column($arr1[0]['other'],'type')));

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.00.0100.01220.12
8.4.150.0030.00014.05
8.4.140.0120.01017.33
8.4.130.0070.00417.83
8.4.120.0130.00723.95
8.4.110.0040.00622.68
8.4.100.0110.00917.90
8.4.90.0170.00418.91
8.4.80.0110.00517.61
8.4.70.0050.00317.76
8.4.60.0100.00818.83
8.4.50.0110.01020.34
8.4.40.0160.00317.50
8.4.30.0100.01022.36
8.4.20.0090.00020.63
8.4.10.0060.00319.66
8.3.280.0200.00820.09
8.3.270.0130.00616.48
8.3.260.0070.01316.66
8.3.250.0130.00618.69
8.3.240.0030.00618.79
8.3.230.0120.00616.39
8.3.220.0090.00516.98
8.3.210.0080.00816.45
8.3.200.0080.00516.39
8.3.190.0030.00417.00
8.3.180.0110.00816.46
8.3.170.0060.01217.16
8.3.160.0090.00619.92
8.3.150.0090.00919.06
8.3.140.0040.00417.07
8.3.130.0060.00318.16
8.3.120.0040.00419.11
8.3.110.0060.00318.18
8.3.100.0060.00324.06
8.3.90.0110.00726.77
8.3.80.0060.00319.36
8.3.70.0120.00618.15
8.3.60.0040.01118.30
8.3.50.0130.00817.47
8.3.40.0090.00618.67
8.3.30.0130.00318.67
8.3.20.0060.00320.77
8.3.10.0000.00821.90
8.3.00.0050.00323.66
8.2.290.0110.00820.36
8.2.280.0120.00718.26
8.2.270.0150.00417.19
8.2.260.0070.00717.18
8.2.250.0040.00418.28
8.2.240.0090.00018.91
8.2.230.0100.00620.94
8.2.220.0030.00637.54
8.2.210.0050.00326.77
8.2.200.0000.00918.88
8.2.190.0080.00816.75
8.2.180.0060.00916.50
8.2.170.0060.01022.96
8.2.160.0070.00720.52
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0000.00922.30
8.2.100.0060.00617.84
8.2.90.0000.00917.75
8.2.80.0000.00817.97
8.2.70.0050.00517.67
8.2.60.0000.00818.09
8.2.50.0000.00818.10
8.2.40.0120.00620.20
8.2.30.0040.00419.39
8.2.20.0050.00218.16
8.2.10.0080.00019.20
8.2.00.0060.00319.38
8.1.330.0090.00921.89
8.1.320.0150.00516.16
8.1.310.0000.01818.68
8.1.300.0070.00019.64
8.1.290.0040.00430.84
8.1.280.0140.00425.92
8.1.270.0050.00322.19
8.1.260.0000.00726.35
8.1.250.0050.00228.09
8.1.240.0060.00323.81
8.1.230.0110.00022.75
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0050.00318.58
8.1.160.0060.00318.77
8.1.150.0000.00718.86
8.1.140.0050.00318.80
8.1.130.0030.00320.11
8.1.120.0050.00317.46
8.1.110.0040.00417.48
8.1.100.0070.00017.43
8.1.90.0040.00717.47
8.1.80.0050.00317.41
8.1.70.0080.00017.40
8.1.60.0030.00517.55
8.1.50.0030.00617.52
8.1.40.0090.00017.38
8.1.30.0000.00817.54
8.1.20.0030.00517.65
8.1.10.0080.00017.55
8.1.00.0030.00617.39
8.0.300.0080.00319.65
8.0.290.0100.00016.58
8.0.280.0020.00518.29
8.0.270.0040.00417.10
8.0.260.0070.00018.47
8.0.250.0090.00016.77
8.0.240.0030.00316.84
8.0.230.0030.00316.75
8.0.220.0060.00316.88
8.0.210.0040.00416.85
8.0.200.0050.00316.93
8.0.190.0000.00716.96
8.0.180.0040.00416.91
8.0.170.0070.00316.75
8.0.160.0000.00816.91
8.0.150.0070.00016.80
8.0.140.0030.00416.76
8.0.130.0030.00313.25
8.0.120.0040.00416.75
8.0.110.0070.00016.90
8.0.100.0040.00416.90
8.0.90.0070.00016.92
8.0.80.0120.00616.85
8.0.70.0040.00416.75
8.0.60.0000.00816.81
8.0.50.0000.00816.91
8.0.30.0090.01116.85
8.0.20.0150.00817.13
8.0.10.0050.00216.85
8.0.00.0120.00816.86
7.4.330.0000.00515.55
7.4.320.0000.00716.46
7.4.300.0000.00616.37
7.4.290.0030.00316.54
7.4.280.0040.00416.36
7.4.270.0000.00716.57
7.4.260.0000.00716.49
7.4.250.0070.00016.57
7.4.240.0020.00616.54
7.4.230.0000.00716.36
7.4.220.0080.00016.45
7.4.210.0100.00616.58
7.4.200.0070.00016.58
7.4.160.0060.01116.49
7.4.130.0160.00416.47
7.4.120.0170.00316.48
7.4.110.0100.01016.46
7.4.100.0070.01116.51
7.4.90.0060.01216.53
7.4.80.0020.01919.39
7.4.70.0130.00316.54
7.4.60.0100.01316.50
7.4.50.0070.00716.34
7.4.40.0100.00716.49
7.4.10.0090.00614.98
7.4.00.0070.00814.69
7.3.330.0050.00013.07
7.3.320.0030.00313.04
7.3.310.0030.00316.32
7.3.300.0000.00716.14
7.3.290.0080.00716.29
7.3.280.0110.00416.25
7.3.260.0060.01116.39
7.3.240.0090.00816.43
7.3.230.0070.01016.49
7.3.210.0050.01016.34
7.3.200.0160.00316.27
7.3.190.0090.01216.41
7.3.180.0030.01216.31
7.3.170.0110.00716.33
7.3.160.0060.01016.26
7.3.130.0130.00314.81
7.3.120.0080.01014.86
7.3.110.0090.01014.71
7.3.100.0090.00514.60
7.3.90.0030.00814.81
7.3.80.0110.00315.02
7.3.70.0000.01214.71
7.3.60.0050.01014.82
7.3.50.0090.00714.68
7.3.40.0050.00814.62
7.3.30.0080.00814.60
7.3.20.0070.01215.57
7.3.10.0100.00715.48
7.3.00.0120.00515.65
7.2.330.0120.00616.52
7.2.320.0070.01116.34
7.2.310.0130.01016.59
7.2.300.0090.00916.30
7.2.290.0090.00916.43
7.2.260.0100.01014.68
7.2.250.0050.01314.97
7.2.240.0120.00514.82
7.2.230.0060.01015.09
7.2.220.0050.01014.88
7.2.210.0090.00815.07
7.2.200.0020.01214.69
7.2.190.0090.00614.83
7.2.180.0120.00714.85
7.2.170.0070.00914.96
7.2.160.0080.00714.92
7.2.150.0120.00715.51
7.2.140.0090.01215.51
7.2.130.0090.00915.51
7.2.120.0160.00315.60
7.2.110.0120.01015.41
7.2.100.0080.00915.63
7.2.90.0090.00915.65
7.2.80.0110.01015.59
7.2.70.0150.00615.58
7.2.60.0090.00815.48
7.2.50.0090.00715.53
7.2.40.0090.00815.58
7.2.30.0520.00815.66
7.2.20.0110.00515.71
7.2.10.0140.00515.60
7.2.00.0110.00515.45
7.1.330.0070.00915.67
7.1.320.0050.00715.72
7.1.310.0050.00515.84
7.1.300.0120.00614.78
7.1.290.0290.00814.83
7.1.280.0100.00714.75
7.1.270.0110.00814.83
7.1.260.0090.00314.86
7.1.250.0100.00814.59
7.1.240.0110.00615.79
7.1.230.0100.00615.73
7.1.220.0060.00915.73
7.1.210.0040.01215.71
7.1.200.0030.00915.63
7.1.190.0100.00015.69
7.1.180.0070.00715.73
7.1.170.0090.00015.91
7.1.160.0140.00015.89
7.1.150.0090.00615.77
7.1.140.0030.01315.54
7.1.130.0000.01115.87
7.1.120.0080.00415.89
7.1.110.0030.00615.86
7.1.100.0100.00315.90
7.1.90.0060.01015.85
7.1.80.0050.00515.56
7.1.70.0080.00615.98
7.1.60.0030.01015.89
7.1.50.0080.00415.63
7.1.40.0030.00915.86
7.1.30.0060.00915.79
7.1.20.0000.00815.64
7.1.10.0110.00415.70
7.1.00.0030.00615.70

preferences:
31.18 ms | 403 KiB | 5 Q