3v4l.org

run code in 300+ PHP versions simultaneously
<?php $JSON = <<<JSON [ { "id" : "american", "title" : "A Timeline of American Literature", "description" : "LENGTHY DESCRIPTIVE TEXT", "initial_zoom" : "50", "focus_date" : "1650-01-01 00:00:00", "size_importance" : "true", "timezone" : "-06:00", "min_zoom" : "20", "max_zoom" : "80", "image_lane_height" : "50", "display_zoom_level" : "1", "tags" : { "Puritan" : "0", "Enlightenment" : "0", "Romantic" : "0", "Transcendental" : "0", "Dark Romantic": "0", "African American": "0", "American Indian": "0", "International" : "0" }, "legend": [ { "title": "Author event", "icon": "star_red.png" }, { "title": "Publication event", "icon": "square_blue.png" }, { "title": "Historical event", "icon": "triangle_green.png" } ], "events": [ { "id": "american-ccincore-1411541230", "title": "William Bradford born", "description": "LENGTHY DESCRIPTIVE TEXT", "tags": "Puritan", "startdate": "1950-03- 00:00:00", "enddate": "1657-05- 00:00:00", "importance": "50", "date_display": "year", "link": "", "image": "https://www.csustan.edu/sites/default/files/ENGLISH/reuben/pal/chap1/bradford.gif", "icon": "star_red.png", "span_color": "#f66" }, { "id": "american-mforkner-1411364607", "title": "Church Mission Society", "description": "LENGTHY DESCRIPTIVE TEXT", "tags": "", "startdate": "1799-01-01 00:00:00", "enddate": "1799-01-01 00:00:00", "importance": "50", "date_display": "year", "link": "", "image": "http://webarchive.cms-uk.org/_images/tnsaies1.jpg", "icon": ".png", "span_color": "#ccc" } ] } ] JSON; $data = json_decode($JSON); print_r($data);

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.0110.00416.75
8.3.50.0090.01021.98
8.3.40.0120.00918.85
8.3.30.0150.00318.80
8.3.20.0070.00020.38
8.3.10.0080.00020.48
8.3.00.0030.00619.38
8.2.180.0120.00818.16
8.2.170.0150.00022.96
8.2.160.0030.01020.23
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0020.00521.01
8.2.110.0100.00022.07
8.2.100.0080.00417.72
8.2.90.0000.00817.63
8.2.80.0050.00318.70
8.2.70.0040.00417.91
8.2.60.0030.00518.09
8.2.50.0040.00418.10
8.2.40.0040.00421.08
8.2.30.0000.00819.07
8.2.20.0080.00017.62
8.2.10.0000.00817.94
8.2.00.0080.00017.76
8.1.280.0040.01425.92
8.1.270.0000.00823.84
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00921.99
8.1.230.0110.00017.70
8.1.220.0050.00317.74
8.1.210.0080.00018.77
8.1.200.0050.00517.36
8.1.190.0040.00417.10
8.1.180.0050.00518.10
8.1.170.0000.00818.47
8.1.160.0000.00818.82
8.1.150.0070.00018.75
8.1.140.0000.00717.50
8.1.130.0070.00017.83
8.1.120.0070.00017.38
8.1.110.0060.00317.41
8.1.100.0000.00717.38
8.1.90.0000.00817.30
8.1.80.0000.00817.28
8.1.70.0030.00317.28
8.1.60.0030.00617.35
8.1.50.0040.00417.49
8.1.40.0000.00817.44
8.1.30.0040.00417.54
8.1.20.0040.00417.52
8.1.10.0080.00017.52
8.1.00.0030.00517.46
8.0.300.0070.00018.77
8.0.290.0050.00516.75
8.0.280.0020.00518.50
8.0.270.0020.00516.75
8.0.260.0030.00317.18
8.0.250.0030.00316.95
8.0.240.0040.00416.87
8.0.230.0000.00716.86
8.0.220.0000.00716.87
8.0.210.0030.00516.88
8.0.200.0040.00416.97
8.0.190.0030.00516.96
8.0.180.0080.00016.81
8.0.170.0000.00716.82
8.0.160.0050.00316.89
8.0.150.0000.00816.85
8.0.140.0000.00716.75
8.0.130.0000.00613.39
8.0.120.0040.00416.97
8.0.110.0040.00416.94
8.0.100.0080.00016.91
8.0.90.0040.00416.85
8.0.80.0090.01216.80
8.0.70.0070.00016.88
8.0.60.0020.00516.93
8.0.50.0040.00416.91
8.0.30.0120.00717.00
8.0.20.0100.00917.40
8.0.10.0040.00416.80
8.0.00.0100.01316.72
7.4.330.0000.00415.00
7.4.320.0060.00016.46
7.4.300.0020.00516.46
7.4.290.0030.00316.49
7.4.280.0040.00416.40
7.4.270.0030.00316.46
7.4.260.0030.00316.42
7.4.250.0080.00016.47
7.4.240.0020.00516.50
7.4.230.0000.00716.42
7.4.220.0100.00716.48
7.4.210.0120.00316.63
7.4.200.0050.00216.55
7.4.160.0060.00916.44
7.4.150.0130.01017.40
7.4.140.0070.01417.86
7.4.130.0120.00816.47
7.4.120.0130.00516.44
7.4.110.0070.01016.43
7.4.100.0030.01516.43
7.4.90.0030.01316.30
7.4.80.0090.01519.39
7.4.70.0100.01216.38
7.4.60.0080.00816.52
7.4.50.0040.00416.32
7.4.40.0170.00016.52
7.4.30.0090.00916.64
7.4.00.0120.00314.58
7.3.330.0000.00612.89
7.3.320.0000.00613.09
7.3.310.0000.00716.26
7.3.300.0030.00316.13
7.3.290.0060.00716.24
7.3.280.0120.00316.17
7.3.270.0170.00017.40
7.3.260.0080.01016.48
7.3.250.0090.00716.16
7.3.240.0030.01716.25
7.3.230.0040.01116.39
7.3.210.0160.00016.32
7.3.200.0100.00716.45
7.3.190.0090.01216.16
7.3.180.0170.01316.32
7.3.170.0000.01716.28
7.3.160.0060.01016.32
7.3.10.0080.01416.13
7.3.00.0140.00315.85
7.2.330.0100.00716.39
7.2.320.0100.00716.45
7.2.310.0170.00816.74
7.2.300.0120.00616.27
7.2.290.0070.01016.28
7.2.130.0030.01616.09
7.2.120.0180.00416.04
7.2.110.0120.00615.99
7.2.100.0160.01316.11
7.2.90.0150.00615.96
7.2.80.0200.00816.01
7.2.70.0210.00316.34
7.2.60.0090.01116.61
7.2.50.0030.01215.80
7.2.40.0200.01016.61
7.2.30.0140.00716.43
7.2.20.0200.01016.94
7.2.10.0100.01016.14
7.2.00.0090.00818.09
7.1.250.0120.00915.32
7.1.200.0070.00715.48
7.1.100.0030.00717.84
7.1.70.0000.01017.04
7.1.60.0030.00717.05
7.1.50.0110.01517.00
7.1.00.0070.07322.40
7.0.200.0130.00616.66
7.0.140.0030.06722.18
7.0.110.0070.04319.85
7.0.100.0070.08020.10
7.0.90.0000.08020.07
7.0.80.0030.08019.93
7.0.70.0100.07020.08
7.0.60.0100.07719.99
7.0.50.0130.08019.98
7.0.40.0100.04019.71
7.0.30.0070.07319.75
7.0.20.0070.05319.73
7.0.10.0100.07719.72
7.0.00.0130.06019.65
5.6.280.0130.06721.13
5.6.260.0100.04020.64
5.6.250.0130.07720.64
5.6.240.0070.07720.71
5.6.230.0070.09020.65
5.6.220.0000.07720.45
5.6.210.0070.04320.67
5.6.200.0070.07020.61
5.6.190.0170.06320.85
5.6.180.0200.04720.57
5.6.170.0130.07320.63
5.6.160.0170.05320.64
5.6.150.0200.05720.55
5.6.140.0100.06020.63
5.6.130.0070.07020.63
5.6.120.0230.03320.54
5.6.110.0100.07020.48
5.6.100.0130.07720.68
5.6.90.0070.05720.49
5.6.80.0070.06319.96
5.6.70.0030.04020.22
5.6.60.0070.07019.95
5.6.50.0030.03720.03
5.6.40.0130.06720.21
5.6.30.0100.03719.98
5.6.20.0170.07019.96
5.6.10.0130.06019.96
5.6.00.0070.06020.05
5.5.380.0100.03717.72
5.5.370.0100.04017.70
5.5.360.0130.07717.71
5.5.350.0130.07017.56
5.5.340.0000.04718.07
5.5.330.0070.04717.93
5.5.320.0130.07717.96
5.5.310.0030.04318.13
5.5.300.0200.05718.09
5.5.290.0130.04318.09
5.5.280.0170.07018.22
5.5.270.0070.07317.91
5.5.260.0030.07018.07
5.5.250.0030.05317.73
5.5.240.0130.09017.29
5.5.230.0070.07717.33
5.5.220.0070.03317.30
5.5.210.0100.06317.30
5.5.200.0100.03717.18
5.5.190.0070.03317.60
5.5.180.0100.07717.23
5.5.160.0070.07317.57
5.5.150.0030.04017.57
5.5.140.0100.07317.44
5.5.130.0130.07317.43
5.5.120.0170.06717.30
5.5.110.0170.06717.42
5.5.100.0100.07017.17
5.5.90.0070.07717.46
5.5.80.0100.06317.35
5.5.70.0070.07017.46
5.5.60.0170.06717.48
5.5.50.0070.05317.36
5.5.40.0100.07017.33
5.5.30.0030.06717.48
5.5.20.0100.05017.29
5.5.10.0030.06717.36
5.5.00.0230.03017.37
5.4.450.0000.08719.57
5.4.440.0100.07319.36
5.4.430.0030.04719.48
5.4.420.0070.03319.66
5.4.410.0070.03719.43
5.4.400.0070.06719.25
5.4.390.0030.03719.14
5.4.380.0030.06719.09
5.4.370.0000.04019.18
5.4.360.0130.06019.24
5.4.350.0030.03719.09
5.4.340.0070.06719.09
5.4.320.0000.04318.98
5.4.310.0100.04018.98
5.4.300.0070.07718.95
5.4.290.0100.05719.00
5.4.280.0170.06319.17
5.4.270.0100.05719.00
5.4.260.0130.03719.13
5.4.250.0100.05719.33
5.4.240.0100.07319.17
5.4.230.0070.06319.08
5.4.220.0100.07319.32
5.4.210.0030.06719.30
5.4.200.0070.07319.23
5.4.190.0000.05318.99
5.4.180.0100.03319.04
5.4.170.0070.06718.95
5.4.160.0030.07319.31
5.4.150.0130.04718.96
5.4.140.0130.03316.48
5.4.130.0130.06716.55
5.4.120.0070.03316.36
5.4.110.0000.03716.59
5.4.100.0030.03716.46
5.4.90.0070.04716.56
5.4.80.0030.08016.54
5.4.70.0000.04716.57
5.4.60.0070.07316.61
5.4.50.0170.06316.47
5.4.40.0070.05016.43
5.4.30.0100.07716.23
5.4.20.0070.07716.23
5.4.10.0070.07316.43
5.4.00.0130.06715.95
5.3.290.0100.06314.70
5.3.280.0070.04314.75
5.3.270.0100.07714.61
5.3.260.0130.05014.70
5.3.250.0070.04314.65
5.3.240.0030.04014.62
5.3.230.0000.04014.60
5.3.220.0130.04014.81
5.3.210.0030.04014.80
5.3.200.0030.04314.59
5.3.190.0070.05714.55
5.3.180.0030.06014.64
5.3.170.0170.07314.43
5.3.160.0030.03714.66
5.3.150.0130.06714.60
5.3.140.0030.03714.59
5.3.130.0100.06014.59
5.3.120.0030.03714.52
5.3.110.0130.05314.43
5.3.100.0070.05014.14
5.3.90.0130.07314.04
5.3.80.0030.08013.98
5.3.70.0030.06314.08
5.3.60.0100.04014.06
5.3.50.0070.03314.18
5.3.40.0100.07014.02
5.3.30.0100.06713.98
5.3.20.0030.04313.70
5.3.10.0130.03713.68
5.3.00.0100.06013.64
5.2.170.0070.06312.21
5.2.160.0130.03312.21
5.2.150.0100.06012.21
5.2.140.0070.06312.21
5.2.130.0070.04712.21
5.2.120.0070.04312.21
5.2.110.0030.03712.21
5.2.100.0030.05012.21
5.2.90.0070.02712.21
5.2.80.0030.03712.21
5.2.70.0030.06312.21
5.2.60.0130.05312.21
5.2.50.0070.06312.21
5.2.40.0070.05712.21
5.2.30.0030.06712.21
5.2.20.0100.06712.21
5.2.10.0100.03012.21
5.2.00.0030.03312.21
5.1.60.0100.04712.21
5.1.50.0000.03712.21
5.1.40.0030.05712.21
5.1.30.0070.04312.21
5.1.20.0000.05712.21
5.1.10.0000.03312.21
5.1.00.0100.05012.21
5.0.50.0030.04312.21
5.0.40.0130.02712.21
5.0.30.0000.06312.21
5.0.20.0000.04012.21
5.0.10.0070.04312.21
5.0.00.0030.06012.21
4.4.90.0070.03012.21
4.4.80.0030.03312.21
4.4.70.0100.02012.21
4.4.60.0000.02012.21
4.4.50.0000.01712.21
4.4.40.0030.05312.21
4.4.30.0030.03312.21
4.4.20.0030.02312.21
4.4.10.0030.02712.21
4.4.00.0070.04712.21
4.3.110.0000.03012.21
4.3.100.0030.01712.21
4.3.90.0070.03312.21
4.3.80.0000.03712.21
4.3.70.0070.01312.21
4.3.60.0000.03312.21
4.3.50.0070.02712.21
4.3.40.0030.05012.21
4.3.30.0030.03012.21
4.3.20.0000.03312.21
4.3.10.0000.03712.21
4.3.00.0000.01712.21

preferences:
58.38 ms | 401 KiB | 5 Q