Lines Matching refs:date_format

2 Test date_format() function : usage variation - Passing unexpected values to first argument $object.
5 /* Prototype : string date_format ( DateTimeInterface $object , string $format )
11 echo "*** Testing date_format() : usage variation - unexpected values to first argument \$object**…
102 var_dump( date_format($object, $format) );
111 *** Testing date_format() : usage variation - unexpected values to first argument $object***
115 Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d
120 Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d
125 Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d
130 Warning: date_format() expects parameter 1 to be DateTimeInterface, int given in %s on line %d
135 Warning: date_format() expects parameter 1 to be DateTimeInterface, float given in %s on line %d
140 Warning: date_format() expects parameter 1 to be DateTimeInterface, float given in %s on line %d
145 Warning: date_format() expects parameter 1 to be DateTimeInterface, float given in %s on line %d
150 Warning: date_format() expects parameter 1 to be DateTimeInterface, array given in %s on line %d
155 Warning: date_format() expects parameter 1 to be DateTimeInterface, array given in %s on line %d
160 Warning: date_format() expects parameter 1 to be DateTimeInterface, array given in %s on line %d
165 Warning: date_format() expects parameter 1 to be DateTimeInterface, array given in %s on line %d
170 Warning: date_format() expects parameter 1 to be DateTimeInterface, null given in %s on line %d
175 Warning: date_format() expects parameter 1 to be DateTimeInterface, null given in %s on line %d
180 Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in %s on line %d
185 Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in %s on line %d
190 Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in %s on line %d
195 Warning: date_format() expects parameter 1 to be DateTimeInterface, bool given in %s on line %d
200 Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in %s on line %d
205 Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in %s on line %d
210 Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in %s on line %d
215 Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in %s on line %d
220 Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in %s on line %d
225 Warning: date_format() expects parameter 1 to be DateTimeInterface, string given in %s on line %d
230 Warning: date_format() expects parameter 1 to be DateTimeInterface, object given in %s on line %d
235 Warning: date_format() expects parameter 1 to be DateTimeInterface, object given in %s on line %d
240 Warning: date_format() expects parameter 1 to be DateTimeInterface, null given in %s on line %d
245 Warning: date_format() expects parameter 1 to be DateTimeInterface, null given in %s on line %d
250 Warning: date_format() expects parameter 1 to be DateTimeInterface, resource given in %s on line %d