Passed arrays lose all but first element

后端 未结 6 1717
别那么骄傲
别那么骄傲 2021-01-12 07:21

I have a strange problem. I recently migrated my application from my local xampp installation to a SUSE Enterprise Server 11 and everything is working but this one thing dri

6条回答
  •  南方客
    南方客 (楼主)
    2021-01-12 08:06

    An example at the link prints Array ( [0] => 52.447529 ) every time even no variables were passed. So, seems that you have problem in code that is not linked with this code: `

    $test="latmin[]=52.447529&latmin[]=22&lonmin=23&lonmax=22.16";
    parse_str($test);
    print_r($latmin);
    phpinfo();
    

    `

提交回复
热议问题