1--TEST--
2Bug #54322: Null pointer deref in get_html_translation_table due to information loss in long-to-int conversion
3--FILE--
4<?php
5var_dump(
6get_html_translation_table(NAN, 0, "UTF-8") > 0
7);
8--EXPECTF--
9Warning: get_html_translation_table() expects parameter 1 to be integer, float given in %s on line %d
10bool(false)
11