Skip to content

Commit 571dac8

Browse files
committed
Fixed tests
1 parent 5e8977b commit 571dac8

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

ext/imap/tests/bug46918.phpt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -24,52 +24,52 @@ var_export($add_arr);
2424
--EXPECT--
2525
array (
2626
0 =>
27-
stdClass::__set_state(array(
27+
(object) array(
2828
'mailbox' => 'iane',
2929
'host' => 'example.ac.uk',
3030
'personal' => 'ian eiloart',
31-
)),
31+
),
3232
1 =>
33-
stdClass::__set_state(array(
33+
(object) array(
3434
'mailbox' => 'shuf6',
3535
'host' => 'example.ac.uk',
36-
)),
36+
),
3737
2 =>
38-
stdClass::__set_state(array(
38+
(object) array(
3939
'mailbox' => 'blobby',
4040
'host' => 'example.com',
41-
)),
41+
),
4242
3 =>
43-
stdClass::__set_state(array(
43+
(object) array(
4444
'mailbox' => 'ian',
4545
'host' => 'example.ac.uk',
4646
'personal' => 'ian,eiloart',
47-
)),
47+
),
4848
4 =>
49-
stdClass::__set_state(array(
49+
(object) array(
5050
'mailbox' => 'foo',
5151
'host' => 'example.ac.uk',
5252
'adl' => '@example.com',
53-
)),
53+
),
5454
5 =>
55-
stdClass::__set_state(array(
55+
(object) array(
5656
'mailbox' => 'foo',
5757
'host' => '#',
58-
)),
58+
),
5959
6 =>
60-
stdClass::__set_state(array(
60+
(object) array(
6161
'mailbox' => 'ian',
6262
'host' => '-example.com',
63-
)),
63+
),
6464
7 =>
65-
stdClass::__set_state(array(
65+
(object) array(
6666
'mailbox' => 'ian',
6767
'host' => 'one',
68-
)),
68+
),
6969
8 =>
70-
stdClass::__set_state(array(
70+
(object) array(
7171
'mailbox' => 'UNEXPECTED_DATA_AFTER_ADDRESS',
7272
'host' => '.SYNTAX-ERROR.',
73-
)),
73+
),
7474
)
7575
Notice: Unknown: Unexpected characters at end of address: @two (errflg=3) in Unknown on line 0

ext/intl/tests/dateformat_format_variant2.phpt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -397,27 +397,27 @@ Date is: DateTime::__set_state(array(
397397
------------
398398
Formatted DateTime is : 20001230 05:04 PM
399399
------------
400-
Date is: stdClass::__set_state(array(
401-
))
400+
Date is: (object) array(
401+
)
402402
------------
403403
Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
404404
------------
405-
Date is: stdClass::__set_state(array(
406-
))
405+
Date is: (object) array(
406+
)
407407
------------
408408
Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
409409
------------
410-
Date is: stdClass::__set_state(array(
411-
))
410+
Date is: (object) array(
411+
)
412412
------------
413413
Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
414414
------------
415-
Date is: stdClass::__set_state(array(
416-
))
415+
Date is: (object) array(
416+
)
417417
------------
418418
Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'
419419
------------
420-
Date is: stdClass::__set_state(array(
421-
))
420+
Date is: (object) array(
421+
)
422422
------------
423423
Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTimeInterface permitted): U_ILLEGAL_ARGUMENT_ERROR'

0 commit comments

Comments
 (0)