3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo hash("adler32", "53379")." 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); ?>
based on DdAo0
Output for 5.3.1 - 5.4.32, 5.6.14, 5.6.21 - 5.6.28, 7.0.5, 7.0.14 - 7.1.0
031a010c 031a010c 0
Output for 7.0.6
031a010c 031a010c 1
Output for 5.5.34, 7.0.4
031a010c 031a010c 8
Output for 7.0.3
031a010c 031a010c 16
Output for 5.5.27, 5.5.35, 7.0.2
031a010c 031a010c 20
Output for 5.5.24, 5.6.11, 7.0.1
031a010c 031a010c 21
Output for 5.5.26, 7.0.0
031a010c 031a010c 24
Output for 5.6.8, 5.6.15, hhvm-3.12.0
031a010c 031a010c 27
Output for hhvm-3.10.0
031a010c 031a010c 28
Output for 5.6.20
031a010c 031a010c 7
Output for 5.6.19
031a010c 031a010c 5
Output for 5.6.13, 5.6.18
031a010c 031a010c 13
Output for 5.6.12, 5.6.17
031a010c 031a010c 17
Output for 5.6.9, 5.6.16
031a010c 031a010c 25
Output for 5.6.10
031a010c 031a010c 23
Output for 5.5.33
031a010c 031a010c 6
Output for 5.5.32
031a010c 031a010c 15
Output for 5.5.28, 5.5.31
031a010c 031a010c 18
Output for 5.5.30
031a010c 031a010c 30
Output for 5.5.29
031a010c 031a010c 14
Output for 5.5.25
031a010c 031a010c 26
Output for 5.4.39 - 5.4.45
031a010c 031a010c 19
Output for 5.4.34 - 5.4.38
031a010c 031a010c 3
Output for 5.3.0
0c011a03 031a010c 0
Output for 5.2.11 - 5.2.17
031a010c 031a010c Fatal error: Call to undefined method DateTime::diff() in /in/ZQZbp on line 8
Process exited with code 255.
Output for 5.2.0 - 5.2.10
0c011a03 031a010c Fatal error: Call to undefined method DateTime::diff() in /in/ZQZbp on line 8
Process exited with code 255.
Output for 5.1.2 - 5.1.6
0c011a03 031a010c Fatal error: Class 'DateTime' not found in /in/ZQZbp on line 5
Process exited with code 255.
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/ZQZbp on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/ZQZbp on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/ZQZbp on line 8
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/ZQZbp on line 8
Process exited with code 255.