1--TEST-- 2Test the function date_timestamp_set() with second null parameter. 3--CREDITS-- 4Rodrigo Prado de Jesus <royopa [at] gmail [dot] com> 5--INI-- 6date.timezone = UTC; 7date_default_timezone_set("America/Sao_Paulo"); 8--FILE-- 9<?php 10$dftz021 = date_default_timezone_get(); //UTC 11 12$dtms021 = date_create(); 13 14var_dump(date_timestamp_set($dtms021, null)); 15?> 16--EXPECTF-- 17object(DateTime)#1 (3) { 18 ["date"]=> 19 string(26) "1970-01-01 00:00:00.000000" 20 ["timezone_type"]=> 21 int(3) 22 ["timezone"]=> 23 string(3) "UTC" 24} 25