3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = trim(12/01/2014); explode('/',$data); $dataTratada = $data[1].$data[0].$data[2]; echo $dataTratada;

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.0rc40.0210.00998.97
7.3.0rc30.1180.00716.39
7.3.0beta10.0050.00512.80
7.3.0alpha10.0070.00412.55
7.2.60.0130.00016.84
7.2.00.0050.00519.02
7.1.200.0060.00615.70
7.1.100.0120.00318.36
7.1.70.0030.00516.88
7.1.60.0070.01719.21
7.1.50.0210.00316.96
7.1.00.0000.07722.32
7.0.200.0030.00316.51
7.0.140.0130.06321.95
7.0.100.0100.08020.16
7.0.90.0130.06019.85
7.0.80.0030.08319.96
7.0.70.0130.04719.89
7.0.60.0130.07019.95
7.0.50.0070.07020.30
7.0.40.0100.07020.13
7.0.30.0100.04720.17
7.0.20.0100.03720.07
7.0.10.0130.08019.94
7.0.00.0170.07020.13
5.6.280.0100.06721.14
5.6.250.0030.08320.77
5.6.240.0070.08020.66
5.6.230.0000.08720.68
5.6.220.0030.04320.51
5.6.210.0100.04320.55
5.6.200.0100.08321.08
5.6.190.0070.04721.02
5.6.180.0070.07721.16
5.6.170.0100.08321.03
5.6.160.0100.07021.03
5.6.150.0030.07720.95
5.6.140.0170.07321.10
5.6.130.0070.04321.06
5.6.120.0030.07021.10
5.6.110.0030.05321.00
5.6.100.0030.05021.01
5.6.90.0000.08720.97
5.6.80.0030.08020.54
5.6.70.0030.04020.38
5.6.60.0130.06320.41
5.6.50.0030.04720.41
5.6.40.0070.04720.44
5.6.30.0130.06720.46
5.6.20.0030.04320.41
5.6.10.0000.07320.43
5.6.00.0200.06720.47
5.5.380.0030.05020.55
5.5.370.0070.08320.38
5.5.360.0170.08020.30
5.5.350.0100.07020.42
5.5.340.0030.07320.77
5.5.330.0100.06720.89
5.5.320.0230.06720.88
5.5.310.0030.08720.76
5.5.300.0200.07020.90
5.5.290.0100.04720.91
5.5.280.0130.07020.91
5.5.270.0130.07320.81
5.5.260.0130.07320.77
5.5.250.0070.06320.70
5.5.240.0070.06020.18
5.5.230.0100.06320.14
5.5.220.0130.04020.26
5.5.210.0070.06720.27
5.5.200.0070.07020.08
5.5.190.0030.05020.10
5.5.180.0070.05720.11
5.5.160.0030.05020.25
5.5.150.0130.04020.22
5.5.140.0070.08020.11
5.5.130.0070.04320.21
5.5.120.0130.07020.16
5.5.110.0030.03720.19
5.5.100.0000.06320.13
5.5.90.0000.05320.04
5.5.80.0070.03720.06
5.5.70.0000.04019.94
5.5.60.0000.04020.07
5.5.50.0070.05319.99
5.5.40.0030.06320.05
5.5.30.0170.02720.04
5.5.20.0030.05720.12
5.5.10.0100.07719.97
5.5.00.0070.04020.04
5.4.450.0030.07719.45
5.4.440.0170.06719.30
5.4.430.0070.04319.11
5.4.420.0030.07719.22
5.4.410.0030.04319.00
5.4.400.0030.05319.15
5.4.390.0070.03718.95
5.4.380.0030.07319.13
5.4.370.0070.06319.15
5.4.360.0070.06718.79
5.4.350.0030.07319.03
5.4.340.0000.05719.03
5.4.320.0070.03719.22
5.4.310.0030.07019.14
5.4.300.0070.06018.94
5.4.290.0200.06019.05
5.4.280.0070.07719.22
5.4.270.0030.05019.09
5.4.260.0100.06318.99
5.4.250.0070.03318.94
5.4.240.0070.03319.06
5.4.230.0030.07719.22
5.4.220.0130.04318.96
5.4.210.0070.05319.12
5.4.200.0100.07318.94
5.4.190.0000.04018.77
5.4.180.0070.05719.06
5.4.170.0100.06319.06
5.4.160.0100.07319.04
5.4.150.0170.05318.86
5.4.140.0070.03316.33
5.4.130.0000.08016.26
5.4.120.0100.06016.12
5.4.110.0100.06716.26
5.4.100.0000.04016.27
5.4.90.0070.03016.42
5.4.80.0030.03316.29
5.4.70.0030.05016.32
5.4.60.0130.03016.40
5.4.50.0070.06316.42
5.4.40.0070.07316.35
5.4.30.0070.07716.36
5.4.20.0100.06716.35
5.4.10.0030.03316.39
5.4.00.0030.06015.71
5.3.290.0000.04314.64
5.3.280.0030.08014.44
5.3.270.0000.07014.57
5.3.260.0070.07314.48
5.3.250.0100.07314.57
5.3.240.0130.06014.59
5.3.230.0030.03714.55
5.3.220.0130.06714.39
5.3.210.0170.06314.57
5.3.200.0070.07714.38
5.3.190.0070.07714.56
5.3.180.0100.07314.54
5.3.170.0030.06714.55
5.3.160.0070.08014.53
5.3.150.0070.05314.52
5.3.140.0030.07714.54
5.3.130.0100.04714.54
5.3.120.0070.07014.40
5.3.110.0030.08014.38
5.3.100.0000.04714.03
5.3.90.0100.06014.02
5.3.80.0000.07713.92
5.3.70.0130.06314.00
5.3.60.0130.07013.98
5.3.50.0030.06713.94
5.3.40.0030.04013.79
5.3.30.0170.05013.68
5.3.20.0030.07013.64
5.3.10.0130.05713.66
5.3.00.0100.06713.49
5.2.170.0070.05310.96
5.2.160.0130.04711.09
5.2.150.0070.05711.21
5.2.140.0000.06010.93
5.2.130.0030.05310.89
5.2.120.0000.03311.06
5.2.110.0030.05311.02
5.2.100.0000.04711.09
5.2.90.0030.03011.09
5.2.80.0000.06011.05
5.2.70.0070.05011.14
5.2.60.0030.06710.84
5.2.50.0070.06711.07
5.2.40.0070.04711.01
5.2.30.0070.04711.04
5.2.20.0070.04310.84
5.2.10.0100.05010.95
5.2.00.0070.06310.66
5.1.60.0000.05710.05
5.1.50.0030.0409.96
5.1.40.0030.02310.07
5.1.30.0070.05010.36
5.1.20.0030.04310.24
5.1.10.0070.04310.11
5.1.00.0030.05010.06
5.0.50.0000.0439.96
5.0.40.0030.0279.96
5.0.30.0000.0439.96
5.0.20.0000.0409.96
5.0.10.0030.0209.96
5.0.00.0070.0609.96
4.4.90.0100.0209.96
4.4.80.0070.0309.96
4.4.70.0030.0239.96
4.4.60.0000.0409.96
4.4.50.0100.0279.96
4.4.40.0030.0479.96
4.4.30.0000.0179.96
4.4.20.0030.0239.96
4.4.10.0000.0409.96
4.4.00.0000.0279.96
4.3.110.0000.0279.96
4.3.100.0030.0339.96
4.3.90.0030.0309.96
4.3.80.0000.0539.96
4.3.70.0030.0339.96
4.3.60.0000.0179.96
4.3.50.0000.0309.96
4.3.40.0000.0339.96
4.3.30.0000.0309.96
4.3.20.0000.0309.96
4.3.10.0030.0279.96
4.3.00.0030.0309.96