3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "jianmo:home_top_banner": { "title": "简约风格主题:首页顶部.轮播图 ", "category": "jianmo", "templateName": "@theme/jianmo/block/carousel.template.html.twig", "items": { "posters":{ "title":"海报", "desc":"首页海报", "count":1, "type":"poster", "default":[ { "src" : "\/themes\/jianmo\/img\/banner_net.jpg", "alt" : "海报1", "layout" : "limitWide", "background" : "#3ec768", "href" : "", "html" : "", "status" : "1", "mode" : "img" }, { "src" : "\/themes\/jianmo\/img\/banner_app.jpg", "alt" : "海报2", "layout" : "limitWide", "background" : "#0984f7", "href" : "", "html" : "", "status" : "1", "mode" : "img" }, { "src" : "\/themes\/jianmo\/img\/banner_eweek.jpg", "alt" : "海报3", "layout" : "limitWide", "background" : "#3b4250", "href" : "", "html" : "", "status" : "1", "mode" : "img" }, { "src" : "\/themes\/jianmo\/img\/banner_net.jpg", "alt" : "海报4", "layout" : "limitWide", "background" : "#3ec768", "href" : "", "html" : "", "status" : "0", "mode" : "img" }, { "src" : "\/themes\/jianmo\/img\/banner_net.jpg", "alt" : "海报5", "layout" : "limitWide", "background" : "#3ec768", "href" : "", "html" : "", "status" : "0", "mode" : "img" }, { "src" : "\/themes\/jianmo\/img\/banner_net.jpg", "alt" : "海报6", "layout" : "limitWide", "background" : "#3ec768", "href" : "", "html" : "", "status" : "0", "mode" : "img" }, { "src" : "\/themes\/jianmo\/img\/banner_net.jpg", "alt" : "海报7", "layout" : "limitWide", "background" : "#3ec768", "href" : "", "html" : "", "status" : "0", "mode" : "img" }, { "src" : "\/themes\/jianmo\/img\/banner_net.jpg", "alt" : "海报8", "layout" : "limitWide", "background" : "#3ec768", "href" : "", "html" : "", "status" : "0", "mode" : "img" } ] } } }, "jianmo:middle_banner": { "title": "简约风格主题:首页中部.横幅", "category": "jianmo", "templateName": "@theme/jianmo/block/middle_banner.template.html.twig", "items": { "icon1": { "title": "中部图标1", "desc": "建议图片大小为130*130", "count": 1, "type": "imglink", "default": [ { "src": "\/assets\/v2\/img\/icon_introduction_1.png", "alt": "中部横幅", "href": "#", "target": "_blank" } ] }, "icon1title": { "title": "图标1标题", "desc": "", "count": 1, "type": "text", "default":[ { "value": "网校功能强大" } ] }, "icon1introduction": { "title": "图标1介绍", "desc": "", "count": 1, "type": "textarea", "default":[ { "value": "一万多家网校共同选择,值得信赖" } ] }, "icon2": { "title": "中部图标2", "desc": "建议图片大小为130*130", "count": 1, "type": "imglink", "default": [ { "src": "\/assets\/v2\/img\/icon_introduction_2.png", "alt": "中部横幅", "href": "#", "target": "_blank" } ] }, "icon2title": { "title": "图标2标题", "desc": "", "count": 1, "type": "text", "default":[ { "value": "响应式页面技术" } ] }, "icon2introduction": { "title": "图标2介绍", "desc": "", "count": 1, "type": "textarea", "default":[ { "value": "采用响应式技术,完美适配任意终端" } ] }, "icon3": { "title": "中部图标3", "desc": "建议图片大小为130*130", "count": 1, "type": "imglink", "default": [ { "src": "\/assets\/v2\/img\/icon_introduction_3.png", "alt": "中部横幅", "href": "#", "target": "_blank" } ] }, "icon3title": { "title": "图标3标题", "desc": "", "count": 1, "type": "text", "default":[ { "value": "教育云服务支持" } ] }, "icon3introduction": { "title": "图标3介绍", "desc": "", "count": 1, "type": "textarea", "default":[ { "value": "强力教育云支持,免除你的后顾之忧" } ] } } }, "jianmo:advertisement_banner": { "title": "简约风格主题:中部广告", "category": "jianmo", "templateName": "@theme/jianmo/block/advertisement_banner.template.html.twig", "items": { "middleImg": { "title": "广告图片", "desc": "建议图片大小为宽1920px高 400px", "count": "1", "type": "imglink", "default": [ { "src": "\/themes\/jianmo\/img\/banner_poster.jpg", "alt": "图片1的描述", "href": "#", "target": "_blank" } ] }, "middleBackground": { "title": "背景填充色", "desc": "填写颜色值,例如#ffffff", "count": "1", "type": "text", "default": [ { "value": "#e2133a" } ] } } }, "jianmo:bottom_info": { "title": "简约风格主题: 首页底部.链接区域", "category": "jianmo", "templateName": "@theme/jianmo/block/bottom_info.template.html.twig", "items": { "firstColumnText": { "title": "第1列链接标题", "desc": "", "count": 1, "type": "text", "default": [ { "value": "我是学生" } ] }, "firstColumnLinks": { "title": "第1列链接", "desc": "", "count": 5, "type": "link", "default": [ { "value": "如何注册", "href": "", "target": "_blank" }, { "value": "如何学习", "href": "", "target": "_blank" }, { "value": "如何互动", "href": "", "target": "_blank" } ] }, "secondColumnText": { "title": "第2列链接标题", "desc": "", "count": 1, "type": "text", "default": [ { "value": "我是老师" } ] }, "secondColumnLinks": { "title": "第2列链接", "desc": "", "count": 5, "type": "link", "default": [ { "value": "发布课程", "href": "", "target": "_blank" }, { "value": "使用题库", "href": "", "target": "_blank" }, { "value": "教学资料库", "href": "", "target": "_blank" } ] }, "thirdColumnText": { "title": "第3列链接标题", "desc": "", "count": 1, "type": "text", "default": [ { "value": "我是管理员" } ] }, "thirdColumnLinks": { "title": "第3列链接", "desc": "", "count": 5, "type": "link", "default": [ { "value": "系统设置", "href": "", "target": "_blank" }, { "value": "课程设置", "href": "", "target": "_blank" }, { "value": "用户管理", "href": "", "target": "_blank" } ] }, "fourthColumnText": { "title": "第4列链接标题", "desc": "", "count": 1, "type": "text", "default": [ { "value": "商业应用" } ] }, "fourthColumnLinks": { "title": "第4列链接标题", "desc": "", "count": 5, "type": "link", "default": [ { "value": "会员专区", "href": "", "target": "_blank" }, { "value": "题库增强版", "href": "", "target": "_blank" }, { "value": "用户导入导出", "href": "", "target": "_blank" } ] }, "fifthColumnText": { "title": "第5列链接标题", "desc": "", "count": 1, "type": "text", "default": [ { "value": "关于我们" } ] }, "fifthColumnLinks": { "title": "第5列链接标题", "desc": "", "count": 5, "type": "link", "default": [ { "value": "奇网校官网", "href": "http:\/\/www.qiwangxiao.com\/", "target": "_blank" }, { "value": "官方微博", "href": "", "target": "_blank" }, { "value": "加入我们", "href": "", "target": "_blank" } ] }, "bottomLogo": { "title": "底部Logo", "desc": "建议图片大小为233*64", "count": 1, "type": "imglink", "default": [ { "src": "\/assets\/v2\/img\/bottom_logo.png", "alt": "建议图片大小为233*64", "href": "http:\/\/www.qiwangxiao.com", "target": "_blank" } ] }, "weibo": { "title": "底部微博链接", "desc": "填入网校的微博首页地址", "count": 1, "type": "link", "default": [ { "value": "微博首页", "href": "", "target": "_blank" } ] }, "weixin": { "title": "底部微信公众号", "desc": "上传网校的微信公众号的二维码", "count": 1, "type": "img", "default": [ { "src": "", "alt": "微信公众号" } ] } } } }'; print_r(json_decode($json));

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.0000.01418.31
8.3.50.0110.00417.96
8.3.40.0090.00618.54
8.3.30.0070.00718.58
8.3.20.0060.00319.26
8.3.10.0080.00021.69
8.3.00.0040.00420.68
8.2.180.0040.01116.50
8.2.170.0070.00722.96
8.2.160.0040.01120.68
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0000.00919.82
8.2.120.0040.00426.35
8.2.110.0060.00321.17
8.2.100.0130.00017.83
8.2.90.0040.00417.84
8.2.80.0030.00618.03
8.2.70.0000.00917.79
8.2.60.0050.00518.02
8.2.50.0000.01018.10
8.2.40.0090.00019.30
8.2.30.0050.00319.30
8.2.20.0060.00318.13
8.2.10.0030.00518.11
8.2.00.0000.01017.83
8.1.280.0140.00725.92
8.1.270.0060.00319.06
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0070.00717.52
8.1.230.0080.00321.02
8.1.220.0000.00817.79
8.1.210.0000.00918.99
8.1.200.0030.00617.48
8.1.190.0040.00417.23
8.1.180.0000.00918.10
8.1.170.0040.00418.62
8.1.160.0040.00418.85
8.1.150.0050.00218.99
8.1.140.0030.00322.27
8.1.130.0000.00720.03
8.1.120.0040.00417.38
8.1.110.0000.00717.48
8.1.100.0000.00717.53
8.1.90.0000.00717.39
8.1.80.0040.00417.41
8.1.70.0040.00417.45
8.1.60.0040.00417.61
8.1.50.0040.00417.45
8.1.40.0040.00417.48
8.1.30.0030.00517.70
8.1.20.0000.01117.70
8.1.10.0040.00417.43
8.1.00.0060.00317.45
8.0.300.0000.00819.73
8.0.290.0080.00016.75
8.0.280.0040.00418.46
8.0.270.0040.00417.18
8.0.260.0000.00718.46
8.0.250.0030.00317.01
8.0.240.0000.00717.00
8.0.230.0050.00216.84
8.0.220.0030.00516.87
8.0.210.0070.00016.93
8.0.200.0000.00616.95
8.0.190.0080.00016.87
8.0.180.0000.00816.82
8.0.170.0060.00316.89
8.0.160.0070.00016.80
8.0.150.0040.00416.74
8.0.140.0000.00716.76
8.0.130.0000.00613.27
8.0.120.0080.00016.77
8.0.110.0030.00616.81
8.0.100.0000.00716.81
8.0.90.0040.00417.03
8.0.80.0090.00516.89
8.0.70.0040.00416.74
8.0.60.0000.00816.79
8.0.50.0050.00216.87
8.0.30.0140.00617.07
8.0.20.0160.03217.40
8.0.10.0050.00316.98
8.0.00.0100.01016.92
7.4.330.0030.00315.55
7.4.320.0000.00616.64
7.4.300.0040.00416.63
7.4.290.0040.00416.59
7.4.280.0000.01016.60
7.4.270.0040.00416.63
7.4.260.0030.00716.60
7.4.250.0000.00716.50
7.4.240.0040.00416.53
7.4.230.0030.00316.54
7.4.220.0050.00316.47
7.4.210.0070.01216.62
7.4.200.0000.00716.37
7.4.160.0090.01016.51
7.4.140.0110.01017.86
7.4.130.0190.00716.56
7.4.120.0080.00816.49
7.4.110.0060.01516.53
7.4.100.0100.00716.62
7.4.90.0120.00616.62
7.4.80.0060.01119.39
7.4.70.0070.01316.45
7.4.60.0090.00916.44
7.4.50.0030.01316.52
7.4.40.0030.01316.32
7.4.00.0060.01014.59
7.3.330.0050.00013.08
7.3.320.0000.00613.13
7.3.310.0030.00616.22
7.3.300.0080.00016.19
7.3.290.0040.00416.23
7.3.280.0040.01216.22
7.3.260.0130.00816.39
7.3.240.0100.00916.36
7.3.230.0090.00916.24
7.3.210.0070.01016.52
7.3.200.0120.00416.16
7.3.190.0100.01016.39
7.3.180.0180.00316.58
7.3.170.0070.01016.13
7.3.160.0120.00816.43
7.2.330.0140.00916.59
7.2.320.0090.00916.48
7.2.310.0030.01316.55
7.2.300.0070.01016.55
7.2.290.0090.00916.53
7.2.110.0510.00714.59
7.2.100.0470.00314.60
7.2.90.0380.00614.46
7.2.80.0420.00614.55
7.2.70.0600.01014.83
7.2.60.0600.00614.51
7.2.50.0440.00714.61
7.2.40.1060.01014.82
7.2.30.0810.00914.77
7.2.20.0510.00714.43
7.2.10.0570.00314.70
7.2.00.0490.00714.82
7.1.230.0580.00313.95
7.1.220.0480.00713.41
7.1.210.0310.01613.92
7.1.200.0420.00713.82
7.1.190.0400.00613.73
7.1.180.0470.00313.55
7.1.170.0680.00713.63
7.1.160.0690.00613.90
7.1.150.0410.00613.48
7.1.140.0430.00313.44
7.1.130.0420.00813.54
7.1.120.0400.01013.93
7.1.110.0480.00314.02
7.1.100.0680.00913.87
7.1.90.0670.00013.52
7.1.80.0750.01013.66
7.1.70.0690.00913.58
7.1.60.0790.01331.91
7.1.50.0830.00031.68
7.1.40.0750.01031.92
7.1.30.1010.00331.69
7.1.20.0790.00331.61
7.1.10.0590.00713.93
7.1.00.0510.00613.91
5.6.380.0430.01514.32

preferences:
61.6 ms | 400 KiB | 5 Q