3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value='13/03/2014'; $tabDt = explode('/', $value); echo '<pre>'.print_r($tabDt, true).'</pre>'; if(checkdate($tabDt[1], $tabDt[0], $tabDt[2])) echo 'cool'; else echo 'pas cool';

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.0090.00316.87
7.2.00.0000.01519.55
7.1.200.0040.00715.91
7.1.100.0000.01317.91
7.1.70.0030.00717.04
7.1.60.0140.01019.29
7.1.50.0130.00317.00
7.1.00.0070.07322.31
7.0.200.0030.00516.87
7.0.140.0130.06022.10
7.0.60.0030.05319.90
7.0.50.0000.06017.83
7.0.40.0030.04720.38
7.0.30.0230.04020.27
7.0.20.0330.05720.09
7.0.10.0070.08020.23
7.0.00.0070.05720.23
5.6.280.0100.06720.77
5.6.210.0130.06320.70
5.6.200.0030.08718.18
5.6.190.0070.08720.55
5.6.180.0300.06720.48
5.6.170.0300.04020.51
5.6.160.0000.05720.57
5.6.150.0130.08018.23
5.6.140.0130.08018.15
5.6.130.0070.08318.19
5.6.120.0200.06721.14
5.6.110.0130.07020.90
5.6.100.0100.07021.13
5.6.90.0130.07720.95
5.6.80.0030.04020.39
5.5.350.0070.06020.38
5.5.340.0070.08018.10
5.5.330.0070.07020.29
5.5.320.0000.08020.41
5.5.310.0270.06320.50
5.5.300.0070.04317.98
5.5.290.0030.04317.96
5.5.280.0070.08720.77
5.5.270.0070.05720.84
5.5.260.0130.07720.65
5.5.250.0170.05320.79
5.5.240.4230.03320.25
5.4.450.0670.05319.48
5.4.440.0900.03719.38
5.4.430.1400.02719.51
5.4.420.1200.03319.51
5.4.410.0770.04319.30
5.4.400.0500.03319.25
5.4.390.1170.03319.22
5.4.380.0500.07018.78
5.4.370.0470.04718.68
5.4.360.0370.06018.76
5.4.350.0470.07018.56
5.4.340.0500.04718.70
5.4.320.0070.03512.48
5.4.310.0060.03912.48
5.4.300.0060.04012.48
5.4.290.0040.03912.48
5.4.280.0090.03412.38
5.4.270.0070.03512.38
5.4.260.0070.04312.35
5.4.250.0040.04212.35
5.4.240.0070.03312.35
5.4.230.0080.03712.34
5.4.220.0060.03612.34
5.4.210.0060.03512.34
5.4.200.0050.03912.34
5.4.190.0060.03712.34
5.4.180.0030.03812.34
5.4.170.0050.04312.35
5.4.160.0040.03712.34
5.4.150.0030.03912.34
5.4.140.0080.03412.02
5.4.130.0040.03612.01
5.4.120.0060.03411.96
5.4.110.0080.03811.96
5.4.100.0060.03511.96
5.4.90.0040.03911.96
5.4.80.0070.03911.96
5.4.70.0050.03511.96
5.4.60.0070.03911.96
5.4.50.0070.04311.96
5.4.40.0060.03211.95
5.4.30.0050.03611.95
5.4.20.0060.03411.95
5.4.10.0070.03911.95
5.4.00.0060.03511.44
5.3.290.0080.03712.80
5.3.280.0080.04212.71
5.3.270.0090.04012.72
5.3.260.0070.03712.72
5.3.250.0080.03512.72
5.3.240.0080.04012.72
5.3.230.0050.03912.71
5.3.220.0050.03712.68
5.3.210.0030.04812.68
5.3.200.0050.03612.68
5.3.190.0110.03412.68
5.3.180.0080.04012.67
5.3.170.0090.03312.67
5.3.160.0050.04312.67
5.3.150.0070.04112.67
5.3.140.0070.03512.66
5.3.130.0060.03812.65
5.3.120.0040.04012.66
5.3.110.0060.03812.66
5.3.100.0070.03412.12
5.3.90.0060.03612.09
5.3.80.0050.03712.07
5.3.70.0080.03312.07
5.3.60.0030.03912.06
5.3.50.0060.03512.00
5.3.40.0050.03612.00
5.3.30.0040.03611.94
5.3.20.0070.03311.72
5.3.10.0050.03411.68
5.3.00.0080.03311.67
5.2.170.0040.0309.18
5.2.160.0030.0339.17
5.2.150.0080.0409.17
5.2.140.0040.0309.17
5.2.130.0070.0309.13
5.2.120.0050.0379.13
5.2.110.0070.0279.13
5.2.100.0030.0309.13
5.2.90.0030.0329.13
5.2.80.0040.0319.13
5.2.70.0030.0319.13
5.2.60.0070.0279.08
5.2.50.0060.0289.05
5.2.40.0040.0299.03
5.2.30.0060.0289.00
5.2.20.0060.0318.99
5.2.10.0110.0238.89
5.2.00.0020.0318.76
5.1.60.0060.0248.03
5.1.50.0060.0268.03
5.1.40.0050.0228.02
5.1.30.0040.0258.36
5.1.20.0050.0258.39
5.1.10.0040.0258.11
5.1.00.0050.0328.11
5.0.50.0040.0256.59
5.0.40.0070.0236.45
5.0.30.0050.0306.27
5.0.20.0040.0206.23
5.0.10.0040.0256.21
5.0.00.0040.0306.20
4.4.90.0060.0154.78
4.4.80.0020.0184.75
4.4.70.0020.0164.76
4.4.60.0040.0204.75
4.4.50.0000.0174.77
4.4.40.0030.0314.70
4.4.30.0020.0224.76
4.4.20.0040.0144.85
4.4.10.0030.0154.85
4.4.00.0060.0244.76
4.3.110.0050.0134.67
4.3.100.0000.0174.66
4.3.90.0010.0184.63
4.3.80.0020.0244.58
4.3.70.0040.0134.63
4.3.60.0010.0154.63
4.3.50.0020.0164.63
4.3.40.0020.0254.54
4.3.30.0030.0143.28
4.3.20.0030.0153.26
4.3.10.0020.0153.21
4.3.00.0130.02013.14