Re: [PHP-DEV] html_errors default settings

2011-06-24 Thread Ferenc Kovacs
On Thu, Jun 23, 2011 at 11:44 PM, John Crenshaw johncrens...@priacta.comwrote: I'd like to hear and explanation how production setting of html_errors as 1 is useful. One that comes to mind is in conjunction with an error trap (output buffer hack to catch fatal errors and immediately notify

Re: [PHP-DEV] html_errors default settings

2011-06-24 Thread Benno
Hi, Op 23 jun. 2011 om 21:47 heeft Derick Rethans der...@derickrethans.nl het volgende geschreven: Hi! In PHP 5.2 and earlier, the html_errors setting has always been on by default (in the code, in php.ini-dist and in php.ini-recommended). Since PHP 5.3, it's still on by default in the

Re: [PHP-DEV] html_errors default settings

2011-06-24 Thread Pierre Joye
hi, On Thu, Jun 23, 2011 at 11:40 PM, Derick Rethans der...@php.net wrote: They are not useful in production, but as distributions use the php.ini-production, even PHP developer that uses a distribution package now doesn't use the php.ini-development settings. Hence, no more HTML errors and

[PHP-DEV] Ignore this thread: Re: [PHP-DEV] html_errors default settings

2011-06-24 Thread Derick Rethans
[Ignore this thread, the ML was stupid last night] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Small PHPAPI addition

2011-06-24 Thread Derick Rethans
On Thu, 23 Jun 2011, Stas Malyshev wrote: On 6/23/11 1:47 PM, Derick Rethans wrote: In order to fix Xdebug bug #587 (http://bugs.xdebug.org/view.php?id=587) I need to have access to module_initialized which is currently a static in main/main.c. I've added a simple function to

[PHP-DEV] from __future__ import...

2011-06-24 Thread Florian Anderiasch
Hello, there's something that's been on my mind for a while, but I've not yet fully managed to think more about feasibility. For those who didn't know this already, Python has a pseudo-module __future__ that allows BC breaks in future versions to be anticipated. I'll quote an example:

Re: [PHP-DEV] Small PHPAPI addition

2011-06-24 Thread Johannes Schlüter
On Thu, 2011-06-23 at 21:47 +0100, Derick Rethans wrote: Hi! In order to fix Xdebug bug #587 (http://bugs.xdebug.org/view.php?id=587) I need to have access to module_initialized which is currently a static in main/main.c. I've added a simple function to retrieve that and would like to

Re: [PHP-DEV] Small PHPAPI addition

2011-06-24 Thread Derick Rethans
On Fri, 24 Jun 2011, Johannes Schlüter wrote: On Thu, 2011-06-23 at 21:47 +0100, Derick Rethans wrote: In order to fix Xdebug bug #587 (http://bugs.xdebug.org/view.php?id=587) I need to have access to module_initialized which is currently a static in main/main.c. I've added a

Re: [PHP-DEV] html_errors default settings

2011-06-24 Thread devis
I found these The error handling output was found to not properly escape HTML output in certain cases. An attacker could use this flaw to perform cross-site scripting attacks against sites where both display_errors and html_errors are enabled.

Re: [PHP-DEV] [RFC] Object oriented session handlers

2011-06-24 Thread Arpad Ray
Hi, I've updated the patches again. The most significant change is that the shutdown function registers another shutdown function when it's called, to (almost) ensure that it's always the last one, and therefore user shutdown functions should always find the session available as expected. I'd

Re: [PHP-DEV] [RFC] Object oriented session handlers

2011-06-24 Thread Arpad Ray
On Sat, Jun 25, 2011 at 6:13 AM, Arpad Ray array...@gmail.com wrote: The most significant change is that the shutdown function registers another shutdown function when it's called, to (almost) ensure that it's always the last one, and therefore user shutdown functions should always find the