We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$_REQUEST
1 parent 0d9496b commit 2458733Copy full SHA for 2458733
src/zend/globals.rs
@@ -284,9 +284,10 @@ impl ProcessGlobals {
284
285
/// Get the HTTP Request variables. Equivalent of $_REQUEST.
286
pub fn http_request_vars(&self) -> &ZendHashTable {
287
- self.http_globals[TRACK_VARS_REQUEST as usize]
288
- .array()
289
- .expect("Type is not a ZendArray")
+ todo!("$_REQUEST super global was erroneously fetched from http_globals which resulted in an out-of-bounds access. A new implementation is needed.");
+ // self.http_globals[TRACK_VARS_REQUEST as usize]
+ // .array()
290
+ // .expect("Type is not a ZendArray")
291
}
292
293
/// Get the HTTP Environment variables. Equivalent of $_ENV.
0 commit comments