1<?php 2 3//-------------------------------------------------------------------------------------------------- 4// This script outputs a JSON array of all timezones (like "America/Chicago") that PHP supports. 5// 6// Requires PHP 5.2.0 or higher. 7//-------------------------------------------------------------------------------------------------- 8 9echo json_encode(DateTimeZone::listIdentifiers()); 10