Lines Matching refs:DateTime

2 Test new DateTime() function : usage variation - Passing unexpected values to second argument $time…
5 /* Prototype : DateTime::__construct ([ string $time="now" [, DateTimeZone $timezone=NULL ]] )
6 * Description: Returns new DateTime object
11 echo "*** Testing new DateTime() : usage variation - unexpected values to second argument \$timezo…
104 var_dump( new DateTime($time, $timezone) );
118 *** Testing new DateTime() : usage variation - unexpected values to second argument $timezone***
121 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given
124 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given
127 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given
130 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, integer given
133 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, float given
136 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, float given
139 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, float given
142 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, array given
145 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, array given
148 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, array given
151 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, array given
154 object(DateTime)#%d (3) {
164 object(DateTime)#%d (3) {
174 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, boolean given
177 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, boolean given
180 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, boolean given
183 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, boolean given
186 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, string given
189 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, string given
192 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, string given
195 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, string given
198 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, string given
201 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, string given
204 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, object given
207 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, object given
210 object(DateTime)#%d (3) {
220 object(DateTime)#%d (3) {
230 FAILED: DateTime::__construct() expects parameter 2 to be DateTimeZone, resource given