3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = DateTime::createFromFormat('d-m-Y', '4-4-2015'); $end = new DateTime; $diff = $start->diff($end); echo 38000 / $diff->days;
based on FHTVV
Output for 5.3.20 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
157.02479338843
Output for 7.0.6
96.20253164557
Output for 7.0.5
104.1095890411
Output for 7.0.4
111.43695014663
Output for 7.0.3
108.88252148997
Output for 7.0.2
107.34463276836
Output for 7.0.1
107.04225352113
Output for 7.0.0
106.14525139665
Output for 5.6.21
96.446700507614
Output for 5.6.20
102.15053763441
Output for 5.6.19
112.09439528024
Output for 5.6.18
109.82658959538
Output for 5.6.17
108.26210826211
Output for 5.6.16
105.8495821727
Output for 5.6.15
105.55555555556
Output for 5.6.14
104.3956043956
Output for 5.6.13
100.79575596817
Output for 5.6.12
99.476439790576
Output for 5.6.11
98.445595854922
Output for 5.6.10
98.191214470284
Output for 5.6.9
97.686375321337
Output for 5.6.8
96.938775510204
Output for 5.5.35
91.566265060241
Output for 5.5.34
101.87667560322
Output for 5.5.33
111.76470588235
Output for 5.5.32
109.19540229885
Output for 5.5.31
107.95454545455
Output for 5.5.30
104.68319559229
Output for 5.5.29
100.26385224274
Output for 5.5.28
99.216710182768
Output for 5.5.27
98.958333333333
Output for 5.5.26
97.938144329897
Output for 5.5.25
97.186700767263
Output for 5.5.24
91.346153846154