--TEST--
date() format params
--FILE--
<?php

date_default_timezone_set("UTC");
$tz = array("UTC", "Asia/Jerusalem", "America/Chicago", "Europe/London");
$t = mktime(0, 0, 0, 6, 27, 2006);

foreach ($tz as $zone) {
    date_default_timezone_set($zone);

    var_dump(date("w", $t));
    var_dump(date("z", $t));
    var_dump(date("n", $t));
    var_dump(date("t", $t));
    var_dump(date("L", $t));
    var_dump(date("a", $t));
    var_dump(date("B", $t));
    var_dump(date("g", $t));
    var_dump(date("G", $t));
    var_dump(date("Z", $t));
    var_dump(date("U", $t));
}

echo "Done\n";
?>
--EXPECT--
string(1) "2"
string(3) "177"
string(1) "6"
string(2) "30"
string(1) "0"
string(2) "am"
string(3) "041"
string(2) "12"
string(1) "0"
string(1) "0"
string(10) "1151366400"
string(1) "2"
string(3) "177"
string(1) "6"
string(2) "30"
string(1) "0"
string(2) "am"
string(3) "041"
string(1) "3"
string(1) "3"
string(5) "10800"
string(10) "1151366400"
string(1) "1"
string(3) "176"
string(1) "6"
string(2) "30"
string(1) "0"
string(2) "pm"
string(3) "041"
string(1) "7"
string(2) "19"
string(6) "-18000"
string(10) "1151366400"
string(1) "2"
string(3) "177"
string(1) "6"
string(2) "30"
string(1) "0"
string(2) "am"
string(3) "041"
string(1) "1"
string(1) "1"
string(4) "3600"
string(10) "1151366400"
Done
