3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode('{"template_name":"welcome","subjContext":[],"bodyContext":{"profiles":[{"id":"1","id_user":"1","id_city":"0","id_country":"0","preferences":{"join_reasons":"","age_from":"0","age_to":"0","has_children":"0","more_children":"0","weight_from":"0","weight_to":"0","height_from":"0","height_to":"0","body_type":"","drinks":"0","smokes":"0"},"personal":{"avatar_original":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img11.png","avatar_l":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img2.png","avatar_m":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img10.png","avatar_s":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img4.png","age":0,"birth_day":"30","birth_month":"01","birth_year":"2014","country":"","city":"","name":"Anastasia","gender":"female","height":"0","weight":"0","body_type":"average","marital_status":"not_married","count_children":"0","want_more_children":"0","education":"high_school","religion":"catholicism","occupation":"","drinking":"0","smoking":"0","date_birth":"2014-01-30 07:18:13"},"date_created":"2014-01-30 06:50:33","date_updated":"2014-01-30 06:50:33","is_online":"0"},{"id":"70","id_user":"70","id_city":"0","id_country":"0","preferences":{"join_reasons":"","age_from":"0","age_to":"0","has_children":"0","more_children":"0","weight_from":"0","weight_to":"0","height_from":"0","height_to":"0","body_type":"","drinks":"0","smokes":"0"},"personal":{"avatar_original":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img11.png","avatar_l":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img1.png","avatar_m":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img10.png","avatar_s":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img4.png","age":0,"birth_day":"30","birth_month":"01","birth_year":"2014","country":"","city":"","name":"Daria","gender":"female","height":"0","weight":"0","body_type":"average","marital_status":"not_married","count_children":"0","want_more_children":"0","education":"high_school","religion":"catholicism","occupation":"","drinking":"0","smoking":"0","date_birth":"2014-01-30 07:18:13"},"date_created":"2014-01-30 06:50:37","date_updated":"2014-01-30 06:50:37","is_online":"0"},{"id":"189","id_user":"189","id_city":"0","id_country":"0","preferences":{"join_reasons":"","age_from":"0","age_to":"0","has_children":"0","more_children":"0","weight_from":"0","weight_to":"0","height_from":"0","height_to":"0","body_type":"","drinks":"0","smokes":"0"},"personal":{"avatar_original":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img11.png","avatar_l":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img2.png","avatar_m":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img9.png","avatar_s":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img4.png","age":0,"birth_day":"30","birth_month":"01","birth_year":"2014","country":"","city":"","name":"Marina","gender":"female","height":"0","weight":"0","body_type":"average","marital_status":"not_married","count_children":"0","want_more_children":"0","education":"high_school","religion":"catholicism","occupation":"","drinking":"0","smoking":"0","date_birth":"2014-01-30 07:18:13"},"date_created":"2014-01-30 06:50:45","date_updated":"2014-01-30 06:50:45","is_online":"0"},{"id":"11","id_user":"11","id_city":"0","id_country":"0","preferences":{"join_reasons":"","age_from":"0","age_to":"0","has_children":"0","more_children":"0","weight_from":"0","weight_to":"0","height_from":"0","height_to":"0","body_type":"","drinks":"0","smokes":"0"},"personal":{"avatar_original":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img11.png","avatar_l":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img1.png","avatar_m":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img10.png","avatar_s":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img4.png","age":0,"birth_day":"30","birth_month":"01","birth_year":"2014","country":"","city":"","name":"Dasha","gender":"female","height":"0","weight":"0","body_type":"average","marital_status":"not_married","count_children":"0","want_more_children":"0","education":"high_school","religion":"catholicism","occupation":"","drinking":"0","smoking":"0","date_birth":"2014-01-30 07:18:13"},"date_created":"2014-01-30 06:50:34","date_updated":"2014-01-30 06:50:34","is_online":"0"},{"id":"47","id_user":"47","id_city":"0","id_country":"0","preferences":{"join_reasons":"","age_from":"0","age_to":"0","has_children":"0","more_children":"0","weight_from":"0","weight_to":"0","height_from":"0","height_to":"0","body_type":"","drinks":"0","smokes":"0"},"personal":{"avatar_original":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img11.png","avatar_l":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img3.png","avatar_m":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img10.png","avatar_s":"http:\/\/dl.dropboxusercontent.com\/u\/52521635\/VictoriaBrides\/i\/for_preview\/img4.png","age":0,"birth_day":"30","birth_month":"01","birth_year":"2014","country":"","city":"","name":"Olga","gender":"female","height":"0","weight":"0","body_type":"average","marital_status":"not_married","count_children":"0","want_more_children":"0","education":"high_school","religion":"catholicism","occupation":"","drinking":"0","smoking":"0","date_birth":"2014-01-30 07:18:13"},"date_created":"2014-01-30 06:50:36","date_updated":"2014-01-30 06:50:36","is_online":"0"}],"userId":"210","password":"test123"}}'); $profiles = $data->bodyContext->profiles; print_r($profiles[0]);

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.40.0070.00718.79
8.3.30.0070.00720.31
8.3.20.0050.00320.29
8.3.10.0030.00521.90
8.3.00.0080.00022.43
8.2.170.0110.00722.96
8.2.160.0000.01422.13
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0050.00319.89
8.2.110.0030.00622.20
8.2.100.0030.00917.86
8.2.90.0040.00419.17
8.2.80.0070.00019.25
8.2.70.0040.00817.48
8.2.60.0030.00617.93
8.2.50.0000.00818.07
8.2.40.0000.00818.22
8.2.30.0060.00318.19
8.2.20.0030.00617.80
8.2.10.0050.00317.82
8.2.00.0000.00717.76
8.1.270.0000.00724.66
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0030.00623.84
8.1.230.0040.00719.09
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0080.00017.41
8.1.180.0060.00318.89
8.1.170.0090.00018.55
8.1.160.0040.00420.91
8.1.150.0000.00818.52
8.1.140.0040.00417.46
8.1.130.0030.00317.85
8.1.120.0000.00717.38
8.1.110.0020.00517.44
8.1.100.0070.00017.37
8.1.90.0040.00417.38
8.1.80.0040.00417.40
8.1.70.0040.00417.43
8.1.60.0060.00317.55
8.1.50.0000.00717.46
8.1.40.0000.00717.49
8.1.30.0000.00817.59
8.1.20.0000.01017.59
8.1.10.0040.00417.46
8.1.00.0000.00917.41
8.0.300.0070.00018.77
8.0.290.0000.00716.92
8.0.280.0000.00818.32
8.0.270.0050.00317.11
8.0.260.0050.00316.76
8.0.250.0030.00316.81
8.0.240.0060.00316.91
8.0.230.0070.00016.79
8.0.220.0030.00616.78
8.0.210.0000.00716.73
8.0.200.0000.00716.92
8.0.190.0050.00316.94
8.0.180.0050.00516.93
8.0.170.0040.00416.75
8.0.160.0000.00716.77
8.0.150.0070.00016.79
8.0.140.0040.00416.87
8.0.130.0000.00613.25
8.0.120.0000.00816.80
8.0.110.0040.00416.78
8.0.100.0040.00416.75
8.0.90.0040.00416.67
8.0.80.0100.01016.79
8.0.70.0000.00716.72
8.0.60.0040.00416.64
8.0.50.0070.00016.93
8.0.30.0150.00516.88
8.0.20.0070.01117.40
8.0.10.0070.00017.00
8.0.00.0070.01216.82
7.4.330.0050.00015.15
7.4.320.0030.00316.45
7.4.300.0030.00316.53
7.4.290.0030.00316.63
7.4.280.0030.00316.63
7.4.270.0030.00316.55
7.4.260.0030.00313.34
7.4.250.0070.00016.50
7.4.240.0020.00516.65
7.4.230.0000.00716.27
7.4.220.0030.01716.57
7.4.210.0070.00816.53
7.4.200.0040.00416.43
7.4.190.0000.00716.71
7.4.160.0070.01516.55
7.4.150.0120.00617.40
7.4.140.0080.01117.86
7.4.130.0140.00616.36
7.4.120.0150.00516.50
7.4.110.0140.00716.41
7.4.100.0090.01316.53
7.4.90.0090.00916.65
7.4.80.0100.01019.39
7.4.70.0100.00716.46
7.4.60.0060.00916.56
7.4.50.0000.00816.20
7.4.40.0080.00622.77
7.4.30.0070.01016.52
7.4.00.0140.00314.86
7.3.330.0060.00013.13
7.3.320.0070.00013.10
7.3.310.0070.00016.27
7.3.300.0030.00316.18
7.3.290.0100.00716.21
7.3.280.0080.00916.22
7.3.270.0120.01217.40
7.3.260.0150.00716.40
7.3.250.0120.00816.47
7.3.240.0120.00616.48
7.3.230.0070.01016.40
7.3.210.0080.01216.39
7.3.200.0060.01019.39
7.3.190.0060.01616.19
7.3.180.0060.00916.25
7.3.170.0100.00616.41
7.3.160.0060.01316.39
7.3.120.0100.00714.84
7.2.330.0040.01516.44
7.2.320.0180.00016.52
7.2.310.0070.01416.42
7.2.300.0100.00716.40
7.2.290.0130.01016.68
7.1.70.0110.01117.09
7.1.60.0070.01419.43
7.1.50.0070.01416.87
7.1.00.0070.03022.33
7.0.200.0040.00716.77
7.0.140.0030.07022.09
7.0.60.0200.06019.92
7.0.50.0070.04717.88
7.0.40.0030.06020.04
7.0.30.0600.06720.17
7.0.20.0200.05320.18
7.0.10.0000.04720.09
7.0.00.0070.06020.03
5.6.280.0000.07721.11
5.6.210.0170.07320.80
5.6.200.0100.08018.11
5.6.190.0070.05720.32
5.6.180.3200.04720.27
5.6.170.0300.04020.50
5.6.160.0070.07720.48
5.6.150.0070.08018.22
5.6.140.0100.08018.18
5.6.130.0070.07018.16
5.6.120.0030.04721.05
5.6.110.0000.05021.17
5.6.100.0230.07321.14
5.6.90.0030.08320.93
5.6.80.0000.08720.45
5.6.70.4370.03720.51
5.5.350.0030.04320.50
5.5.340.0070.08317.92
5.5.330.0070.08720.37
5.5.320.0300.05320.50
5.5.310.0270.08320.13
5.5.300.0070.04317.89
5.5.290.0030.04318.02
5.5.280.0130.08320.78
5.5.270.0030.07320.80
5.5.260.0070.03720.80
5.5.250.0200.07320.72
5.5.240.0100.06320.39
5.4.450.0630.05719.52
5.4.440.0830.06319.54
5.4.430.1230.07319.14
5.4.420.0830.06019.46
5.4.410.0930.04319.00
5.4.400.0070.05719.31
5.4.390.0100.05319.28
5.4.380.0200.05318.73
5.4.370.0030.05318.55
5.4.360.0030.05318.74
5.4.350.0070.04012.04
5.4.340.0060.04512.03
5.4.320.0040.03912.52
5.4.310.0100.04412.52
5.4.300.0100.03612.52
5.4.290.0120.04212.52
5.4.280.0030.03812.42
5.4.270.0080.03512.41
5.4.260.0080.04912.41
5.4.250.0070.03712.42
5.4.240.0100.05019.01
5.4.230.0100.05018.82
5.4.220.0070.05319.02
5.4.210.0030.05319.01
5.4.200.0100.05018.73
5.4.190.0030.05718.98
5.4.180.0100.05018.78
5.4.170.0130.05019.00
5.4.160.0100.05318.86
5.4.150.0130.07318.88
5.4.140.0200.04316.59
5.4.130.0130.06016.55
5.4.120.0070.04716.30
5.4.110.0030.06016.53
5.4.100.0170.04316.35
5.4.90.0200.05016.34
5.4.80.0100.05316.37
5.4.70.0070.07316.48
5.4.60.0100.05716.35
5.4.50.0330.04316.41
5.4.40.0130.07016.55
5.4.30.0100.06316.54
5.4.20.0130.07016.18
5.4.10.0300.06316.53
5.4.00.0270.05715.73
5.3.290.0050.05912.80
5.3.280.0070.05014.45
5.3.270.0170.05714.68
5.3.260.0100.07014.59
5.3.250.0230.04014.72
5.3.240.0130.06314.51
5.3.230.0170.05714.55
5.3.220.0170.05314.65
5.3.210.0130.05714.50
5.3.200.0100.05014.66
5.3.190.0100.07314.43
5.3.180.0100.05314.68
5.3.170.0170.04714.65
5.3.160.0100.06014.55
5.3.150.0130.05314.64
5.3.140.0170.07314.72
5.3.130.0200.06314.45
5.3.120.0200.04714.47
5.3.110.0130.06314.50
5.3.100.0100.06314.13
5.3.90.0100.06714.01
5.3.80.0230.06014.00
5.3.70.0200.05314.18
5.3.60.0170.05713.94
5.3.50.0130.05713.79
5.3.40.0070.06013.88
5.3.30.0270.05314.02
5.3.20.0070.07013.70
5.3.10.0030.07013.58
5.3.00.0030.05713.64
5.2.170.0070.05711.25
5.2.160.0030.04311.12
5.2.150.0170.04711.11
5.2.140.0170.05011.23
5.2.130.0100.04311.05
5.2.120.0130.05011.18
5.2.110.0130.05011.00
5.2.100.0000.05011.10
5.2.90.0070.06011.16
5.2.80.0100.05311.17
5.2.70.0070.04311.06
5.2.60.0030.04710.88
5.2.50.0130.05311.01
5.2.40.0130.04310.83
5.2.30.0170.04311.05
5.2.20.0070.05011.04
5.2.10.0030.04311.00
5.2.00.0000.05310.84
5.1.60.0030.05010.04
5.1.50.0070.04010.24
5.1.40.0070.0339.91
5.1.30.0030.04010.23
5.1.20.0100.04710.26
5.1.10.0000.0379.96
5.1.00.0100.04310.27
5.0.50.0100.0338.49
5.0.40.0000.0308.44
5.0.30.0030.0478.14
5.0.20.0070.0278.24
5.0.10.0130.0238.27
5.0.00.0070.0508.22
4.4.90.0000.0336.05
4.4.80.0030.0306.05
4.4.70.0000.0336.04
4.4.60.0000.0336.04
4.4.50.0000.0336.04
4.4.40.0030.0376.04
4.4.30.0030.0276.04
4.4.20.0000.0236.04
4.4.10.0030.0306.04
4.4.00.0030.0436.04
4.3.110.0070.0236.04
4.3.100.0100.0236.04
4.3.90.0070.0276.04
4.3.80.0030.0406.04
4.3.70.0000.0306.04
4.3.60.0130.0136.03
4.3.50.0030.0206.03
4.3.40.0070.0276.03
4.3.30.0000.0236.03
4.3.20.0000.0236.03
4.3.10.0100.0136.03
4.3.00.0070.0237.26

preferences:
35.16 ms | 400 KiB | 5 Q