3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str= <<<STR %257B%2522content%2522%253A%257B%2522song_id%2522%253A73979307%252C%2522pid%2522%253A%25220%2522%252C%2522title%2522%253A%2522%255Cu4e03%255Cu8272%255Cu6865%2522%252C%2522artist_id%2522%253A73356857%252C%2522artist%2522%253A%2522FightingMan%2522%252C%2522all_artist_id%2522%253A%2522127857%2522%252C%2522all_artist%2522%253A%2522FightingMan%2522%252C%2522author%2522%253A%2522FightingMan%2522%252C%2522compose%2522%253A%2522%2522%252C%2522songwriting%2522%253A%2522%2522%252C%2522mixed%2522%253A%2522%2522%252C%2522arrangements%2522%253A%2522%2522%252C%2522language%2522%253A%2522%2522%252C%2522publishtime%2522%253A%2522%2522%252C%2522file_duration%2522%253A%252268%2522%252C%2522hot%2522%253A%25220%2522%252C%2522hot_listen%2522%253A%25220%2522%252C%2522ting_hot%2522%253A%25220%2522%252C%2522download_count%2522%253A%25220%2522%252C%2522likes%2522%253A%25220%2522%252C%2522style%2522%253A%2522%2522%252C%2522is_down%2522%253A%25221%2522%252C%2522is_zip%2522%253A%25220%2522%252C%2522is_charge%2522%253A%25220%2522%252C%2522price%2522%253A%25220%2522%252C%2522xrank%2522%253A%25220%2522%252C%2522del_status%2522%253A%25220%2522%252C%2522verify_status%2522%253A%25221%2522%252C%2522max_rate%2522%253A%2522320%2522%252C%2522info%2522%253A%2522%2522%252C%2522relate_song_ids%2522%253A%2522%2522%252C%2522ontop%2522%253A%25220%2522%252C%2522allow_cover%2522%253A%25221%2522%252C%2522type%2522%253A%25220%2522%252C%2522is_cover%2522%253A%25220%2522%252C%2522ext%2522%253A%2522%2522%252C%2522style_ids%2522%253A%2522%2522%252C%2522tag_ids%2522%253A%2522%2522%257D%252C%2522audio%2522%253A%257B%2522param%2522%253A%2522http%253A%255C%252F%255C%252Fbcs-sandbox.baidu.com%255C%252Fqukuauto%255C%252F0525ee3363f91cfa6ed55dc1c81ad97d.mp3%2522%257D%252C%2522type%2522%253A%2522song%2522%257D STR; $str1 = <<<STRR %7B%22content%22%3A%7B%22song_id%22%3A73979307%2C%22pid%22%3A%220%22%2C%22title%22%3A%22%5Cu4e03%5Cu8272%5Cu6865%22%2C%22artist_id%22%3A73356857%2C%22artist%22%3A%22FightingMan%22%2C%22all_artist_id%22%3A%22127857%22%2C%22all_artist%22%3A%22FightingMan%22%2C%22author%22%3A%22FightingMan%22%2C%22compose%22%3A%22%22%2C%22songwriting%22%3A%22%22%2C%22mixed%22%3A%22%22%2C%22arrangements%22%3A%22%22%2C%22language%22%3A%22%22%2C%22publishtime%22%3A%22%22%2C%22file_duration%22%3A%2268%22%2C%22hot%22%3A%220%22%2C%22hot_listen%22%3A%220%22%2C%22ting_hot%22%3A%220%22%2C%22download_count%22%3A%220%22%2C%22likes%22%3A%220%22%2C%22style%22%3A%22%22%2C%22is_down%22%3A%221%22%2C%22is_zip%22%3A%220%22%2C%22is_charge%22%3A%220%22%2C%22price%22%3A%220%22%2C%22xrank%22%3A%220%22%2C%22del_status%22%3A%220%22%2C%22verify_status%22%3A%221%22%2C%22max_rate%22%3A%22320%22%2C%22info%22%3A%22%22%2C%22relate_song_ids%22%3A%22%22%2C%22ontop%22%3A%220%22%2C%22allow_cover%22%3A%221%22%2C%22type%22%3A%220%22%2C%22is_cover%22%3A%220%22%2C%22ext%22%3A%22%22%2C%22style_ids%22%3A%22%22%2C%22tag_ids%22%3A%22%22%7D%2C%22audio%22%3A%7B%22param%22%3A%22http%3A%5C%2F%5C%2Fbcs-sandbox.baidu.com%5C%2Fqukuauto%5C%2F0525ee3363f91cfa6ed55dc1c81ad97d.mp3%22%7D%2C%22type%22%3A%22song%22%7D STRR; var_dump(urldecode($str1));

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.70.0070.01018.18
8.3.60.0130.00618.54
8.3.50.0070.01321.92
8.3.40.0060.01218.75
8.3.30.0140.00018.92
8.3.20.0000.00720.18
8.3.10.0070.00021.85
8.3.00.0040.00419.19
8.2.190.0100.00716.58
8.2.180.0060.00816.50
8.2.170.0100.00322.96
8.2.160.0030.01022.13
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0040.00419.52
8.2.110.0070.00321.09
8.2.100.0000.01217.78
8.2.90.0080.00019.09
8.2.80.0050.00317.97
8.2.70.0090.00017.38
8.2.60.0080.00517.80
8.2.50.0040.00418.07
8.2.40.0000.00918.03
8.2.30.0040.00418.02
8.2.20.0000.00817.62
8.2.10.0080.00017.89
8.2.00.0040.00417.64
8.1.280.0070.01025.92
8.1.270.0040.00418.88
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00622.81
8.1.230.0000.01117.70
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0030.00618.52
8.1.160.0040.00422.03
8.1.150.0040.00418.88
8.1.140.0080.00019.14
8.1.130.0000.00717.92
8.1.120.0040.00417.39
8.1.110.0000.00817.37
8.1.100.0040.00417.32
8.1.90.0000.00717.44
8.1.80.0030.00517.37
8.1.70.0030.00617.29
8.1.60.0030.00817.43
8.1.50.0000.00917.37
8.1.40.0040.00417.37
8.1.30.0000.00917.50
8.1.20.0060.00317.56
8.1.10.0040.00417.45
8.1.00.0040.00417.32
8.0.300.0040.00418.77
8.0.290.0060.00316.63
8.0.280.0030.00318.44
8.0.270.0000.00717.25
8.0.260.0000.00617.12
8.0.250.0030.00316.98
8.0.240.0000.00716.95
8.0.230.0050.00316.97
8.0.220.0060.00016.93
8.0.210.0000.00716.82
8.0.200.0040.00416.88
8.0.190.0060.00316.84
8.0.180.0000.00716.84
8.0.170.0000.00716.96
8.0.160.0030.00317.02
8.0.150.0040.00416.88
8.0.140.0040.00316.93
8.0.130.0000.00613.32
8.0.120.0040.00416.79
8.0.110.0070.00016.83
8.0.100.0030.00416.96
8.0.90.0080.00016.68
8.0.80.0120.00916.83
8.0.70.0000.00716.98
8.0.60.0000.00716.93
8.0.50.0040.00416.79
8.0.30.0090.01517.07
8.0.20.0100.00917.40
8.0.10.0070.00016.87
8.0.00.0030.01416.79
7.4.330.0030.00315.03
7.4.320.0060.00016.46
7.4.300.0060.00016.50
7.4.290.0000.00816.55
7.4.280.0080.00016.37
7.4.270.0030.00316.39
7.4.260.0070.00016.48
7.4.250.0000.00816.49
7.4.240.0060.00116.56
7.4.230.0000.00616.34
7.4.220.0030.01416.50
7.4.210.0090.00916.54
7.4.200.0000.00716.43
7.4.160.0160.00616.37
7.4.150.0090.00917.40
7.4.140.0070.01317.86
7.4.130.0130.01016.57
7.4.120.0110.00916.53
7.4.110.0030.01416.53
7.4.100.0120.00616.49
7.4.90.0110.00516.53
7.4.80.0100.00719.39
7.4.70.0070.01016.57
7.4.60.0030.01216.48
7.4.50.0050.00316.33
7.4.40.0060.00916.57
7.4.30.0160.00316.36
7.4.00.0060.00914.80
7.3.330.0000.00613.11
7.3.320.0050.00013.13
7.3.310.0000.00716.08
7.3.300.0030.00316.23
7.3.290.0080.00816.25
7.3.280.0080.01016.24
7.3.270.0070.01017.40
7.3.260.0100.00716.17
7.3.250.0060.01016.29
7.3.240.0080.00816.09
7.3.230.0060.01316.39
7.3.210.0070.01416.21
7.3.200.0130.00819.39
7.3.190.0030.01316.27
7.3.180.0110.00516.59
7.3.170.0070.01116.27
7.3.160.0040.01416.25
7.2.330.0070.01516.59
7.2.320.0140.00316.48
7.2.310.0170.00016.23
7.2.300.0140.00716.57
7.2.290.0090.00816.58
7.2.00.0060.00619.12
7.1.100.0030.00618.01
7.1.70.0030.00617.05
7.1.60.0030.01619.46
7.1.50.0040.01916.94
7.1.00.0000.07722.36
7.0.200.0040.00416.41
7.0.140.0030.06022.07
7.0.60.0030.06019.87
7.0.50.0070.05317.91
7.0.40.0130.08320.40
7.0.30.0330.07720.30
7.0.20.0270.07720.13
7.0.10.0100.03720.30
7.0.00.0130.05720.13
5.6.280.0070.07020.91
5.6.210.0070.07020.53
5.6.200.0170.07018.22
5.6.190.0030.04320.69
5.6.180.3500.06020.48
5.6.170.0230.08020.49
5.6.160.0070.08020.46
5.6.150.0200.07018.12
5.6.140.0100.03718.11
5.6.130.0030.08018.12
5.6.120.0030.06020.97
5.6.110.0100.03721.14
5.6.100.0070.04020.99
5.6.90.0070.03721.03
5.6.80.0030.03720.50
5.6.70.4400.03020.37
5.5.350.0430.06720.38
5.5.340.0070.05317.98
5.5.330.0030.06720.20
5.5.320.0270.04720.29
5.5.310.0330.07020.50
5.5.300.0030.04318.02
5.5.290.0030.08718.02
5.5.280.0100.03720.78
5.5.270.0000.07020.94
5.5.260.0000.06320.88
5.5.250.0030.08320.61
5.5.240.0270.07020.14
5.4.450.0670.06319.11
5.4.440.0170.05319.10
5.4.430.0100.05319.49
5.4.420.0130.05019.47
5.4.410.0200.04319.37
5.4.400.0070.05719.06
5.4.390.0230.05018.50
5.4.380.0300.04718.53
5.4.370.0270.05018.59
5.4.360.0200.07018.73
5.4.350.0130.06318.60
5.4.340.0200.05318.59
5.4.320.0230.04718.71
5.4.310.0270.07018.68
5.4.300.0230.05018.69
5.4.290.0230.05018.57
5.4.280.0130.06018.63
5.4.270.0100.06018.45
5.4.260.0130.06318.61
5.4.250.0300.05318.59
5.4.240.0170.06318.49
5.4.230.0130.06018.57
5.4.220.0100.06318.68
5.4.210.0270.04718.66
5.4.200.0170.05316.47
5.4.190.0270.04718.64
5.4.180.0230.04718.44
5.4.170.0230.05018.38
5.4.160.0230.05018.57
5.4.150.0200.05718.65
5.4.140.0200.05016.36
5.4.130.0300.04016.09
5.4.120.0170.05716.14
5.4.110.0130.05716.17
5.4.100.0170.05316.30
5.4.90.0200.05316.13
5.4.80.0230.05316.21
5.4.70.0270.04316.28
5.4.60.0200.04716.20
5.4.50.0130.05316.14
5.4.40.0330.03716.11
5.4.30.0130.05316.03
5.4.20.0170.05016.13
5.4.10.0170.05016.22
5.4.00.0100.06715.77
5.3.290.0270.04714.75
5.3.280.0130.05714.69
5.3.270.0200.05014.52
5.3.260.0300.04314.53
5.3.250.0170.05314.48
5.3.240.0230.05714.70
5.3.230.0200.04714.59
5.3.220.0070.06014.55
5.3.210.0200.05014.57
5.3.200.0100.05714.47
5.3.190.0200.05014.55
5.3.180.0200.04714.64
5.3.170.0130.05714.49
5.3.160.0130.05314.64
5.3.150.0270.04314.61
5.3.140.0170.05714.63
5.3.130.0230.04714.59
5.3.120.0130.06014.62
5.3.110.0170.06314.54
5.3.100.0270.04013.96
5.3.90.0170.05014.11
5.3.80.0270.04014.01
5.3.70.0130.05713.96
5.3.60.0200.05013.99
5.3.50.0230.04313.86
5.3.40.0230.04713.91
5.3.30.0170.04713.89
5.3.20.0100.05313.78
5.3.10.0170.04313.56
5.3.00.0100.05313.73
5.2.170.0070.04711.08
5.2.160.0170.04011.30
5.2.150.0170.03711.29
5.2.140.0130.04011.21
5.2.130.0130.04011.24
5.2.120.0130.05311.11
5.2.110.0030.05011.17
5.2.100.0070.04711.09
5.2.90.0200.03311.14
5.2.80.0130.04711.07
5.2.70.0130.05011.16
5.2.60.0030.05311.02
5.2.50.0170.03711.03
5.2.40.0130.04010.95
5.2.30.0130.03711.11
5.2.20.0100.04711.08
5.2.10.0170.03311.15
5.2.00.0130.04310.86
5.1.60.0130.03010.19
5.1.50.0200.02310.15
5.1.40.0170.03010.14
5.1.30.0100.03710.44
5.1.20.0130.03710.55
5.1.10.0170.03710.20
5.1.00.0130.03310.22
5.0.50.0100.0278.74
5.0.40.0030.0408.66
5.0.30.0100.0438.48
5.0.20.0030.0308.33
5.0.10.0070.0308.50
5.0.00.0100.0438.50
4.4.90.0070.0206.17
4.4.80.0070.0206.13
4.4.70.0030.0276.06
4.4.60.0070.0306.06
4.4.50.0030.0276.15
4.4.40.0000.0406.15
4.4.30.0030.0306.11
4.4.20.0130.0206.25
4.4.10.0030.0236.22
4.4.00.0070.0336.17
4.3.110.0030.0236.02
4.3.100.0070.0206.06
4.3.90.0070.0236.09
4.3.80.0030.0406.05
4.3.70.0070.0206.05
4.3.60.0130.0136.06
4.3.50.0070.0206.03
4.3.40.0030.0376.00
4.3.30.0100.0234.84
4.3.20.0000.0304.79
4.3.10.0000.0234.52
4.3.00.0130.0207.18

preferences:
45.36 ms | 401 KiB | 5 Q