3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $description_data = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. "; $size_check = strlen($description_data); if ($size_check > 565) { print "<div class='category-description std'> <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?> </div><span class='read-more' id='togglr'>Read More</span>"; } else { print "<div class='category-description-sml std'> <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?> </div><span class='read-more' id='togglr'>Read More</span>"; } ?>

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.3.10.0040.01116.66
7.3.00.0060.00316.63
7.2.130.0040.00816.93
7.2.120.0000.01216.91
7.2.110.0060.01116.61
7.2.100.0090.00616.82
7.2.90.0050.00816.78
7.2.80.0060.01116.62
7.2.70.0120.00516.93
7.2.60.0070.00916.86
7.2.50.0070.01116.92
7.2.40.0090.00816.84
7.2.30.0090.00616.88
7.2.20.0020.01216.69
7.2.10.0100.00616.66
7.2.00.0070.00817.52
7.1.250.0030.01015.48
7.1.230.0130.00315.93
7.1.220.0110.00415.74
7.1.210.0160.00315.86
7.1.200.0070.00515.67
7.1.190.0040.01115.22
7.1.180.0100.00515.77
7.1.170.0080.00815.70
7.1.160.0070.01015.86
7.1.150.0060.00915.56
7.1.140.0070.01115.60
7.1.130.0130.00315.45
7.1.120.0140.00315.80
7.1.110.0130.00315.64
7.1.100.0020.01116.89
7.1.90.0070.01015.68
7.1.80.0080.00815.77
7.1.70.0050.00716.34
7.1.60.0080.01317.51
7.1.50.0160.01116.30
7.1.40.0070.00715.59
7.1.30.0120.00915.68
7.1.20.0190.00315.71
7.1.10.0060.00915.71
7.1.00.0060.04019.05
7.0.310.0100.00715.48
7.0.300.0080.01214.88
7.0.290.0030.01315.23
7.0.280.0120.00615.00
7.0.270.0090.00815.17
7.0.260.0080.00815.37
7.0.250.0070.00715.29
7.0.240.0130.00315.34
7.0.230.0120.00215.58
7.0.220.0100.00315.46
7.0.210.0120.00415.48
7.0.200.0080.00616.04
7.0.190.0200.00015.17
7.0.180.0050.00815.42
7.0.170.0090.00715.34
7.0.160.0070.00715.43
7.0.150.0070.00715.45
7.0.140.0080.04018.65
7.0.130.0100.00715.31
7.0.120.0180.00014.98
7.0.110.0080.02317.80
7.0.100.0040.02217.51
7.0.90.0300.02017.70
7.0.80.0240.03417.72
7.0.70.0090.03717.69
7.0.60.0060.02417.72
7.0.50.0070.03517.68
7.0.40.0070.03216.47
7.0.30.0070.04316.70
7.0.20.0110.03516.46
7.0.10.0070.02716.61
7.0.00.0050.04516.63
hhvm-3.22.00.0720.13889.72
hhvm-3.21.30.0930.11990.17
hhvm-3.21.00.0660.14290.40
hhvm-3.20.20.0750.13489.74
hhvm-3.19.20.0700.11889.78
hhvm-3.18.50.0650.13788.67
hhvm-3.18.40.1000.10888.99
hhvm-3.17.30.0700.13286.93
hhvm-3.15.40.0920.08585.23
hhvm-3.13.20.0670.11296.52
hhvm-3.12.140.1040.10795.30
hhvm-3.11.10.0670.11987.38
hhvm-3.10.10.0730.07784.37
5.6.380.0050.01114.25
5.6.370.0110.00714.47
5.6.360.0080.00814.57
5.6.350.0130.00314.52
5.6.340.0100.00514.13
5.6.330.0120.00014.26
5.6.320.0030.01314.28
5.6.310.0000.01414.10
5.6.300.0050.01013.92
5.6.290.0080.00514.64
5.6.280.0030.04117.77
5.6.270.0100.00714.62
5.6.260.0040.02617.55
5.6.250.0050.02617.49
5.6.240.0080.04217.49
5.6.230.0070.03717.48
5.6.220.0070.02317.42
5.6.210.0070.03317.45
5.6.200.0060.02517.41
5.6.190.0090.02417.53
5.6.180.0060.02517.47
5.6.170.0060.02817.35
5.6.160.0030.03617.21
5.6.150.0090.04017.39
5.6.140.0120.01717.65
5.6.130.0060.02617.45
5.6.120.0050.03817.71
5.6.110.0080.04017.54
5.6.100.0080.04217.38
5.6.90.0030.03017.60
5.6.80.0060.02917.06
5.6.70.0020.04617.02
5.6.60.0030.04217.12
5.6.50.0080.02017.11
5.6.40.0070.03517.05
5.6.30.0020.04517.07
5.6.20.0050.04017.05
5.6.10.0030.04317.16
5.6.00.0090.02017.19
5.5.380.0040.04015.12
5.5.370.0080.03515.19
5.5.360.0100.05015.14
5.5.350.0060.02015.13
5.5.340.0080.03315.33
5.5.330.0090.02915.40
5.5.320.0080.03815.34
5.5.310.0070.04015.44
5.5.300.0080.02315.34
5.5.290.0040.04115.44
5.5.280.0020.03915.32
5.5.270.0070.03515.39
5.5.260.0110.02215.47
5.5.250.0080.03815.35
5.5.240.0080.02815.17
5.5.230.0020.02115.09
5.5.220.0060.03315.07
5.5.210.0080.03814.99
5.5.200.0070.04015.00
5.5.190.0080.03315.06
5.5.180.0050.02215.08
5.5.170.0060.00314.37
5.5.160.0080.03615.07
5.5.150.0070.04015.13
5.5.140.0080.02215.00
5.5.130.0050.02814.95
5.5.120.0030.04515.00
5.5.110.0030.02414.95
5.5.100.0050.02515.10
5.5.90.0050.02015.03
5.5.80.0030.02215.07
5.5.70.0060.01814.90
5.5.60.0030.02315.03
5.5.50.0030.02314.93
5.5.40.0040.01914.94
5.5.30.0030.02115.08
5.5.20.0060.01815.07
5.5.10.0090.01315.14
5.5.00.0020.02015.14
5.4.450.0040.04416.10
5.4.440.0050.02516.10
5.4.430.0050.03716.11
5.4.420.0140.02216.07
5.4.410.0090.03816.09
5.4.400.0030.02715.85
5.4.390.0050.01815.95
5.4.380.0050.02215.87
5.4.370.0090.03515.94
5.4.360.0050.03915.90
5.4.350.0050.04015.90
5.4.340.0060.03315.93
5.4.330.0000.01212.79
5.4.320.0060.04516.02
5.4.310.0070.02015.96
5.4.300.0030.03015.91
5.4.290.0050.04215.97
5.4.280.0030.02715.89
5.4.270.0060.03415.88
5.4.260.0080.04015.86
5.4.250.0060.02515.94
5.4.240.0020.02215.86
5.4.230.0010.02115.98
5.4.220.0000.02516.01
5.4.210.0060.01815.96
5.4.200.0060.01315.95
5.4.190.0020.02515.86
5.4.180.0050.01815.86
5.4.170.0050.01715.86
5.4.160.0000.02015.92
5.4.150.0020.02115.83
5.4.140.0070.01514.64
5.4.130.0020.01814.60
5.4.120.0050.02214.65
5.4.110.0040.01914.65
5.4.100.0030.01914.57
5.4.90.0020.02014.45
5.4.80.0020.02214.58
5.4.70.0020.02214.64
5.4.60.0070.01314.64
5.4.50.0000.01814.56
5.4.40.0070.01514.65
5.4.30.0050.01714.51
5.4.20.0070.01814.51
5.4.10.0030.02014.66
5.4.00.0010.01614.34
5.3.290.0110.03013.74
5.3.280.0020.02113.61
5.3.270.0030.01613.67
5.3.260.0050.02313.71
5.3.250.0020.01913.63
5.3.240.0080.01313.73
5.3.230.0000.02113.66
5.3.220.0060.01513.62
5.3.210.0070.01613.72
5.3.200.0000.02213.65
5.3.190.0030.01813.64
5.3.180.0020.02213.60
5.3.170.0020.01813.71
5.3.160.0000.02513.68
5.3.150.0030.01813.61
5.3.140.0030.01813.60
5.3.130.0020.01813.59
5.3.120.0070.01613.56
5.3.110.0050.01713.58
5.3.100.0030.02113.42
5.3.90.0000.02113.33
5.3.80.0070.01313.32
5.3.70.0020.02013.35
5.3.60.0030.02013.44
5.3.50.0000.02013.33
5.3.40.0020.02313.29
5.3.30.0030.01913.28
5.3.20.0020.01813.21
5.3.10.0020.02013.18
5.3.00.0070.01213.16
5.2.170.0050.01312.35
5.2.160.0050.01512.35
5.2.150.0030.01712.35
5.2.140.0060.01312.35
5.2.130.0010.01612.35
5.2.120.0020.01712.35
5.2.110.0040.01312.35
5.2.100.0020.01512.35
5.2.90.0030.01512.35
5.2.80.0020.01512.35
5.2.70.0080.01012.35
5.2.60.0000.01812.35
5.2.50.0030.01512.35
5.2.40.0000.01512.35
5.2.30.0040.01412.35
5.2.20.0030.01512.35
5.2.10.0050.01312.35
5.2.00.0080.02012.35
5.1.60.0040.02512.35
5.1.50.0010.02112.35
5.1.40.0050.02712.35
5.1.30.0040.02612.35
5.1.20.0000.02112.35
5.1.10.0080.01812.35
5.1.00.0020.02012.35
5.0.50.0020.01212.35
5.0.40.0030.01012.35
5.0.30.0030.03412.35
5.0.20.0030.01012.35
5.0.10.0000.02012.35
5.0.00.0050.01312.35
4.4.90.0000.01012.35
4.4.80.0030.00512.35
4.4.70.0000.01012.35
4.4.60.0020.00612.35
4.4.50.0010.01012.35
4.4.40.0020.01712.35
4.4.30.0020.02012.35
4.4.20.0030.01812.35
4.4.10.0000.02112.35
4.4.00.0030.02812.35
4.3.110.0030.01712.35
4.3.100.0020.00712.35
4.3.90.0020.01812.35
4.3.80.0030.02712.35
4.3.70.0020.01712.35
4.3.60.0030.01712.35
4.3.50.0020.01812.35
4.3.40.0000.01312.35
4.3.30.0050.01612.35
4.3.20.0020.01012.35
4.3.10.0000.02112.35
4.3.00.0020.00812.35