3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo unixtojd(strtotime('1/May/2014')); echo strtotime('1/May/2014') / 86400 + 2440587.5;
Output for 7.1.20, 7.2.6 - 7.3.0rc4
Fatal error: Uncaught Error: Call to undefined function unixtojd() in /in/9NlHk:2 Stack trace: #0 {main} thrown in /in/9NlHk on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28, 5.6.28, 7.0.14 - 7.1.10, 7.2.0
24567982440587.5
Output for 7.0.6
24575122440587.5
Output for 5.6.14, 7.0.5
24574812440587.5
Output for 7.0.4
24574582440587.5
Output for 7.0.3
24574662440587.5
Output for 7.0.2
24574702440587.5
Output for 7.0.1
24574712440587.5
Output for 7.0.0
24574742440587.5
Output for 5.6.21
24575112440587.5
Output for 5.6.20
24574882440587.5
Output for 5.6.19
24574552440587.5
Output for 5.6.18
24574632440587.5
Output for 5.6.17
24574672440587.5
Output for 5.6.16
24574752440587.5
Output for 5.6.15
24574772440587.5
Output for 5.6.13
24574942440587.5
Output for 5.6.12
24574982440587.5
Output for 5.6.11
24575022440587.5
Output for 5.6.10
24575042440587.5
Output for 5.6.9
24575062440587.5
Output for 5.6.8
24575082440587.5
Output for 5.5.35
24575312440587.5
Output for 5.5.34
24574892440587.5
Output for 5.5.33
24574562440587.5
Output for 5.5.32
24574652440587.5
Output for 5.5.31
24574682440587.5
Output for 5.5.30
24574802440587.5
Output for 5.5.29
24574952440587.5
Output for 5.5.28
24574992440587.5
Output for 5.5.27
24575012440587.5
Output for 5.5.26
24575052440587.5
Output for 5.5.25
24575072440587.5
Output for 5.5.24
24575322440587.5
Output for 5.4.45
24572832440587.5
Output for 5.4.39 - 5.4.44
24572632440587.5
Output for 5.4.38
24570842440587.5
Output for 5.4.36 - 5.4.37
24570622440587.5
Output for 5.4.34 - 5.4.35
24569962440587.5
Output for 5.3.29, 5.4.29 - 5.4.32
24569062440587.5
Output for 5.1.0 - 5.2.17
24405882440587.5
Output for 4.3.0 - 5.0.5
2440587.4999884