$form_params = array( 'id' => 1, 'ids' => [1,2,3], ); $form_params = http_build_query($form_params); $form_params = preg_replace('/%5B[0-9]+%5D/simU', '%5B%5D', $form_params);
京公网安备 11010502049817号