Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4574934
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:59:30+00:00 2026-05-21T19:59:30+00:00

I see on PHP that if I send a list of paramters with the

  • 0

I see on PHP that if I send a list of paramters with the name [], on server side it automatically save these values into an array.

So, for example, if I send values via GET :

<input type="checkbox" name="customArray[]" value="1" checked="checked" /> 1
<input type="checkbox" name="customArray[]" value="2" checked="checked" /> 2
<input type="checkbox" name="customArray[]" value="3" checked="checked" /> 3

I can access on php to that array with $_GET[‘customArray’].

I’d like to know this behaviour : is it a standart behaviour? Is it piloted by a directive? can I disable/able this? And so on…

I don’t like to create my application and know that in some years (maybe) this won’t be available anymore 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:59:31+00:00Added an answer on May 21, 2026 at 7:59 pm

    Yes, it’s standard behaviour.

    No, you can’t disable it.

    It will not be made invalid in the future. Or, if it is, it’d likely only be done along with tremendous other changes to the language that would render a lot of your other code broken, too. In short, don’t worry about forward compatibility with this feature; it’s not going anywhere.

    Indeed, it’s common-place to use this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP SOAP server (using nuSOAP with wsdl) that send the content
I am running WAMP server. On file upload using PHP I see $_FILES[tmp_name] =>
I have page1.php that uses a form to send the following data: <form action=page2.php
I have a PHP array, and I need to test the content of that
I want to be able to send a parameter to a php page that
I've read that using session is one way to retain the values from PHP
I've used heredoc syntax in server-side php to clean up the code -- my
I have a specific array that php needs to access and write to a
See http://bldd.nl/prototypes/megamenu/test23.php I am stuck with this, if you rollover the submenu navigation you
See the following code of the <?php class DefaultController extends Controller { public function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.