PageRenderTime 240ms CodeModel.GetById 106ms app.highlight 3ms RepoModel.GetById 78ms app.codeStats 0ms

/hphp/test/zend/bad/tests/basic/bug61000.php

http://github.com/facebook/hiphop-php
PHP | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | c9c98566bf4a7a269d1e0c3fe83a293b MD5 | raw file
 1<?php
 2parse_str("a[a][]=foo&a[a][b][c]=bar", $_GET);
 3$_REQUEST = array_merge($_REQUEST, $_GET);
 4_filter_snapshot_globals();
 5
 6parse_str("1[a][]=foo&1[a][b][c]=bar", $_POST);
 7$_REQUEST = array_merge($_REQUEST, $_POST);
 8_filter_snapshot_globals();
 9
10print_r($_GET);
11print_r($_POST);