3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo hash("adler32", 031a010c)."\n"; $fecha_de_nacimiento = new DateTime("2014-08-01 12:00:00"); $hoy = new DateTime('today'); print_r($fecha_de_nacimiento->diff($hoy)->d); ?>

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).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.320.3630.04018.99
5.4.310.3500.04019.32
5.4.300.3670.03719.22
5.4.290.3530.03719.06
5.4.280.3600.04019.16
5.4.270.3970.03718.94
5.4.260.3230.04019.23
5.4.250.0330.06019.21
5.4.240.0270.03319.13
5.4.230.0170.08719.30
5.4.220.0270.08018.94
5.4.210.0200.03719.24
5.4.200.0230.07719.20
5.4.190.0230.04319.21
5.4.180.0200.03718.86
5.4.170.0230.06018.93
5.4.160.0230.07019.17
5.4.150.0370.06019.20
5.4.140.0230.03316.52
5.4.130.0170.03716.35
5.4.120.0200.04316.66
5.4.110.0200.04016.52
5.4.100.0200.03716.54
5.4.90.0270.04016.56
5.4.80.0670.04016.44
5.4.70.0270.04316.33
5.4.60.0230.03716.25
5.4.50.0200.03316.43
5.4.40.0130.03716.32
5.4.30.0230.04316.51
5.4.20.0730.04716.24
5.4.10.0230.04716.38
5.4.00.0270.04015.78
5.3.290.3670.04014.75
5.3.280.0300.06714.44
5.3.270.0230.07314.55
5.3.260.0300.06714.45
5.3.250.0200.06314.55
5.3.240.0170.05014.55
5.3.230.0270.06714.55
5.3.220.0230.03714.41
5.3.210.0200.04014.55
5.3.200.0230.03714.52
5.3.190.0230.06714.43
5.3.180.0430.04014.39
5.3.170.0200.05014.59
5.3.160.0200.04014.43
5.3.150.0130.05314.64
5.3.140.0230.04314.60
5.3.130.0170.06714.40
5.3.120.0330.03714.52
5.3.110.0230.04714.38
5.3.100.0230.05313.92
5.3.90.0170.07014.00
5.3.80.0230.05313.84
5.3.70.0230.06014.10
5.3.60.0230.06314.02
5.3.50.0200.07313.89
5.3.40.0230.06713.92
5.3.30.0170.06313.75
5.3.20.0130.07313.78
5.3.10.0130.03713.59
5.3.00.0230.04013.49
5.2.170.0200.05310.98
5.2.160.0230.05711.00
5.2.150.0200.05711.15
5.2.140.0200.05010.98
5.2.130.0730.04311.25
5.2.120.0200.02711.11
5.2.110.0100.03710.94
5.2.100.0270.05011.19
5.2.90.0230.05310.95
5.2.80.0130.05711.16
5.2.70.0200.05311.00
5.2.60.0300.04711.20
5.2.50.0170.06010.85
5.2.40.0070.05011.03
5.2.30.0130.02711.02
5.2.20.0100.04311.11
5.2.10.0100.03010.82
5.2.00.0130.02710.69
5.1.60.0170.0209.92
5.1.50.0200.0179.90
5.1.40.0170.04710.14
5.1.30.0100.03010.29
5.1.20.0170.05310.22
5.1.10.0170.05010.14
5.1.00.0200.04710.18
5.0.50.0070.0438.65
5.0.40.0000.0378.52
5.0.30.0030.0678.34
5.0.20.0100.0378.17
5.0.10.0070.0478.09
5.0.00.0100.0608.08
4.4.90.0100.0336.46
4.4.80.0070.0376.46
4.4.70.0030.0176.46
4.4.60.0030.0206.46
4.4.50.0070.0136.46
4.4.40.0030.0276.46
4.4.30.0070.0176.46
4.4.20.0000.0276.46
4.4.10.0130.0176.46
4.4.00.0030.0576.46
4.3.110.0070.0276.46
4.3.100.0130.0206.46
4.3.90.0130.0236.46
4.3.80.0130.0276.46
4.3.70.0100.0136.46
4.3.60.0070.0176.46
4.3.50.0000.0376.46
4.3.40.0030.0406.46
4.3.30.0070.0336.46
4.3.20.0070.0176.46
4.3.10.0070.0136.46
4.3.00.0000.0176.46

preferences:
141.24 ms | 1394 KiB | 7 Q