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> <?php foreach ($jsonfile->playlist as $obj) { echo '<tr><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.0170.00016.38
8.3.50.0120.00521.94
8.3.40.0140.00718.67
8.3.30.0090.00618.44
8.3.20.0090.00920.04
8.3.10.0040.00423.48
8.3.00.0030.00519.13
8.2.180.0220.00016.50
8.2.170.0040.01818.95
8.2.160.0100.01019.46
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00822.25
8.2.120.0040.00426.35
8.2.110.0040.00421.12
8.2.100.0060.00617.66
8.2.90.0050.00319.05
8.2.80.0040.00417.97
8.2.70.0050.00317.48
8.2.60.0060.00318.03
8.2.50.0080.00018.10
8.2.40.0000.00822.20
8.2.30.0030.00619.22
8.2.20.0050.00317.58
8.2.10.0070.00018.14
8.2.00.0040.00418.13
8.1.280.0170.00325.92
8.1.270.0050.00323.92
8.1.260.0080.00028.09
8.1.250.0090.00028.09
8.1.240.0040.00423.88
8.1.230.0090.00318.84
8.1.220.0080.00017.76
8.1.210.0040.00418.77
8.1.200.0030.00717.10
8.1.190.0090.00017.23
8.1.180.0040.00418.10
8.1.170.0000.00818.59
8.1.160.0000.00722.16
8.1.150.0040.00418.78
8.1.140.0000.00819.58
8.1.130.0070.00017.69
8.1.120.0070.00017.52
8.1.110.0060.00317.53
8.1.100.0070.00017.48
8.1.90.0050.00317.55
8.1.80.0050.00217.38
8.1.70.0070.00017.45
8.1.60.0000.00817.60
8.1.50.0000.00817.45
8.1.40.0050.00317.59
8.1.30.0030.00517.61
8.1.20.0000.00817.69
8.1.10.0040.00417.40
8.1.00.0000.00717.48
8.0.300.0040.00418.77
8.0.290.0000.00816.63
8.0.280.0070.00018.39
8.0.270.0000.00817.32
8.0.260.0000.00717.20
8.0.250.0000.00616.98
8.0.240.0030.00316.85
8.0.230.0000.00716.95
8.0.220.0000.00716.81
8.0.210.0000.00716.87
8.0.200.0030.00317.01
8.0.190.0000.00816.92
8.0.180.0070.00016.95
8.0.170.0040.00416.85
8.0.160.0000.00716.99
8.0.150.0000.00816.91
8.0.140.0040.00416.78
8.0.130.0000.00513.21
8.0.120.0070.00016.88
8.0.110.0040.00416.96
8.0.100.0000.00716.78
8.0.90.0070.00016.90
8.0.80.0120.00316.83
8.0.70.0040.00416.72
8.0.60.0000.00716.81
8.0.50.0030.00516.93
8.0.30.0080.00817.01
8.0.20.0130.00817.41
8.0.10.0050.00216.90
8.0.00.0060.01016.81
7.4.330.0000.00715.08
7.4.320.0000.00616.64
7.4.300.0030.00316.59
7.4.290.0040.00416.54
7.4.280.0040.00416.59
7.4.270.0030.00316.59
7.4.260.0100.00016.49
7.4.250.0000.00716.48
7.4.240.0030.00316.52
7.4.230.0030.00316.57
7.4.220.0080.01116.61
7.4.210.0090.00916.56
7.4.200.0000.00816.48
7.4.160.0070.01016.55
7.4.150.0030.01317.40
7.4.140.0080.01317.86
7.4.130.0070.01016.49
7.4.120.0130.00916.45
7.4.110.0090.00916.54
7.4.100.0110.01116.26
7.4.90.0090.00916.47
7.4.80.0030.02019.39
7.4.70.0100.01116.48
7.4.60.0030.01816.49
7.4.50.0040.01516.23
7.4.40.0030.01716.50
7.4.30.0090.00616.54
7.4.00.0100.00615.04
7.3.330.0000.00613.05
7.3.320.0030.00312.94
7.3.310.0030.00316.03
7.3.300.0000.00716.26
7.3.290.0040.01216.23
7.3.280.0080.01016.21
7.3.270.0120.00617.40
7.3.260.0110.00616.28
7.3.250.0130.01016.31
7.3.240.0140.00816.46
7.3.230.0070.01016.39
7.3.210.0120.00616.22
7.3.200.0060.01016.36
7.3.190.0130.00316.22
7.3.180.0130.00316.71
7.3.170.0080.00816.48
7.3.160.0090.01216.34
7.3.120.0100.00614.34
7.3.110.0140.00314.71
7.3.100.0110.00714.71
7.3.90.0060.00615.07
7.3.80.0170.00014.69
7.3.70.0060.00614.80
7.3.60.0050.00814.78
7.3.50.0070.00714.61
7.3.40.0070.00714.55
7.3.30.0070.00714.82
7.3.20.0000.01516.45
7.3.10.0000.01116.56
7.3.00.0030.00716.77
7.2.330.0110.00616.66
7.2.320.0070.01016.45
7.2.310.0090.00816.58
7.2.300.0090.00916.62
7.2.290.0090.00916.74
7.2.250.0080.01114.69
7.2.240.0000.01814.82
7.2.230.0060.01015.07
7.2.220.0030.00614.85
7.2.210.0090.00614.91
7.2.200.0050.00515.04
7.2.190.0100.01015.15
7.2.180.0000.01414.98
7.2.170.0060.00315.02
7.2.00.0030.00919.60
7.1.330.0030.01315.70
7.1.320.0000.01315.62
7.1.310.0110.00315.52
7.1.300.0060.01215.63
7.1.290.0060.00615.77
7.1.280.0030.01015.70
7.1.270.0060.00915.70
7.1.260.0070.00715.86
7.1.70.0030.01316.80
7.1.60.0000.01419.38
7.1.00.0030.07722.43
7.0.200.0290.00315.04
7.0.80.0130.07719.95
7.0.70.0300.08319.91
7.0.60.0230.06019.97
7.0.50.0270.06720.32
7.0.40.0300.06320.28
7.0.30.0270.06020.34
7.0.20.0330.05720.35
7.0.10.0270.05720.30
7.0.00.0530.06320.23
5.6.230.0070.07020.64
5.6.220.0100.08720.80
5.6.210.0030.06720.66
5.6.200.0030.07021.17
5.6.190.0170.06721.09
5.6.180.0170.05721.08
5.6.170.0130.06021.19
5.6.160.0130.07021.13
5.6.150.0100.07321.06
5.6.140.0230.06021.01
5.6.130.0130.06021.04
5.6.120.0030.06721.09
5.6.110.0130.06021.18
5.6.100.0070.06321.18
5.6.90.0130.06021.09
5.6.80.0170.05320.45
5.6.70.0200.05020.46
5.6.60.0170.05320.39
5.6.50.0130.06720.39
5.6.40.0030.06320.55
5.6.30.0200.05320.52
5.6.20.0170.05320.37
5.6.10.0130.05720.40
5.6.00.0000.06720.41

preferences:
34.15 ms | 401 KiB | 5 Q