make `Switch` constructor more precise
[hiphop-php.git] / hphp / test / slow / ext_xml / xmlreader_null_byte.php
blobcf850f2235106d2c0d354fd12299ca6e42871482
1 <?hh
4 <<__EntryPoint>>
5 function main_xmlreader_null_byte() {
6 $file = '/etc/passwd'.chr(0).'asdf';
8 $reader = new XMLReader();
9 var_dump($reader->open($file));
10 var_dump($reader->setRelaxNGSchema($file));