3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $oDateTimeZone = new DateTimeZone('europe/berlin'); $transitions = $oDateTimeZone->getTransitions(1364688000, 1364695200); print_r(count($transitions)); $oDateTimeZone = new DateTimeZone('europe/berlin');
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
2
Output for 5.2.8 - 5.2.17
Warning: DateTimeZone::getTransitions() expects exactly 0 parameters, 2 given in /in/8RZkn on line 3 1