1--TEST-- 2Test the function date_timestamp_set() with first 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 14date_timestamp_set(null, 1234567890); 15?> 16--EXPECTF-- 17Warning: date_timestamp_set() expects parameter 1 to be DateTime, null given in %s on line %d