Basic flow analysis on if statements
[hiphop-php.git] / hphp / test / slow / ext_xsl / ext_xsl_null_byte.php
blob4d9d0da4f97709161e71c76cef5baec52e1d7f8e
1 <?hh
4 <<__EntryPoint>>
5 function main_ext_xsl_null_byte() {
6 $file = '/etc/passwd'.chr(0).'asdf';
8 $doc = new DOMDocument();
9 $proc = new XSLTProcessor();
10 var_dump($proc->setProfiling($file));
11 var_dump($proc->transformToURI($doc, $file));