3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tz = IntlTimeZone::getGMT(); var_dump(intltz_to_date_time_zone($tz), $tz->toDateTimeZone());
Output for 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
object(DateTimeZone)#2 (2) { ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" } object(DateTimeZone)#3 (2) { ["timezone_type"]=> int(1) ["timezone"]=> string(6) "+00:00" }

preferences:
41.58 ms | 406 KiB | 5 Q