Re: [PHP-DEV] domdocument loadhtml and encoding

2012-08-07 Thread Ferenc Kovacs
On Fri, Jun 1, 2012 at 5:57 PM, Tjerk Meesters wrote: > Gentlemen, > > Regarding this bug report: https://bugs.php.net/bug.php?id=49705 > > As more developers move away from using regular expressions to parse > HTML and start using DOMDocument, I've noticed that quite a few > stumble over encodin

[PHP-DEV] Re: [PATCH] Fix per-module logging in apache 2.4

2012-08-07 Thread Jan Ehrhardt
Cristian Rodríguez in php.internals (Mon, 6 Aug 2012 23:59:12 +0200): >--- > sapi/apache2filter/sapi_apache2.c |3 +++ > sapi/apache2handler/mod_php5.c|4 > 2 files changed, 7 insertions(+) Related to this patch: is there any special reason, why sapi/apache2handler/config.w32 in bo

Re: [PHP-DEV] Error handling brainstorming

2012-08-07 Thread Anthony Ferrara
Stas, On Tue, Aug 7, 2012 at 1:46 AM, Stas Malyshev wrote: > Hi! > > > circumstance. If it's not, you should be checking for existence first > > (via file_exists() or is_readable(), etc)... > > This is exactly how we got into this mess with $x = > isset($a['x'])?$a['x']:null; > We're trying to ge