3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"status_code":200,"success":{"message":"image uploaded","code":200},"image":{"name":"e6a30f5fc09a82398165d4dff343b5d2","extension":"jpg","size":352088,"width":1920,"height":1200,"date":"2015-07-17 06:00:47","date_gmt":"2015-07-17 12:00:47","title":"1437130110866","description":null,"nsfw":"0","storage_mode":"direct","md5":"d715433783757039bff5397e77fb5657","original_filename":"1437130110866.jpg","original_exifdata":"{\"FileName\":\"1437130110866.jpg\",\"FileDateTime\":\"1437134446\",\"FileSize\":\"352088\",\"FileType\":\"2\",\"MimeType\":\"image\\\/jpeg\",\"SectionsFound\":\"\",\"COMPUTED\":{\"html\":\"width=\\\"1920\\\" height=\\\"1200\\\"\",\"Height\":\"1200\",\"Width\":\"1920\",\"IsColor\":\"1\"}}","views":"0","category_id":null,"chain":"7","thumb_size":"7092","medium_size":"29936","file":{"resource":{"type":"path","chain":{"image":"\/home\/imageforge\/public_html\/images\/e6a30f5fc09a82398165d4dff343b5d2.jpg","thumb":"\/home\/imageforge\/public_html\/images\/e6a30f5fc09a82398165d4dff343b5d2.th.jpg","medium":"\/home\/imageforge\/public_html\/images\/e6a30f5fc09a82398165d4dff343b5d2.md.jpg"}}},"id_encoded":"sF","filename":"e6a30f5fc09a82398165d4dff343b5d2.jpg","ratio":1.6,"size_formatted":"352.1 KB","mime":"image\/jpeg","url":"https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.jpg","url_viewer":"https:\/\/www.imageforge.us\/image\/sF","image":{"filename":"e6a30f5fc09a82398165d4dff343b5d2.jpg","name":"e6a30f5fc09a82398165d4dff343b5d2","width":1920,"height":1200,"ratio":1.6,"size":352088,"size_formatted":"352.1 KB","mime":"image\/jpeg","extension":"jpg","url":"https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.jpg","md5":"d715433783757039bff5397e77fb5657"},"thumb":{"filename":"e6a30f5fc09a82398165d4dff343b5d2.th.jpg","name":"e6a30f5fc09a82398165d4dff343b5d2.th","width":150,"height":150,"ratio":1,"size":"7092","size_formatted":"7.1 KB","mime":"image\/jpeg","extension":"jpg","url":"https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.th.jpg","md5":"8971ecc75d182674e96b3df7d7f4c8b3"},"medium":{"filename":"e6a30f5fc09a82398165d4dff343b5d2.md.jpg","name":"e6a30f5fc09a82398165d4dff343b5d2.md","width":500,"height":313,"ratio":1.59744408946,"size":"29936","size_formatted":"29.9 KB","mime":"image\/jpeg","extension":"jpg","url":"https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.md.jpg","md5":"bf191f268c9c47883ad1abb7a3dc0330"},"display_url":"https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.md.jpg","display_width":1920,"display_height":1200,"views_label":"views","how_long_ago":"moments ago","title_truncated":"1437130110866"},"status_txt":"OK"}'; echo htmlentities($json);

Abusive script

