3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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; var_dump(urldecode($str));

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0080.00019.29
7.1.100.0030.00618.16
7.1.70.0000.00816.77
7.1.60.0130.01019.46
7.1.50.0040.01516.71
7.1.00.0030.07722.41
7.0.200.0030.00716.68
7.0.140.0000.04321.95
7.0.100.0100.07719.91
7.0.90.0130.07319.95
7.0.80.0030.07319.82
7.0.70.0170.07019.93
7.0.60.0200.06720.01
7.0.50.0070.08320.38
7.0.40.0100.06020.13
7.0.30.0030.08720.11
7.0.20.0130.07320.18
7.0.10.0200.07320.06
7.0.00.0130.07020.08
5.6.280.0100.06721.13
5.6.250.0030.04320.68
5.6.240.0030.09020.64
5.6.230.0030.05320.60
5.6.220.0100.07320.54
5.6.210.0070.08320.66
5.6.200.0170.07321.02
5.6.190.0030.08021.05
5.6.180.0130.07721.04
5.6.170.0170.05721.02
5.6.160.0100.08321.14
5.6.150.0070.08021.07
5.6.140.0100.08020.96
5.6.130.0000.08721.00
5.6.120.0130.06321.03
5.6.110.0070.08021.09
5.6.100.0100.08021.12
5.6.90.0000.09321.09
5.6.80.0070.08020.52
5.6.70.0030.08020.40
5.6.60.0200.05720.32
5.6.50.0130.04720.43
5.6.40.0000.05720.38
5.6.30.0070.07720.38
5.6.20.0070.07020.43
5.6.10.0130.07020.41
5.6.00.0000.07020.23
5.5.380.0130.07020.35
5.5.370.0030.08720.48
5.5.360.0070.08320.43
5.5.350.0070.08320.41
5.5.340.0170.07720.89
5.5.330.0130.07020.93
5.5.320.0070.08320.78
5.5.310.0030.06020.88
5.5.300.0200.06020.88
5.5.290.0100.07320.78
5.5.280.0130.07720.91
5.5.270.0070.05020.75
5.5.260.0070.08720.74
5.5.250.0070.08720.57
5.5.240.0130.07320.16
5.5.230.0070.05020.18
5.5.220.0000.06320.25
5.5.210.0070.08020.21
5.5.200.0100.07720.16
5.5.190.0130.07020.27
5.5.180.0170.07020.26
5.5.160.0100.06319.96
5.5.150.0000.06720.06
5.5.140.0030.08019.99
5.5.130.0070.05320.14
5.5.120.0070.07720.09
5.5.110.0100.08020.17
5.5.100.0170.06020.02
5.5.90.0070.07320.07
5.5.80.0100.07019.95
5.5.70.0100.06020.07
5.5.60.0070.07720.01
5.5.50.0100.04720.15
5.5.40.0130.07720.05
5.5.30.0070.07720.11
5.5.20.0200.05720.05
5.5.10.0030.08020.05
5.5.00.0270.05320.03
5.4.450.0130.07019.31
5.4.440.0030.07719.38
5.4.430.0070.05019.40
5.4.420.0100.06319.35
5.4.410.0100.07319.01
5.4.400.0070.08319.09
5.4.390.0100.07019.04
5.4.380.0130.07319.03
5.4.370.0100.07318.80
5.4.360.0070.07319.12
5.4.350.0100.07018.91
5.4.340.0130.06718.97
5.4.320.0130.04019.06
5.4.310.0100.06319.12
5.4.300.0100.06019.09
5.4.290.0100.07718.98
5.4.280.0100.07019.10
5.4.270.0070.07318.81
5.4.260.0070.06719.04
5.4.250.0130.07019.02
5.4.240.0070.07719.02
5.4.230.0130.06718.80
5.4.220.0130.07719.03
5.4.210.0030.08018.78
5.4.200.0100.07018.94
5.4.190.0100.07319.13
5.4.180.0130.06318.80
5.4.170.0000.08318.77
5.4.160.0130.06319.05
5.4.150.0100.07318.78
5.4.140.0130.07016.05
5.4.130.0000.05316.31
5.4.120.0100.06316.00
5.4.110.0070.07316.21
5.4.100.0100.07016.21
5.4.90.0170.04716.30
5.4.80.0030.05316.32
5.4.70.0100.06716.35
5.4.60.0170.06016.24
5.4.50.0070.06716.23
5.4.40.0070.07016.36
5.4.30.0030.07316.31
5.4.20.0030.05316.17
5.4.10.0100.06716.18
5.4.00.0030.04715.82
5.3.290.0070.07714.65
5.3.280.0130.06714.54
5.3.270.0170.06014.58
5.3.260.0070.08014.42
5.3.250.0000.07714.60
5.3.240.0000.07714.57
5.3.230.0030.08314.51
5.3.220.0030.07714.43
5.3.210.0100.07314.39
5.3.200.0100.07014.53
5.3.190.0030.07714.56
5.3.180.0130.06314.54
5.3.170.0070.07714.56
5.3.160.0030.07714.50
5.3.150.0030.07714.56
5.3.140.0100.07314.53
5.3.130.0100.06714.39
5.3.120.0030.06014.40
5.3.110.0070.07714.40
5.3.100.0070.07013.86
5.3.90.0030.07713.88
5.3.80.0030.08313.98
5.3.70.0030.07314.00
5.3.60.0030.07013.96
5.3.50.0130.06713.94
5.3.40.0070.07313.80
5.3.30.0070.07313.90
5.3.20.0070.07013.47
5.3.10.0000.06313.51
5.3.00.0030.07713.63
5.2.170.0070.06311.36
5.2.160.0030.06711.36
5.2.150.0070.06011.36
5.2.140.0000.06711.36
5.2.130.0070.05711.36
5.2.120.0030.06011.36
5.2.110.0030.06311.36
5.2.100.0030.03711.36
5.2.90.0070.05311.36
5.2.80.0130.05011.36
5.2.70.0070.06311.36
5.2.60.0000.06311.36
5.2.50.0000.06711.36
5.2.40.0070.05711.36
5.2.30.0070.05711.36
5.2.20.0030.06011.36
5.2.10.0000.06711.36
5.2.00.0100.03011.36
5.1.60.0070.04011.36
5.1.50.0000.05711.36
5.1.40.0100.04711.36
5.1.30.0030.05011.36
5.1.20.0100.05011.36
5.1.10.0070.05311.36
5.1.00.0030.05311.36
5.0.50.0000.04711.36
5.0.40.0130.03011.36
5.0.30.0030.04011.36
5.0.20.0070.04011.36
5.0.10.0030.04711.36
5.0.00.0070.06311.36
4.4.90.0000.03711.36
4.4.80.0000.03311.36
4.4.70.0000.04011.36
4.4.60.0000.03011.36
4.4.50.0030.03311.36
4.4.40.0000.05311.36
4.4.30.0030.03311.36
4.4.20.0000.04011.36
4.4.10.0000.03711.36
4.4.00.0030.05311.36
4.3.110.0100.03011.36
4.3.100.0130.02311.36
4.3.90.0030.02311.36
4.3.80.0070.05311.36
4.3.70.0070.02311.36
4.3.60.0000.03711.36
4.3.50.0070.03011.36
4.3.40.0030.05011.36
4.3.30.0070.02711.36
4.3.20.0000.03711.36
4.3.10.0000.03711.36
4.3.00.0030.03011.36