3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pf_srm_value = '{"HEADER_LOGO":"","INTCOMP_LOGO":"","INTERPRETATION":"Interpretation, report","CPT_92004":"92004 (comp new pt)","CPT_92014":"","CPT_92002":"92002 (interm new pt)","CPT_92012":"92012 (est interm pt or less 6mons)","CPT_92012_DX":"110007","CPT_92250":"FUNDUS PHOTO: 92250","CPT_92250_DX":"110392","CPT_92225":"","CPT_92225_DX":"","CPT_92285":"EXTERNAL PHOTO: 92285","CPT_92285_DX":"110853","CPT_67820":"","CPT_67820_DX":"","DX_H52_03":"H52.03 (hyperopia)","DX_H52_13":"","DX_H52_4":"H52.4(presbyopia)","DX_H52_229":"","V2020":"Frames V2020 (check this when using a frame to order glasses plus check below what type of RX)","V2101":"V2101 SPHERE, SINGLE VISION, PLUS OR MINUS","V2106":"V2106 SPHEROCYLINDER, SINGLE VISION","V2200":"V2200 SPHERE, BIFOCAL","V2205":"V2205 SPHEROCYLINDER, BIFOCAL","INTDOC_SIGN":"","NOW":"","FOOTER_LOGO":""}'; print_r(serialize($pf_srm_value));

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.60.0030.00716.57
7.2.00.0070.00419.38
7.1.200.0070.00715.83
7.1.100.0030.00618.12
7.1.70.0070.00317.14
7.1.60.0470.01733.04
7.1.50.0700.01032.77
7.1.40.0470.01032.40
7.1.30.0400.01732.48
7.1.20.0400.01032.57
7.1.10.0770.01014.67
7.1.00.0230.01014.66
7.0.200.0430.01014.93
7.0.190.0570.01014.80
7.0.180.0230.01314.12
7.0.170.0270.01314.24
7.0.160.0270.01014.28
7.0.150.0270.01014.43
7.0.140.0500.01314.64
7.0.130.0270.01314.52
7.0.120.0430.00714.66
7.0.110.0230.01014.32
7.0.100.0270.00714.45
7.0.90.0200.01014.45
7.0.80.0170.01314.38
7.0.70.0270.00714.32
7.0.60.0200.01014.24
7.0.50.0270.01014.44
7.0.40.0270.01014.69
7.0.30.0270.00714.54
7.0.20.0170.01314.62
7.0.10.0230.00714.55
7.0.00.0230.00714.44
hhvm-3.15.40.0800.15384.68
5.6.300.0000.06720.80
5.6.290.0100.05720.89
5.6.280.0200.04720.97
5.6.270.0130.08020.75
5.6.260.0170.05020.76
5.6.250.0200.04720.79
5.6.240.0070.06320.68
5.6.230.0100.06020.84
5.6.220.0130.05720.82
5.6.210.0030.06721.04
5.6.200.0200.05320.72
5.6.190.0230.05020.71
5.6.180.0130.05720.70
5.6.170.0100.06020.71
5.6.160.0130.05720.66
5.6.150.0200.05020.67
5.6.140.0100.05720.71
5.6.130.0100.05720.74
5.6.120.0100.06020.75
5.6.110.0030.07320.71
5.6.100.0200.05320.90
5.6.90.0170.05320.86
5.6.80.0130.05320.14
5.6.70.0130.05320.25
5.6.60.0200.04720.06
5.6.50.0100.05720.10
5.6.40.0230.04020.09
5.6.30.0130.05720.24
5.6.20.0170.05320.05
5.6.10.0170.05020.04
5.6.00.0070.05720.21