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

Language PHP Lines 12
MD5 Hash c9c98566bf4a7a269d1e0c3fe83a293b Estimated Cost $170 (why?)
Repository git://github.com/facebook/hiphop-php.git View Raw File View Project SPDX
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<?php
parse_str("a[a][]=foo&a[a][b][c]=bar", $_GET);
$_REQUEST = array_merge($_REQUEST, $_GET);
_filter_snapshot_globals();

parse_str("1[a][]=foo&1[a][b][c]=bar", $_POST);
$_REQUEST = array_merge($_REQUEST, $_POST);
_filter_snapshot_globals();

print_r($_GET);
print_r($_POST);
Back to Top