We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any reason why array notation is not longer supported? I found code which supported it is commented in \CodeIgniter\HTTP\Request:
// // // Does the index contain array notation? // if (($count = preg_match_all('/(?:^[^\[]+)|\[[^]]*\]/', $index, $matches)) > 1) // Does the index contain array notation // { // $value = $array; // for ($i = 0; $i < $count; $i++) // { // $key = trim($matches[0][$i], '[]'); // if ($key === '') // Empty notation will return the value as array // { // break; // } // // if (isset($value[$key])) // { // $value = $value[$key]; // } // else // { // return NULL; // } // } // }
The text was updated successfully, but these errors were encountered:
Simply because no one has gone back to make sure it works :)
Sorry, something went wrong.
71c2f38
No branches or pull requests
Is there any reason why array notation is not longer supported?
I found code which supported it is commented in \CodeIgniter\HTTP\Request:
// // // Does the index contain array notation? // if (($count = preg_match_all('/(?:^[^\[]+)|\[[^]]*\]/', $index, $matches)) > 1) // Does the index contain array notation // { // $value = $array; // for ($i = 0; $i < $count; $i++) // { // $key = trim($matches[0][$i], '[]'); // if ($key === '') // Empty notation will return the value as array // { // break; // } // // if (isset($value[$key])) // { // $value = $value[$key]; // } // else // { // return NULL; // } // } // }
The text was updated successfully, but these errors were encountered: