Test: /ext/intl/tests/idn_uts46_errors.phpt - Version 5.5.0RC2    

There is 1 diff reported by users for this test.

Count Diff
3 (100%)
007- NULL
008+ Fatal error: Uncaught exception 'IntlException' with message 'idn_to_ascii: bad arguments' in %s/idn_uts46_errors.php:6
009+ Stack trace:
010+ #0 %s/idn_uts46_errors.php(6): idn_to_ascii('', 0, Array)
011+ #1 {main}
012+ thrown in %s/idn_uts46_errors.php on line 6
009- Warning: idn_to_ascii() expects at most 4 parameters, 5 given in %s on line %d
010-
011- Warning: idn_to_ascii(): idn_to_ascii: bad arguments in %s on line %d
012- NULL
013- bad variant:
014-
015- Warning: idn_to_ascii(): idn_to_ascii: invalid variant, must be one of {INTL_IDNA_VARIANT_2003, INTL_IDNA_VARIANT_UTS46} in %s on line %d
016- bool(false)
017- empty domain:
018-
019- Warning: idn_to_ascii(): idn_to_ascii: empty domain name in %s on line %d
020- bool(false)
021- fourth arg for 2003 variant (only notice raised):
022-
023- Notice: idn_to_ascii(): 4 arguments were provided, but INTL_IDNA_VARIANT_2003 only takes 3 - extra argument ignored in %s on line %d
024- string(7) "foo.com"
025- with error, but no details arg:
026- bool(false)
027- with error, with details arg:
028- bool(false)
029- array(3) {
030- ["result"]=>
031- string(23) "www.xn--fuball-cta.com-"
032- ["isTransitionalDifferent"]=>
033- bool(true)
034- ["errors"]=>
035- int(16)
036- }
037- with error, with details arg, contextj:
038- bool(false)
039- array(3) {
040- ["result"]=>
041- string(18) "www.xn--ab-m1t.com"
042- ["isTransitionalDifferent"]=>
043- bool(true)
044- ["errors"]=>
045- int(4096)
046- }
047- bool(true)