Lines Matching refs:time

2 Test new DateTime() function : usage variation - Passing unexpected values to first argument $time.
5 /* Prototype : DateTime::__construct ([ string $time="now" [, DateTimeZone $timezone=NULL ]] )
11 echo "*** Testing new DateTime(): usage variation - unexpected values to first argument \$time***\…
13 //Set the default time zone
100 foreach($inputs as $variation =>$time) {
104 var_dump( new DateTime($time) );
111 var_dump( new DateTime($time, $timezone) );
124 *** Testing new DateTime(): usage variation - unexpected values to first argument $time***
127 FAILED: DateTime::__construct(): Failed to parse time string (0) at position 0 (0): Unexpected char…
128 FAILED: DateTime::__construct(): Failed to parse time string (0) at position 0 (0): Unexpected char…
131 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
132 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
135 FAILED: DateTime::__construct(): Failed to parse time string (12345) at position 4 (5): Unexpected …
136 FAILED: DateTime::__construct(): Failed to parse time string (12345) at position 4 (5): Unexpected …
139 FAILED: DateTime::__construct(): Failed to parse time string (-12345) at position 5 (5): Unexpected…
140 FAILED: DateTime::__construct(): Failed to parse time string (-12345) at position 5 (5): Unexpected…
161 FAILED: DateTime::__construct(): Failed to parse time string (-10.5) at position 4 (5): Unexpected …
162 FAILED: DateTime::__construct(): Failed to parse time string (-10.5) at position 4 (5): Unexpected …
235 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
236 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
257 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
258 FAILED: DateTime::__construct(): Failed to parse time string (1) at position 0 (1): Unexpected char…
315 FAILED: DateTime::__construct(): Failed to parse time string (string) at position 0 (s): The timezo…
316 FAILED: DateTime::__construct(): Failed to parse time string (string) at position 0 (s): The timezo…
319 FAILED: DateTime::__construct(): Failed to parse time string (string) at position 0 (s): The timezo…
320 FAILED: DateTime::__construct(): Failed to parse time string (string) at position 0 (s): The timezo…
323 FAILED: DateTime::__construct(): Failed to parse time string (sTrInG) at position 0 (s): The timezo…
324 FAILED: DateTime::__construct(): Failed to parse time string (sTrInG) at position 0 (s): The timezo…
327 FAILED: DateTime::__construct(): Failed to parse time string (hello world) at position 0 (h): The t…
328 FAILED: DateTime::__construct(): Failed to parse time string (hello world) at position 0 (h): The t…
331 FAILED: DateTime::__construct(): Failed to parse time string (Class A object) at position 0 (C): Th…
332 FAILED: DateTime::__construct(): Failed to parse time string (Class A object) at position 0 (C): Th…