3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $oDateTimeZone = new DateTimeZone('europe/berlin'); $transitions = $oDateTimeZone->getTransitions(); print_r(count($transitions));
Output for 5.5.25 - 5.5.35, 5.6.9 - 7.1.0
146
Output for 5.3.0 - 5.5.24, 5.6.8
145
Output for 5.2.7 - 5.2.17
144
Output for 5.2.0 - 5.2.6
143
Output for 5.0.0 - 5.1.6
Fatal error: Class 'DateTimeZone' not found in /in/fs0ut on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: datetimezone in /in/fs0ut on line 2
Process exited with code 255.
Output for 4.3.1
Fatal error: Cannot instantiate non-existent class: datetimezone in /in/fs0ut on line 2
Output for 4.3.0
Fatal error: Cannot instantiate non-existent class: datetimezone in /in/lEOks on line 2