3v4l.org

run code in 300+ PHP versions simultaneously
<?php $post=array ( 'data' => '[{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:40:23","date":"2013-12-02"}},{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_slotmachine","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:41:22","date":"2013-12-02"}},{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_win","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:41:31","date":"2013-12-02"}},{"page":{"identifierInteraction":"caf4282eaa1e9c79722baae95e7837b2","path":"game_end","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"16:41:46","date":"2013-12-02"}},,{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:05:36","date":"2013-12-02"}},{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_slotmachine","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:06:45","date":"2013-12-02"}},{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_loose","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:06:58","date":"2013-12-02"}},{"page":{"identifierInteraction":"537545ab89d9747a8ca1765fb8f9d449","path":"game_end","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:07:04","date":"2013-12-02"}},{"page":{"identifierInteraction":"dc457cd9ef26bb2a7f3ab40ac5530307","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"17:24:08","date":"2013-12-02"}},{"page":{"identifierInteraction":"6a1d6939637e018a0da753708d2387f5","path":"game_form","identifierDevice":"B50E28DF-9C10-46B0-999C-11297122026C","hour":"08:55:09","date":"2013-12-03"}}]', ); $data = $post['data']; if(!is_array($data)) { $data = json_decode($data, true); echo "json decode done"; } print_r($data); foreach ($data as $information) { print_r($information); }

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.0100.00716.63
8.3.50.0140.00721.97
8.3.40.0070.00718.82
8.3.30.0100.01019.09
8.3.20.0000.00720.18
8.3.10.0040.00423.39
8.3.00.0050.00320.88
8.2.180.0150.00716.75
8.2.170.0100.00322.96
8.2.160.0130.00320.35
8.2.150.0080.00024.18
8.2.140.0140.00024.66
8.2.130.0040.00426.16
8.2.120.0090.00319.14
8.2.110.0000.00922.07
8.2.100.0040.00720.40
8.2.90.0040.00419.17
8.2.80.0000.00917.97
8.2.70.0080.00017.63
8.2.60.0030.00618.16
8.2.50.0090.00018.07
8.2.40.0040.00419.70
8.2.30.0000.00818.41
8.2.20.0000.00817.65
8.2.10.0000.00718.18
8.2.00.0000.00717.83
8.1.280.0110.00425.92
8.1.270.0050.00322.19
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00323.79
8.1.230.0070.00419.18
8.1.220.0000.00917.79
8.1.210.0000.00818.77
8.1.200.0060.00317.36
8.1.190.0040.00417.25
8.1.180.0000.00818.10
8.1.170.0080.00018.33
8.1.160.0050.00321.99
8.1.150.0040.00418.64
8.1.140.0040.00417.45
8.1.130.0030.00517.86
8.1.120.0000.00817.52
8.1.110.0050.00217.43
8.1.100.0000.00717.38
8.1.90.0030.00517.39
8.1.80.0070.00017.34
8.1.70.0030.00317.43
8.1.60.0040.00717.54
8.1.50.0050.00417.55
8.1.40.0000.01117.46
8.1.30.0000.00817.53
8.1.20.0000.00717.66
8.1.10.0000.00717.50
8.1.00.0040.00417.40
8.0.300.0000.00918.77
8.0.290.0040.00416.75
8.0.280.0030.00318.35
8.0.270.0000.00717.27
8.0.260.0000.00617.18
8.0.250.0030.00316.89
8.0.240.0040.00416.88
8.0.230.0040.00416.93
8.0.220.0030.00316.91
8.0.210.0050.00216.89
8.0.200.0000.00616.93
8.0.190.0040.00717.00
8.0.180.0040.00416.89
8.0.170.0000.00916.96
8.0.160.0000.00716.94
8.0.150.0040.00416.90
8.0.140.0030.00516.98
8.0.130.0000.00613.45
8.0.120.0030.00616.78
8.0.110.0040.00417.02
8.0.100.0000.00716.77
8.0.90.0040.00416.87
8.0.80.0100.01016.94
8.0.70.0000.00716.77
8.0.60.0070.00016.79
8.0.50.0040.00416.82
8.0.30.0110.00817.01
8.0.20.0130.00517.40
8.0.10.0000.00716.89
8.0.00.0090.00816.84
7.4.330.0000.00515.15
7.4.320.0000.00616.44
7.4.300.0000.00716.60
7.4.290.0070.00016.59
7.4.280.0060.00316.56
7.4.270.0040.00416.45
7.4.260.0070.00016.48
7.4.250.0040.00416.45
7.4.240.0020.00616.46
7.4.230.0080.00016.62
7.4.220.0080.00916.70
7.4.210.0120.00916.64
7.4.200.0000.00816.51
7.4.160.0040.01116.36
7.4.150.0090.00917.40
7.4.140.0120.00817.86
7.4.130.0120.00416.56
7.4.120.0090.00916.49
7.4.110.0070.01716.58
7.4.100.0070.01116.44
7.4.90.0100.00616.46
7.4.80.0130.01119.39
7.4.70.0120.01216.35
7.4.60.0060.01416.57
7.4.50.0000.00816.51
7.4.40.0070.01416.67
7.4.30.0130.00716.66
7.4.00.0130.00315.07
7.3.330.0040.00413.24
7.3.320.0020.00313.16
7.3.310.0000.00716.18
7.3.300.0030.00316.29
7.3.290.0070.00716.38
7.3.280.0070.01016.35
7.3.270.0070.01617.40
7.3.260.0060.01316.28
7.3.250.0100.00716.36
7.3.240.0110.00516.39
7.3.230.0080.00916.44
7.3.210.0090.00916.54
7.3.200.0150.00619.39
7.3.190.0060.01516.54
7.3.180.0160.00016.46
7.3.170.0060.00916.43
7.3.160.0130.00616.28
7.3.120.0090.00615.11
7.2.330.0070.01716.46
7.2.320.0080.01616.70
7.2.310.0140.00316.46
7.2.300.0070.01416.54
7.2.290.0160.00616.47
7.2.00.0230.01118.87
7.1.200.0070.00715.59
7.1.100.0040.01118.25
7.1.70.0050.00217.09
7.1.60.0170.00719.70
7.1.50.0100.01716.92
7.1.00.0070.07022.46
7.0.200.0000.01016.89
7.0.140.0000.07321.97
7.0.100.0530.08319.97
7.0.90.0500.06719.98
7.0.80.0100.07319.84
7.0.70.0270.07719.86
7.0.60.0030.08019.85
7.0.50.0070.07720.25
7.0.40.0130.07320.14
7.0.30.0030.05319.96
7.0.20.0070.06720.00
7.0.10.0070.07020.09
7.0.00.0100.04320.05
5.6.280.0030.07021.07
5.6.250.0100.07320.52
5.6.240.0130.07320.55
5.6.230.0030.05720.45
5.6.220.0030.07720.42
5.6.210.0170.04720.54
5.6.200.0000.07320.91
5.6.190.0070.08021.02
5.6.180.0070.05320.97
5.6.170.0130.06320.97
5.6.160.0030.08321.12
5.6.150.0030.05021.02
5.6.140.0070.07320.92
5.6.130.0030.06320.99
5.6.120.0030.08021.02
5.6.110.0170.07321.07
5.6.100.0200.03721.04
5.6.90.0130.08320.93
5.6.80.0070.04720.44
5.6.70.0100.08320.34
5.6.60.0030.05020.41
5.6.50.0100.05020.38
5.6.40.0100.07720.34
5.6.30.0100.08320.42
5.6.20.0170.07020.43
5.6.10.0070.08320.41
5.6.00.0030.07320.42
5.5.380.0030.04720.45
5.5.370.0070.04720.30
5.5.360.0130.06720.30
5.5.350.0030.07020.32
5.5.340.0000.04720.86
5.5.330.0030.08020.79
5.5.320.0070.07320.81
5.5.310.0230.07020.58
5.5.300.0130.07320.84
5.5.290.0200.07320.82
5.5.280.0200.07020.73
5.5.270.0030.09020.77
5.5.260.0100.08020.81
5.5.250.0130.06720.50
5.5.240.0030.08020.27
5.5.230.0000.08320.13
5.5.220.0030.07720.15
5.5.210.0070.04020.21
5.5.200.0000.05320.13
5.5.190.0030.05720.07
5.5.180.0130.07720.08
5.5.160.0070.04320.05
5.5.150.0030.07020.21
5.5.140.0100.05020.02
5.5.130.0100.06720.21
5.5.120.0070.07320.03
5.5.110.0070.07020.23
5.5.100.0100.07319.90
5.5.90.0100.07720.02
5.5.80.0070.08020.06
5.5.70.0030.08020.10
5.5.60.0070.04719.95
5.5.50.0130.04720.04
5.5.40.0030.08320.04
5.5.30.0100.07320.05
5.5.20.0070.08020.00
5.5.10.0030.04020.08
5.5.00.0030.07019.98
5.4.450.0070.07719.30
5.4.440.0100.08319.55
5.4.430.0070.07019.43
5.4.420.0030.08019.27
5.4.410.0070.07319.23
5.4.400.0100.07019.15
5.4.390.0100.06018.96
5.4.380.0030.07719.13
5.4.370.0030.04319.03
5.4.360.0030.07719.00
5.4.350.0000.08719.12
5.4.340.0100.07019.16
5.4.320.0030.07019.22
5.4.310.0030.05019.15
5.4.300.0100.07319.07
5.4.290.0130.06318.81
5.4.280.0000.07719.03
5.4.270.0100.07319.14
5.4.260.0030.08019.04
5.4.250.0100.06719.02
5.4.240.0070.07318.78
5.4.230.0070.07019.09
5.4.220.0030.07019.06
5.4.210.0000.05718.96
5.4.200.0100.08318.78
5.4.190.0070.07718.94
5.4.180.0070.07018.89
5.4.170.0070.04719.09
5.4.160.0070.07319.00
5.4.150.0070.05319.04
5.4.140.0030.04316.22
5.4.130.0070.03716.27
5.4.120.0170.04316.00
5.4.110.0030.06016.19
5.4.100.0070.07016.35
5.4.90.0070.07316.41
5.4.80.0070.07716.42
5.4.70.0100.06016.39
5.4.60.0100.05016.32
5.4.50.0100.06716.28
5.4.40.0100.06316.28
5.4.30.0130.07016.33
5.4.20.0130.05716.41
5.4.10.0100.06716.38
5.4.00.0070.03715.73
5.3.290.0030.06014.66
5.3.280.0170.07014.47
5.3.270.0070.04714.61
5.3.260.0070.07714.58
5.3.250.0030.07714.47
5.3.240.0100.05314.47
5.3.230.0070.05714.55
5.3.220.0030.08014.55
5.3.210.0200.04014.56
5.3.200.0070.04014.57
5.3.190.0030.05014.53
5.3.180.0000.07714.44
5.3.170.0130.07014.59
5.3.160.0030.04014.57
5.3.150.0030.07714.49
5.3.140.0070.07714.41
5.3.130.0070.08014.41
5.3.120.0070.05014.56
5.3.110.0030.07314.45
5.3.100.0030.03313.99
5.3.90.0030.07713.89
5.3.80.0000.06713.89
5.3.70.0070.07013.79
5.3.60.0130.03713.77
5.3.50.0170.05313.87
5.3.40.0030.07713.82
5.3.30.0030.06313.93
5.3.20.0100.05313.64
5.3.10.0100.06713.66
5.3.00.0130.05313.61
5.2.170.0000.03011.07
5.2.160.0000.03011.02
5.2.150.0070.04310.98
5.2.140.0030.06011.15
5.2.130.0030.06011.10
5.2.120.0030.04311.10
5.2.110.0070.03710.96
5.2.100.0030.06711.18
5.2.90.0130.05711.10
5.2.80.0070.05711.11
5.2.70.0070.03311.10
5.2.60.0070.05710.88
5.2.50.0130.05310.98
5.2.40.0000.06711.00
5.2.30.0100.05311.00
5.2.20.0070.03010.76
5.2.10.0000.05010.93
5.2.00.0100.05010.59
5.1.60.0000.05710.05
5.1.50.0000.03010.00
5.1.40.0070.02710.03
5.1.30.0030.04710.36
5.1.20.0030.05710.41
5.1.10.0000.04310.15
5.1.00.0100.05310.06
5.0.50.0000.0408.59
5.0.40.0000.0478.54
5.0.30.0000.0538.54
5.0.20.0070.0338.54
5.0.10.0070.0338.54
5.0.00.0070.0638.54
4.4.90.0000.0338.54
4.4.80.0030.0338.54
4.4.70.0030.0338.54
4.4.60.0030.0338.54
4.4.50.0030.0338.54
4.4.40.0100.0338.54
4.4.30.0070.0308.54
4.4.20.0000.0408.54
4.4.10.0030.0378.54
4.4.00.0000.0478.54
4.3.110.0000.0308.54
4.3.100.0000.0378.54
4.3.90.0100.0308.54
4.3.80.0070.0238.54
4.3.70.0000.0308.54
4.3.60.0030.0338.54
4.3.50.0000.0338.54
4.3.40.0000.0408.54
4.3.30.0030.0208.54
4.3.20.0000.0208.54
4.3.10.0000.0278.54
4.3.00.0000.0208.54

preferences:
38.75 ms | 401 KiB | 5 Q