3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '[{ "id": 1, "de": "German text", "en": "English text", "name": "question" }, { "id": 2, "de": "German text", "en": "English text", "name": "error" }, { "id": 3, "de": "German text", "en": "English text", "name": "success" }]'; $dbTexts = json_decode($json, true); $texts = array_column($dbTexts, 'de', 'name'); print_r($texts);

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.4.130.0080.00817.61
8.4.120.0100.01020.73
8.4.110.0130.00718.95
8.4.100.0100.01017.69
8.4.90.0110.00920.54
8.4.80.0040.00718.75
8.4.70.0100.00520.52
8.4.60.0100.00720.66
8.4.50.0110.00920.36
8.4.40.0120.00320.27
8.4.30.0130.01020.32
8.4.20.0130.00319.55
8.4.10.0080.00019.60
8.3.260.0100.01016.64
8.3.250.0060.01218.69
8.3.240.0130.00616.29
8.3.230.0030.00616.50
8.3.220.0130.00518.96
8.3.210.0110.00716.54
8.3.200.0040.00516.50
8.3.190.0060.00417.07
8.3.180.0150.00718.76
8.3.170.0100.01017.00
8.3.160.0150.00318.42
8.3.150.0090.00918.18
8.3.140.0150.00316.68
8.3.130.0000.00818.24
8.3.120.0000.00920.58
8.3.110.0090.00620.94
8.3.100.0070.00324.06
8.3.90.0000.00826.77
8.3.80.0060.00319.36
8.3.70.0150.00016.63
8.3.60.0100.00718.30
8.3.50.0080.00523.66
8.3.40.0000.01418.77
8.3.30.0070.01018.54
8.3.20.0040.00420.69
8.3.10.0080.00020.21
8.3.00.0040.00420.70
8.2.290.0090.00816.61
8.2.280.0040.00718.37
8.2.270.0000.00916.81
8.2.260.0080.01216.94
8.2.250.0110.00418.28
8.2.240.0060.01216.92
8.2.230.0050.00322.58
8.2.220.0060.00337.54
8.2.210.0090.00926.77
8.2.200.0030.00618.88
8.2.190.0000.01516.61
8.2.180.0080.00818.18
8.2.170.0100.01022.96
8.2.160.0040.01120.47
8.2.150.0030.00624.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0070.00019.83
8.2.110.0100.01019.45
8.2.100.0080.00419.51
8.2.90.0050.00317.63
8.2.80.0040.00418.63
8.2.70.0080.00017.63
8.2.60.0100.00017.38
8.2.50.0040.00418.10
8.2.40.0060.00319.17
8.2.30.0040.00419.05
8.2.20.0040.00417.91
8.2.10.0030.00519.11
8.2.00.0000.00719.23
8.1.330.0110.00815.96
8.1.320.0130.00816.00
8.1.310.0070.01016.23
8.1.300.0080.00018.27
8.1.290.0080.00630.84
8.1.280.0100.00725.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0040.00417.64
8.1.230.0040.00717.64
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0000.00817.10
8.1.180.0000.00818.89
8.1.170.0000.00818.45
8.1.160.0040.00419.05
8.1.150.0040.00418.81
8.1.140.0040.00422.23
8.1.130.0040.00420.11
8.1.120.0020.00517.24
8.1.110.0040.00417.28
8.1.100.0070.00017.44
8.1.90.0030.00517.41
8.1.80.0000.00817.36
8.1.70.0040.00417.35
8.1.60.0000.00717.38
8.1.50.0040.00417.38
8.1.40.0060.00317.32
8.1.30.0040.00417.55
8.1.20.0040.00417.61
8.1.10.0000.00817.43
8.1.00.0080.00017.37
8.0.300.0070.00018.77
8.0.290.0000.00716.58
8.0.280.0050.00218.36
8.0.270.0030.00516.70
8.0.260.0050.00320.10
8.0.250.0070.00016.78
8.0.240.0030.00616.77
8.0.230.0030.00316.86
8.0.220.0000.00616.75
8.0.210.0030.00616.81
8.0.200.0030.00316.90
8.0.190.0040.00416.75
8.0.180.0030.00516.89
8.0.170.0030.00516.82
8.0.160.0080.00016.83
8.0.150.0040.00316.73
8.0.140.0070.00016.75
8.0.130.0000.00613.24
8.0.120.0070.00016.82
8.0.110.0000.00716.75
8.0.100.0030.00316.85
8.0.90.0000.00916.72
8.0.80.0080.00616.75
8.0.70.0000.00716.88
8.0.60.0030.00516.65
8.0.50.0050.00216.88
8.0.30.0190.00016.95
8.0.20.0130.00617.21
8.0.10.0040.00416.73
8.0.00.0070.01116.78
7.4.330.0000.00515.55
7.4.320.0030.00316.34
7.4.300.0000.00716.37
7.4.290.0030.00516.57
7.4.280.0000.00716.56
7.4.270.0070.00016.42
7.4.260.0000.00513.26
7.4.250.0050.00216.34
7.4.240.0000.00816.40
7.4.230.0020.00516.34
7.4.220.0040.00316.47
7.4.210.0080.00816.55
7.4.200.0070.00016.26
7.4.130.0090.00916.36
7.4.120.0240.00016.45
7.4.110.0110.01116.37
7.4.100.0060.01216.44
7.4.90.0030.01316.36
7.4.80.0000.01619.39
7.4.70.0090.00616.41
7.4.60.0130.00616.23
7.4.50.0100.00616.45
7.4.40.0040.01816.23
7.4.00.0070.00714.81
7.3.330.0000.00816.17
7.3.320.0000.00612.91
7.3.310.0070.00015.97
7.3.300.0000.00616.03
7.3.290.0040.01116.15
7.3.280.0110.00316.16
7.3.260.0080.00816.25
7.3.230.0070.01016.50
7.3.210.0090.00916.14
7.3.200.0060.00916.13
7.3.190.0090.01216.25
7.3.180.0080.00816.24
7.3.170.0100.00616.40
7.3.160.0090.00616.08
7.3.120.0080.00914.53
7.3.110.0060.00614.61
7.3.100.0050.01114.63
7.3.90.0070.01114.68
7.3.80.0070.00914.47
7.3.70.0050.01014.41
7.3.60.0060.01014.55
7.3.50.0080.00914.37
7.3.40.0060.01014.49
7.3.30.0020.01214.59
7.3.20.0120.00514.70
7.3.10.0070.00714.40
7.3.00.0070.00614.33
7.2.330.0070.01116.63
7.2.320.0030.01416.12
7.2.310.0060.01016.64
7.2.300.0100.00716.56
7.2.290.0110.00816.59
7.2.250.0140.00414.72
7.2.240.0080.00714.66
7.2.230.0080.01014.94
7.2.220.0070.01114.81
7.2.210.0140.00214.57
7.2.200.0060.01014.54
7.2.190.0170.01014.77
7.2.180.0070.00914.69
7.2.170.0060.01014.83
7.1.330.0090.00713.73
7.1.320.0120.00413.70
7.1.310.0070.00813.83
7.1.300.0120.00313.59
7.1.290.0090.00613.82
7.1.280.0090.00913.73
7.1.270.0390.01213.58
7.1.260.0060.00713.55

preferences:
30.79 ms | 403 KiB | 5 Q