1--TEST--
2Check the function date_timestamp_set() with second parameter wrong (array).
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 = new DateTime();
13
14$wrong_parameter = array();
15
16date_timestamp_set($dtms021, $wrong_parameter);
17?>
18--EXPECTF--
19Warning: date_timestamp_set() expects parameter 2 to be long, array given in %s on line %d