This script was stopped while abusing our resources

Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
{&quot;status_code&quot;:200,&quot;success&quot;:{&quot;message&quot;:&quot;image uploaded&quot;,&quot;code&quot;:200},&quot;image&quot;:{&quot;name&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2&quot;,&quot;extension&quot;:&quot;jpg&quot;,&quot;size&quot;:352088,&quot;width&quot;:1920,&quot;height&quot;:1200,&quot;date&quot;:&quot;2015-07-17 06:00:47&quot;,&quot;date_gmt&quot;:&quot;2015-07-17 12:00:47&quot;,&quot;title&quot;:&quot;1437130110866&quot;,&quot;description&quot;:null,&quot;nsfw&quot;:&quot;0&quot;,&quot;storage_mode&quot;:&quot;direct&quot;,&quot;md5&quot;:&quot;d715433783757039bff5397e77fb5657&quot;,&quot;original_filename&quot;:&quot;1437130110866.jpg&quot;,&quot;original_exifdata&quot;:&quot;{\&quot;FileName\&quot;:\&quot;1437130110866.jpg\&quot;,\&quot;FileDateTime\&quot;:\&quot;1437134446\&quot;,\&quot;FileSize\&quot;:\&quot;352088\&quot;,\&quot;FileType\&quot;:\&quot;2\&quot;,\&quot;MimeType\&quot;:\&quot;image\\/jpeg\&quot;,\&quot;SectionsFound\&quot;:\&quot;\&quot;,\&quot;COMPUTED\&quot;:{\&quot;html\&quot;:\&quot;width=\\&quot;1920\\&quot; height=\\&quot;1200\\&quot;\&quot;,\&quot;Height\&quot;:\&quot;1200\&quot;,\&quot;Width\&quot;:\&quot;1920\&quot;,\&quot;IsColor\&quot;:\&quot;1\&quot;}}&quot;,&quot;views&quot;:&quot;0&quot;,&quot;category_id&quot;:null,&quot;chain&quot;:&quot;7&quot;,&quot;thumb_size&quot;:&quot;7092&quot;,&quot;medium_size&quot;:&quot;29936&quot;,&quot;file&quot;:{&quot;resource&quot;:{&quot;type&quot;:&quot;path&quot;,&quot;chain&quot;:{&quot;image&quot;:&quot;\/home\/imageforge\/public_html\/images\/e6a30f5fc09a82398165d4dff343b5d2.jpg&quot;,&quot;thumb&quot;:&quot;\/home\/imageforge\/public_html\/images\/e6a30f5fc09a82398165d4dff343b5d2.th.jpg&quot;,&quot;medium&quot;:&quot;\/home\/imageforge\/public_html\/images\/e6a30f5fc09a82398165d4dff343b5d2.md.jpg&quot;}}},&quot;id_encoded&quot;:&quot;sF&quot;,&quot;filename&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2.jpg&quot;,&quot;ratio&quot;:1.6,&quot;size_formatted&quot;:&quot;352.1 KB&quot;,&quot;mime&quot;:&quot;image\/jpeg&quot;,&quot;url&quot;:&quot;https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.jpg&quot;,&quot;url_viewer&quot;:&quot;https:\/\/www.imageforge.us\/image\/sF&quot;,&quot;image&quot;:{&quot;filename&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2.jpg&quot;,&quot;name&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2&quot;,&quot;width&quot;:1920,&quot;height&quot;:1200,&quot;ratio&quot;:1.6,&quot;size&quot;:352088,&quot;size_formatted&quot;:&quot;352.1 KB&quot;,&quot;mime&quot;:&quot;image\/jpeg&quot;,&quot;extension&quot;:&quot;jpg&quot;,&quot;url&quot;:&quot;https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.jpg&quot;,&quot;md5&quot;:&quot;d715433783757039bff5397e77fb5657&quot;},&quot;thumb&quot;:{&quot;filename&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2.th.jpg&quot;,&quot;name&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2.th&quot;,&quot;width&quot;:150,&quot;height&quot;:150,&quot;ratio&quot;:1,&quot;size&quot;:&quot;7092&quot;,&quot;size_formatted&quot;:&quot;7.1 KB&quot;,&quot;mime&quot;:&quot;image\/jpeg&quot;,&quot;extension&quot;:&quot;jpg&quot;,&quot;url&quot;:&quot;https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.th.jpg&quot;,&quot;md5&quot;:&quot;8971ecc75d182674e96b3df7d7f4c8b3&quot;},&quot;medium&quot;:{&quot;filename&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2.md.jpg&quot;,&quot;name&quot;:&quot;e6a30f5fc09a82398165d4dff343b5d2.md&quot;,&quot;width&quot;:500,&quot;height&quot;:313,&quot;ratio&quot;:1.59744408946,&quot;size&quot;:&quot;29936&quot;,&quot;size_formatted&quot;:&quot;29.9 KB&quot;,&quot;mime&quot;:&quot;image\/jpeg&quot;,&quot;extension&quot;:&quot;jpg&quot;,&quot;url&quot;:&quot;https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.md.jpg&quot;,&quot;md5&quot;:&quot;bf191f268c9c47883ad1abb7a3dc0330&quot;},&quot;display_url&quot;:&quot;https:\/\/www.imageforge.us\/images\/e6a30f5fc09a82398165d4dff343b5d2.md.jpg&quot;,&quot;display_width&quot;:1920,&quot;display_height&quot;:1200,&quot;views_label&quot;:&quot;views&quot;,&quot;how_long_ago&quot;:&quot;moments ago&quot;,&quot;title_truncated&quot;:&quot;1437130110866&quot;},&quot;status_txt&quot;:&quot;OK&quot;}

preferences:
118.19 ms | 429 KiB | 5 Q