What is the max size, by default, of GET variables?

PHP: What is the max size, by default, of GET variables?

By default the max size for values in the $_GET[] array is 2048 bytes. The $_POST[] has no such limit.

webdevetc profile pic
webdevetc

I am a 29 year old backend web developer from London, mostly focusing on PHP and Laravel lately. This (webdevetc.com) is my blog where I write about some web development topics (PHP, Laravel, Javascript, and some server stuff). contact me here.



More...


Comments and discussion about What is the max size, by default, of GET variables?

Found this interesting? Maybe you want to read some more in this series?

Or see other topics in the PHP language

Or see other languages/frameworks:
PHP Laravel Composer Apache CentOS and Linux Stuff WordPress General Webdev and Programming Stuff JavaScript
Or see random questions

What are macros in Laravel?

How to access the Laravel's route parameters outside of the controller?

What is the difference between integration and unit tests?

How to make multiple routes share the same URL structure or URL parameters

How to check if a object has a static variable defined?

How to replace values in a string, in JS

Push vs Pop vs Shift vs Unshift

How to add the CSRF (Cross-site request forgery) token in Laravel?

How to check if a relation was loaded on an Eloquent model already?

How to see all of the options for an artisan command?