dereuromark/cakephp-tools — pull request #129 by Adnan0703 (2014-12-31 08:19:20+00:00)
Title: test with querystring

$KeyUrl = array('controller' => 'posts', 'action' => 'list_posts', '?' => ['page' => 2]);
foreach ($KeyUrl as $key => $val) {
$KeyUrl[$key] = (string)$val;
}
// this gives array to string conversion error and destroys the querystring data. the result will be.

array(
'controller' => 'posts',
'action' => 'list_posts',
'?' => 'Array'
)