xref: /PHP-7.1/ext/intl/tests/bug70451.phpt (revision ff2af895)
1--TEST--
2Bug #70451 IntlChar::charFromName() not consistent with C library or HHVM
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7var_dump(IntlChar::charFromName("RECYCLING SYMBOL FOR TYPE-1 PLASTICS"));
8var_dump(IntlChar::charFromName("sdfasdfasdfasdf"));
9?>
10--EXPECT--
11int(9843)
12NULL
13