[PHP-DEV] Consider the use of rawurldecode() on $_GET and $_REQUEST instead of urldecode()

2011-07-24 Thread Tig
Current the following string (inside the quotes) "give me a + plz" should be encoded correctly to "give%20me%20a%20+%20plz" when passed as a query string. Now when the query string is presented with $_GET['x'], the result is "give me a plz". Clearly wrong. This leads to people (I'm sure I'm not

Re: [PHP-DEV] [PATCH] Add option to disable POST data processing

2010-12-07 Thread Tig
If the objective is to 'block' POST data from getting to PHP, (in apache) you can use: http://httpd.apache.org/docs/2.0/mod/core.html#limit No need to change / add anything to PHP. -Tig -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [RFC] Array Dereferencing

2010-06-07 Thread Tig
Thanks! Very happy about this :] -Tig -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Suggestion: echo function(var)[0];

2010-06-03 Thread Tig
On Fri, Jun 4, 2010 at 11:19 AM, Kalle Sommer Nielsen wrote: > Hi Tig > > 2010/6/4 Tig : >> Would be at all possible to implement this kind of shortcut? > > Its called array-dereferencing and it was proposed countless times, > including by myself. There is an RFC for this[

[PHP-DEV] Suggestion: echo function(var)[0];

2010-06-03 Thread Tig
: Anyway, just an idea. -Tig -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php