--TEST-- Test the function date_timestamp_set() with second null parameter. --CREDITS-- Rodrigo Prado de Jesus --INI-- date.timezone = UTC; date_default_timezone_set("America/Sao_Paulo"); --FILE-- --EXPECTF-- Deprecated: date_timestamp_set(): Passing null to parameter #2 ($timestamp) of type int is deprecated in %s on line %d object(DateTime)#1 (3) { ["date"]=> string(26) "1970-01-01 00:00:00.000000" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }