1--TEST--
2Bug #66873 - crash in UConverter with invalid encoding
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7    $o = new UConverter(1, 1);
8    $o->toUCallback(1, 1, 1, $b);
9    var_dump($o->getErrorCode());
10?>
11--EXPECT--
12int(27)
13