"Fossies" - the Fresh Open Source Software Archive

Member "hhvm-HHVM-4.166.0/hphp/test/zend/good/ext/filter/tests/001.php" (8 Aug 2022, 194 Bytes) of package /linux/www/hhvm-HHVM-4.166.0.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 <?hh
    3 <<__EntryPoint>>
    4 function main() {
    5 $get = \HH\global_get('_GET');
    6 parse_str("a=1", inout $get);
    7 \HH\global_set('_GET', $get);
    8 $_REQUEST = array_merge($_REQUEST, $_GET);
    9 echo $_GET['a'];
   10 }