3v4l.org

run code in 300+ PHP versions simultaneously
<?php $getfile='{ "playlist": [ { "title": "Test title", "title_bg": "link/to/image.png", "link": "https://www.google.com", "description": "This is a test JSON Object" } ] }'; $jsonfile = json_decode($getfile); print_r($jsonfile);?> <table align="center"> <tr> <th>Title</th> <th>Background Image</th> <th>Video URL (Link to Video)</th> <th>Description of Video</th> </tr> <tr> <?php foreach ($jsonfile->playlist as $obj) { echo '<td>' . $obj->title . '</td>'; echo '<td>' . $obj->title_bg . '</td>'; echo '<td>' . $obj->link . '</td>'; echo '<td>' . $obj->description . '</td>'; } ?> </tr> </table>

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.0080.00816.50
8.3.50.0120.00918.03
8.3.40.0150.00618.75
8.3.30.0120.00318.32
8.3.20.0110.00720.39
8.3.10.0040.00423.66
8.3.00.0080.00019.13
8.2.180.0170.00316.75
8.2.170.0070.01022.96
8.2.160.0140.00719.36
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.08
8.2.120.0040.00426.35
8.2.110.0130.01022.11
8.2.100.0090.00317.90
8.2.90.0040.00419.05
8.2.80.0080.00017.97
8.2.70.0040.00417.46
8.2.60.0050.00317.93
8.2.50.0000.00818.10
8.2.40.0080.00022.30
8.2.30.0000.00719.19
8.2.20.0040.00417.72
8.2.10.0070.00018.18
8.2.00.0050.00218.14
8.1.280.0170.00325.92
8.1.270.0040.00423.75
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0060.00322.51
8.1.230.0070.00317.75
8.1.220.0050.00317.79
8.1.210.0030.00618.77
8.1.200.0090.00017.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0060.00318.57
8.1.160.0030.00322.18
8.1.150.0040.00418.95
8.1.140.0040.00419.60
8.1.130.0040.00417.75
8.1.120.0040.00417.52
8.1.110.0040.00417.38
8.1.100.0000.00817.44
8.1.90.0040.00417.36
8.1.80.0000.00717.52
8.1.70.0070.00017.53
8.1.60.0030.00617.60
8.1.50.0000.00817.50
8.1.40.0030.00517.49
8.1.30.0030.00617.57
8.1.20.0060.00317.69
8.1.10.0030.00617.54
8.1.00.0040.00417.45
8.0.300.0070.00018.77
8.0.290.0000.00916.58
8.0.280.0000.00718.46
8.0.270.0050.00217.36
8.0.260.0000.00717.15
8.0.250.0070.00017.02
8.0.240.0000.00717.00
8.0.230.0000.00717.04
8.0.220.0030.00516.80
8.0.210.0040.00416.92
8.0.200.0030.00316.96
8.0.190.0070.00016.83
8.0.180.0040.00416.89
8.0.170.0050.00216.91
8.0.160.0030.00516.80
8.0.150.0040.00416.92
8.0.140.0020.00516.93
8.0.130.0030.00313.33
8.0.120.0080.00016.93
8.0.110.0080.00016.91
8.0.100.0000.00816.79
8.0.90.0030.00316.97
8.0.80.0110.00416.95
8.0.70.0080.00016.75
8.0.60.0040.00416.79
8.0.50.0040.00416.86
8.0.30.0110.00817.27
8.0.20.0150.00517.42
8.0.10.0040.00417.06
8.0.00.0070.02016.82
7.4.330.0030.00315.14
7.4.320.0060.00016.61
7.4.300.0000.00616.52
7.4.290.0040.00416.62
7.4.280.0000.00816.65
7.4.270.0000.00716.66
7.4.260.0030.00316.62
7.4.250.0070.00016.40
7.4.240.0080.00016.63
7.4.230.0030.00316.46
7.4.220.0100.01016.68
7.4.210.0030.01316.55
7.4.200.0050.00216.70
7.4.160.0080.00816.57
7.4.150.0100.00717.40
7.4.140.0120.00617.86
7.4.130.0100.00716.44
7.4.120.0090.00916.43
7.4.110.0080.01116.45
7.4.100.0060.01016.44
7.4.90.0090.00916.52
7.4.80.0030.01419.39
7.4.70.0090.00916.52
7.4.60.0120.00616.57
7.4.50.0060.01016.67
7.4.40.0060.01116.21
7.4.30.0180.00016.47
7.4.00.0070.01015.04
7.3.330.0000.00613.09
7.3.320.0030.00312.94
7.3.310.0000.00716.14
7.3.300.0030.00316.15
7.3.290.0080.00816.22
7.3.280.0070.01016.20
7.3.270.0130.01017.40
7.3.260.0070.01216.38
7.3.250.0120.00916.26
7.3.240.0120.00816.21
7.3.230.0130.00916.52
7.3.210.0150.00316.29
7.3.200.0190.00316.51
7.3.190.0000.01716.47
7.3.180.0120.00616.18
7.3.170.0130.00316.39
7.3.160.0110.01116.25
7.3.120.0030.01414.93
7.3.110.0100.00714.80
7.3.100.0040.00914.66
7.3.90.0090.00414.90
7.3.80.0080.00814.54
7.3.70.0060.00814.76
7.3.60.0060.00614.63
7.3.50.0020.01014.90
7.3.40.0060.00714.66
7.3.30.0050.00714.72
7.3.20.0060.00516.45
7.3.10.0050.00916.53
7.3.00.0070.00716.53
7.2.330.0060.01116.80
7.2.320.0070.01016.96
7.2.310.0040.01816.48
7.2.300.0050.01116.71
7.2.290.0070.01116.73
7.2.250.0060.01315.34
7.2.240.0100.00915.08
7.2.230.0030.01014.85
7.2.220.0050.00814.97
7.2.210.0020.01414.98
7.2.200.0020.01115.17
7.2.190.0090.00514.82
7.2.180.0030.01014.96
7.2.170.0060.00715.08
7.2.160.0030.00614.95
7.2.150.0070.00717.07
7.2.140.0070.00717.04
7.2.130.0050.00816.77
7.2.120.0080.00716.66
7.2.110.0080.00616.82
7.2.100.0080.00716.74
7.2.90.0110.00716.93
7.2.80.0070.00916.71
7.2.70.0070.00916.86
7.2.60.0050.00916.82
7.2.50.0110.00616.94
7.2.40.0090.00616.98
7.2.30.0030.01116.84
7.2.20.0080.00816.97
7.2.10.0080.00716.67
7.2.00.0050.00817.42
7.1.330.0040.01015.78
7.1.320.0060.00615.83
7.1.310.0060.00315.78
7.1.300.0050.00715.63
7.1.290.0050.00815.73
7.1.280.0060.00315.61
7.1.270.0030.00915.61
7.1.260.0020.00815.54
7.1.250.0090.00615.78
7.1.200.0040.00815.65
7.1.70.0060.00316.80
7.1.60.0060.01219.38
7.1.00.0070.07322.57
7.0.200.0250.00914.77
7.0.80.0670.08319.93
7.0.70.0100.06019.95
7.0.60.0070.06319.97
7.0.50.0070.06320.29
7.0.40.0200.06320.34
7.0.30.0200.07720.32
7.0.20.0170.08720.39
7.0.10.0300.05020.38
7.0.00.0230.05320.34
5.6.230.0300.04720.66
5.6.220.0200.05020.48
5.6.210.0130.05720.62
5.6.200.0070.07021.20
5.6.190.0030.07021.06
5.6.180.0100.06721.17
5.6.170.0130.05721.20
5.6.160.0230.05721.05
5.6.150.0100.07721.06
5.6.140.0230.04721.07
5.6.130.0100.06021.07
5.6.120.0170.06021.01
5.6.110.0100.06021.07
5.6.100.0170.06021.06
5.6.90.0100.06321.05
5.6.80.0100.05720.39
5.6.70.0170.05020.47
5.6.60.0200.04720.48
5.6.50.0130.05720.56
5.6.40.0130.05720.43
5.6.30.0230.06720.38
5.6.20.0170.05720.45
5.6.10.0200.05020.45
5.6.00.0070.06020.36

preferences:
60.47 ms | 400 KiB | 5 Q