Test: /ext/date/tests/date_create_variation1.phpt - Version 5.7.0-dev    

There are 4 different diffs reported by users for this test.

Count Diff
1 (25%)
208+ NULL
209+ NULL
208- bool(false)
209- bool(false)
212+ NULL
213+ NULL
214+
215+ -- mixed case string --
216+ NULL
217+ NULL
218+
219+ -- heredoc --
220+ NULL
221+ NULL
222+
223+ -- instance of classWithToString --
215- -- mixed case string --
216- bool(false)
219- -- heredoc --
221- bool(false)
223- -- instance of classWithToString --
224- bool(false)
225- bool(false)
226-
227- -- instance of classWithoutToString --
228-
229- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
230- bool(false)
231-
232- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
233- bool(false)
234-
235- -- undefined var --
227+ -- instance of classWithoutToString --
228+
229+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 99
232+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 100
235+ -- undefined var --
236+ object(DateTime)#4 (3) {
237+ ["date"]=>
238+ string(26) "2014-08-11 19:00:27.000000"
239+ ["timezone_type"]=>
240+ int(3)
241+ ["timezone"]=>
242+ string(13) "Europe/London"
243+ }
252+
253+ -- unset var --
252-
253- -- unset var --
262- object(DateTime)#%d (3) {
263- ["date"]=>
264- string(26) "%s"
265- ["timezone_type"]=>
266- int(3)
267- ["timezone"]=>
268- string(13) "Europe/London"
269- }
270+
271+ -- resource --
271- -- resource --
272-
1 (25%)
208+ NULL
209+ NULL
208- bool(false)
209- bool(false)
212+ NULL
213+ NULL
214+
215+ -- mixed case string --
216+ NULL
217+ NULL
218+
219+ -- heredoc --
220+ NULL
221+ NULL
222+
223+ -- instance of classWithToString --
215- -- mixed case string --
216- bool(false)
219- -- heredoc --
221- bool(false)
223- -- instance of classWithToString --
224- bool(false)
225- bool(false)
226-
227- -- instance of classWithoutToString --
228-
229- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
230- bool(false)
231-
232- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
233- bool(false)
234-
235- -- undefined var --
227+ -- instance of classWithoutToString --
228+
229+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 99
232+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 100
235+ -- undefined var --
236+ object(DateTime)#4 (3) {
237+ ["date"]=>
238+ string(26) "2014-08-11 19:00:07.000000"
239+ ["timezone_type"]=>
240+ int(3)
241+ ["timezone"]=>
242+ string(13) "Europe/London"
243+ }
252+
253+ -- unset var --
252-
253- -- unset var --
262- object(DateTime)#%d (3) {
263- ["date"]=>
264- string(26) "%s"
265- ["timezone_type"]=>
266- int(3)
267- ["timezone"]=>
268- string(13) "Europe/London"
269- }
270+
271+ -- resource --
271- -- resource --
272-
1 (25%)
208+ NULL
209+ NULL
208- bool(false)
209- bool(false)
212+ NULL
213+ NULL
214+
215+ -- mixed case string --
216+ NULL
217+ NULL
218+
219+ -- heredoc --
220+ NULL
221+ NULL
222+
223+ -- instance of classWithToString --
215- -- mixed case string --
216- bool(false)
219- -- heredoc --
221- bool(false)
223- -- instance of classWithToString --
224- bool(false)
225- bool(false)
226-
227- -- instance of classWithoutToString --
228-
229- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
230- bool(false)
231-
232- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
233- bool(false)
234-
235- -- undefined var --
227+ -- instance of classWithoutToString --
228+
229+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 99
232+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 100
235+ -- undefined var --
236+ object(DateTime)#4 (3) {
237+ ["date"]=>
238+ string(26) "2014-08-11 18:54:10.000000"
239+ ["timezone_type"]=>
240+ int(3)
241+ ["timezone"]=>
242+ string(13) "Europe/London"
243+ }
252+
253+ -- unset var --
252-
253- -- unset var --
262- object(DateTime)#%d (3) {
263- ["date"]=>
264- string(26) "%s"
265- ["timezone_type"]=>
266- int(3)
267- ["timezone"]=>
268- string(13) "Europe/London"
269- }
270+
271+ -- resource --
271- -- resource --
272-
1 (25%)
208+ NULL
209+ NULL
208- bool(false)
209- bool(false)
212+ NULL
213+ NULL
214+
215+ -- mixed case string --
216+ NULL
217+ NULL
218+
219+ -- heredoc --
220+ NULL
221+ NULL
222+
223+ -- instance of classWithToString --
215- -- mixed case string --
216- bool(false)
219- -- heredoc --
221- bool(false)
223- -- instance of classWithToString --
224- bool(false)
225- bool(false)
226-
227- -- instance of classWithoutToString --
228-
229- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
230- bool(false)
231-
232- Warning: date_create() expects parameter 1 to be string, object given in %s on line %d
233- bool(false)
234-
235- -- undefined var --
227+ -- instance of classWithoutToString --
228+
229+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 99
232+ Warning: date_create() expects parameter 1 to be string, object given in %s/date_create_variation1.php on line 100
235+ -- undefined var --
236+ object(DateTime)#4 (3) {
237+ ["date"]=>
238+ string(26) "2014-08-11 18:43:58.000000"
239+ ["timezone_type"]=>
240+ int(3)
241+ ["timezone"]=>
242+ string(13) "Europe/London"
243+ }
252+
253+ -- unset var --
252-
253- -- unset var --
262- object(DateTime)#%d (3) {
263- ["date"]=>
264- string(26) "%s"
265- ["timezone_type"]=>
266- int(3)
267- ["timezone"]=>
268- string(13) "Europe/London"
269- }
270+
271+ -- resource --
271- -- resource --
272-