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

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.110.0090.00016.74
8.3.100.0030.00618.54
8.3.90.0040.01526.77
8.3.80.0060.00316.38
8.3.70.0110.01116.75
8.3.60.0160.00018.06
8.3.50.0130.00521.21
8.3.40.0120.00618.77
8.3.30.0140.00719.09
8.3.20.0060.00820.07
8.3.10.0090.00023.48
8.3.00.0040.00417.68
8.2.230.0160.00320.94
8.2.220.0030.00624.06
8.2.210.0100.01026.77
8.2.200.0060.00318.16
8.2.190.0070.01116.63
8.2.180.0130.00725.92
8.2.170.0030.01018.82
8.2.160.0040.01622.96
8.2.150.0030.00624.18
8.2.140.0120.00624.66
8.2.130.0040.00426.16
8.2.120.0070.00021.09
8.2.110.0070.00319.27
8.2.100.0060.00617.84
8.2.90.0040.00419.21
8.2.80.0000.00817.97
8.2.70.0030.00617.49
8.2.60.0000.00818.04
8.2.50.0000.00818.07
8.2.40.0030.00519.94
8.2.30.0040.00418.04
8.2.20.0040.00417.74
8.2.10.0050.00317.91
8.2.00.0030.00817.99
8.1.290.0090.00030.84
8.1.280.0160.00325.92
8.1.270.0000.00920.39
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0050.00517.78
8.1.230.0040.00717.76
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0080.00417.22
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0040.00418.47
8.1.160.0040.00421.82
8.1.150.0040.00418.83
8.1.140.0040.00417.43
8.1.130.0000.00717.86
8.1.120.0070.00017.42
8.1.110.0000.00717.41
8.1.100.0000.00717.44
8.1.90.0060.00317.29
8.1.80.0070.00017.38
8.1.70.0000.00817.42
8.1.60.0090.00017.54
8.1.50.0050.00317.41
8.1.40.0030.00617.45
8.1.30.0050.00317.62
8.1.20.0030.00517.50
8.1.10.0040.00417.56
8.1.00.0080.00017.45
8.0.300.0040.00418.77
8.0.290.0000.01016.63
8.0.280.0000.00718.38
8.0.270.0040.00417.24
8.0.260.0000.00617.16
8.0.250.0000.00716.86
8.0.240.0000.00716.93
8.0.230.0030.00716.78
8.0.220.0030.00316.72
8.0.210.0040.00416.84
8.0.200.0060.00016.88
8.0.190.0000.00816.86
8.0.180.0070.00016.89
8.0.170.0050.00316.88
8.0.160.0000.00816.68
8.0.150.0040.00416.74
8.0.140.0050.00216.86
8.0.130.0000.00513.25
8.0.120.0000.00716.78
8.0.110.0000.00716.84
8.0.100.0000.00716.82
8.0.90.0050.00216.68
8.0.80.0090.00616.77
8.0.70.0040.00416.93
8.0.60.0000.00716.83
8.0.50.0000.00716.88
8.0.30.0140.00816.94
8.0.20.0110.00717.40
8.0.10.0000.00716.82
8.0.00.0080.01016.61
7.4.330.0070.00015.03
7.4.320.0060.00016.52
7.4.300.0060.00016.51
7.4.290.0050.00216.43
7.4.280.0000.01016.45
7.4.270.0030.00316.55
7.4.260.0080.00016.52
7.4.250.0040.00416.55
7.4.240.0010.00616.49
7.4.230.0040.00416.64
7.4.220.0060.01616.62
7.4.210.0030.01316.49
7.4.200.0000.00716.59
7.4.160.0120.00416.33
7.4.150.0090.00917.40
7.4.140.0110.00717.86
7.4.130.0060.01116.42
7.4.120.0080.01016.36
7.4.110.0040.01416.41
7.4.100.0090.01216.33
7.4.90.0140.00316.53
7.4.80.0100.00619.39
7.4.70.0080.01216.27
7.4.60.0090.00616.48
7.4.50.0060.00016.29
7.4.40.0090.00916.44
7.4.30.0100.01316.64
7.4.10.0110.00715.05
7.4.00.0070.00814.88
7.3.330.0000.00513.07
7.3.320.0030.00313.12
7.3.310.0070.00016.14
7.3.300.0030.00316.13
7.3.290.0080.00816.14
7.3.280.0090.00516.13
7.3.270.0160.00317.40
7.3.260.0150.00716.23
7.3.250.0130.00516.17
7.3.240.0160.00416.24
7.3.230.0110.00816.39
7.3.210.0120.00416.20
7.3.200.0200.00319.39
7.3.190.0100.01016.41
7.3.180.0090.00616.39
7.3.170.0100.01016.27
7.3.160.0060.01016.35
7.3.130.0100.01014.75
7.3.120.0020.01014.71
7.3.110.0110.00714.52
7.3.100.0070.01014.45
7.3.90.0150.00414.44
7.3.80.0040.00815.02
7.3.70.0030.00614.67
7.3.60.0040.01114.62
7.3.50.0060.01214.47
7.3.40.0030.01014.41
7.3.30.0070.00314.51
7.3.20.0110.00316.27
7.3.10.0120.00316.66
7.3.00.0060.00616.56
7.2.330.0130.00616.50
7.2.320.0130.00316.58
7.2.310.0090.00916.68
7.2.300.0100.00716.45
7.2.290.0100.01416.67
7.2.260.0000.01814.54
7.2.250.0090.00914.57
7.2.240.0110.00415.12
7.2.230.0060.01215.10
7.2.220.0000.01814.67
7.2.210.0100.00714.93
7.2.200.0130.00714.91
7.2.190.0040.01115.02
7.2.180.0050.00514.97
7.2.170.0110.00415.09
7.2.160.0040.00814.99
7.2.150.0040.00716.84
7.2.140.0090.00016.80
7.2.130.0080.00416.72
7.2.120.0090.00016.71
7.2.110.0040.01116.84
7.2.100.0050.00516.58
7.2.90.0100.00316.82
7.2.80.0090.00616.82
7.2.70.0060.00916.71
7.2.60.0060.00916.66
7.2.50.0040.01116.91
7.2.40.0030.01416.59
7.2.30.0000.01316.61
7.2.20.0080.00816.66
7.2.10.0130.00316.79
7.2.00.0050.00718.02
7.1.330.0040.01115.82
7.1.320.0070.01115.86
7.1.310.0030.00915.68
7.1.300.0100.00315.77
7.1.290.0030.00915.80
7.1.280.0090.00615.56
7.1.270.0030.01315.63
7.1.260.0000.01315.63
7.1.250.0000.01215.76
7.1.240.0070.00715.50
7.1.230.0030.00515.91
7.1.220.0040.00815.48
7.1.210.0060.00915.81
7.1.200.0090.00615.43
7.1.190.0040.00715.82
7.1.180.0030.01315.65
7.1.170.0060.00915.85
7.1.160.0000.01115.68
7.1.150.0070.00715.64
7.1.140.0000.01615.83
7.1.130.0030.01315.62
7.1.120.0040.00715.71
7.1.110.0000.00915.67
7.1.100.0020.00816.78
7.1.90.0030.00615.44
7.1.80.0030.00915.79
7.1.70.0050.00516.40
7.1.60.0050.01017.75
7.1.50.0090.01216.17
7.1.40.0040.00715.80
7.1.30.0030.01015.66
7.1.20.0030.01015.82
7.1.10.0100.00315.62
7.1.00.0030.04119.05
7.0.330.0110.00315.28
7.0.320.0040.00415.20
7.0.310.0030.00815.28
7.0.300.0070.00715.21
7.0.290.0160.00015.39
7.0.280.0030.01015.47
7.0.270.0110.00415.44
7.0.260.0000.01415.36
7.0.250.0100.00315.34
7.0.240.0030.00615.16
7.0.230.0120.00015.25
7.0.220.0060.00915.27
7.0.210.0090.00615.48
7.0.200.0060.00616.03
7.0.190.0040.00715.29
7.0.180.0040.01115.15
7.0.170.0080.00415.44
7.0.160.0070.00415.34
7.0.150.0100.00715.30
7.0.140.0000.01615.55
7.0.130.0070.00315.26
7.0.120.0070.00715.56
7.0.110.0000.01115.50
7.0.100.0030.01015.11
7.0.90.0000.01015.49
7.0.80.0000.01115.17
7.0.70.0070.01015.44
7.0.60.0030.03318.55
7.0.50.0070.02216.64
7.0.40.0080.03716.94
7.0.30.0350.03016.84
7.0.20.0180.04016.95
7.0.10.0050.04616.78
7.0.00.0020.03016.79
5.6.400.0030.01014.25
5.6.390.0120.00314.22
5.6.380.0040.01114.21
5.6.370.0040.00814.47
5.6.360.0110.00414.28
5.6.350.0040.00414.08
5.6.340.0130.00314.17
5.6.330.0070.00314.57
5.6.320.0070.01014.13
5.6.310.0000.01514.20
5.6.300.0090.00614.10
5.6.290.0070.00714.44
5.6.280.0020.03817.66
5.6.270.0070.01014.07
5.6.260.0040.01114.31
5.6.250.0030.00913.99
5.6.240.0080.00614.15
5.6.230.0100.00314.23
5.6.220.0090.00014.39
5.6.210.0070.02617.52
5.6.200.0070.04316.21
5.6.190.0050.04517.53
5.6.180.0200.03017.34
5.6.170.0120.02717.30
5.6.160.0050.02517.22
5.6.150.0070.02516.21
5.6.140.0020.03716.19
5.6.130.0060.02316.19
5.6.120.0080.04317.73
5.6.110.0070.02917.60
5.6.100.0050.04717.73
5.6.90.0090.04117.61
5.6.80.0110.02017.37
5.6.70.0000.00913.89
5.6.60.0100.00714.14
5.6.50.0070.00714.28
5.6.40.0000.01014.38
5.6.30.0090.00614.36
5.6.20.0030.01514.20
5.6.10.0030.00714.13
5.6.00.0030.00913.97
5.5.380.0090.00614.34
5.5.370.0000.01514.04
5.5.360.0030.00913.82
5.5.350.0070.03517.39
5.5.340.0060.02216.03
5.5.330.0040.02417.19
5.5.320.0070.04517.31
5.5.310.0110.04817.18
5.5.300.0020.04516.25
5.5.290.0080.04315.96
5.5.280.0060.03617.46
5.5.270.0050.04517.32
5.5.260.0050.03117.50
5.5.250.0000.02917.27
5.5.240.1980.02517.25
5.5.230.0070.00714.27
5.5.220.0060.00613.86
5.5.210.0110.00314.06
5.5.200.0040.00814.29
5.5.190.0060.00613.75
5.5.180.0060.00913.78
5.5.170.0030.00713.90
5.5.160.0060.00914.16
5.5.150.0030.01214.15
5.5.140.0040.00714.08
5.5.130.0070.01013.94
5.5.120.0110.00314.28
5.5.110.0100.00314.22
5.5.100.0030.01313.70
5.5.90.0030.00914.06
5.5.80.0040.01214.11
5.5.70.0090.00614.20
5.5.60.0050.00914.15
5.5.50.0090.00614.07
5.5.40.0040.00813.97
5.5.30.0030.01014.18
5.5.20.0040.01114.24
5.5.10.0040.01113.86
5.5.00.0090.00414.20
5.4.450.0130.03015.08
5.4.440.0100.03515.20
5.4.430.0140.02815.13
5.4.420.0070.03315.32
5.4.410.0080.04015.21
5.4.400.0070.04114.77
5.4.390.0080.03315.06
5.4.380.0130.03515.07
5.4.370.0050.03914.89
5.4.360.0180.03014.93
5.4.350.0080.03814.98
5.4.340.0070.03415.08
5.4.330.0080.00310.72
5.4.320.0070.03014.88
5.4.310.0130.02315.07
5.4.300.0120.02614.88
5.4.290.0100.02714.88
5.4.280.0050.03214.84
5.4.270.0110.02315.05
5.4.260.0050.03014.98
5.4.250.0030.04514.86
5.4.240.0080.03115.06
5.4.230.0070.03214.99
5.4.220.0060.03114.77
5.4.210.0040.03615.05
5.4.200.0070.02813.88
5.4.190.0050.02815.00
5.4.180.0080.02714.74
5.4.170.0070.03114.80
5.4.160.0080.03815.13
5.4.150.0120.02715.00
5.4.140.0070.03713.84
5.4.130.0070.03513.67
5.4.120.0120.03313.63
5.4.110.0100.03513.57
5.4.100.0130.03413.59
5.4.90.0140.03013.53
5.4.80.0120.02313.70
5.4.70.0100.02613.60
5.4.60.0110.03313.47
5.4.50.0020.03413.49
5.4.40.0070.03013.56
5.4.30.0070.02813.73
5.4.20.0050.03113.42
5.4.10.0030.02913.60
5.4.00.0090.02513.38
5.3.290.0000.06714.70
5.3.280.0070.05314.54
5.3.270.0100.05714.45
5.3.260.0130.05014.40
5.3.250.0100.05014.54
5.3.240.0100.05014.64
5.3.230.0100.05014.54
5.3.220.0200.04014.46
5.3.210.0070.05714.46
5.3.200.0130.04714.36
5.3.190.0100.05014.42
5.3.180.0100.05014.59
5.3.170.0100.04714.50
5.3.160.0030.05714.46
5.3.150.0070.05314.46
5.3.140.0070.05314.54
5.3.130.0170.05714.47
5.3.120.0130.05014.47
5.3.110.0070.05714.57
5.3.100.0130.05013.98
5.3.90.0100.05014.06
5.3.80.0100.05013.88
5.3.70.0100.05014.00
5.3.60.0000.06013.87
5.3.50.0070.05313.88
5.3.40.0200.04013.79
5.3.30.0100.05013.80
5.3.20.0030.05713.57
5.3.10.0030.05313.66
5.3.00.0070.05013.66
5.2.170.0070.04311.07
5.2.160.0100.03711.15
5.2.150.0100.04011.09
5.2.140.0070.04311.00
5.2.130.0100.03710.96
5.2.120.0070.04011.05
5.2.110.0030.04711.02
5.2.100.0000.04711.11
5.2.90.0100.03710.95
5.2.80.0070.04710.99
5.2.70.0070.04311.02
5.2.60.0030.04310.89
5.2.50.0130.03711.02
5.2.40.0070.04010.85
5.2.30.0030.04311.07
5.2.20.0130.03310.86
5.2.10.0070.03710.80
5.2.00.0030.04310.68
5.1.60.0030.0379.92
5.1.50.0070.0379.84
5.1.40.0100.0309.90
5.1.30.0070.03710.42
5.1.20.0070.04310.38
5.1.10.0030.0409.96
5.1.00.0030.05310.14
5.0.50.0100.0338.61
5.0.40.0130.0238.50
5.0.30.0030.0438.32
5.0.20.0000.0308.13
5.0.10.0030.0408.17
5.0.00.0070.0608.09
4.4.90.0000.0335.87
4.4.80.0030.0235.79
4.4.70.0030.0235.79
4.4.60.0100.0175.79
4.4.50.0030.0235.79
4.4.40.0070.0405.81
4.4.30.0030.0235.79
4.4.20.0000.0235.85
4.4.10.0000.0235.92
4.4.00.0000.0375.88
4.3.110.0030.0235.79
4.3.100.0000.0235.79
4.3.90.0000.0235.79
4.3.80.0030.0335.79
4.3.70.0030.0205.79
4.3.60.0000.0235.79
4.3.50.0030.0235.81
4.3.40.0000.0375.79
4.3.30.0030.0305.79
4.3.20.0000.0275.79
4.3.10.0000.0235.79
4.3.00.0030.0236.79

preferences:
31.08 ms | 403 KiB | 5 Q