[PHP] How to get a PHP bug fixed?

2012-11-16 Thread Enumag
Hi, there is a bug I'd like to be fixed and even a patch is available. But there is still no reaction at all after 2 years. What else can I do to get the bug fixed? https://bugs.php.net/bug.php?id=45351 - patch available from 2010-06-13 https://bugs.php.net/bug.php?id=48724 - patch available from

Re: [PHP] Re: Switch - Case Statement Questions

2012-11-16 Thread tamouse mailing lists
On Fri, Nov 16, 2012 at 12:41 PM, Sebastian Krebs wrote: > Beside this it can be rewritten as > > switch ((int) (($count-1) / 7) { > case 0: // 1-7 > case 1: // 8 - 14 > default: // above 15 > } Nice code refactoring :) Just a tad obscure for someone coming along later, perhaps. -- PHP Ge

Re: [PHP] Re: Switch - Case Statement Questions

2012-11-16 Thread Iñigo Medina
On Fri, 16 Nov 2012, Jim Giner wrote: On 11/16/2012 12:38 PM, Tim Streater wrote: On 16 Nov 2012 at 12:10, Omar Muhsin wrote: Hello, I was just wondering after writting the code in version 2 here below, it turns out in testing that it actually PHP is not validating the expressions instea

[PHP] Re: Switch - Case Statement Questions

2012-11-16 Thread Jim Giner
On 11/16/2012 12:38 PM, Tim Streater wrote: On 16 Nov 2012 at 12:10, Omar Muhsin wrote: Hello, I was just wondering after writting the code in version 2 here below, it turns out in testing that it actually PHP is not validating the expressions instead always I get the first case. 1.Using nes

Re: [PHP] re:Switch - Case Statement Questions

2012-11-16 Thread Iñigo Medina
On Fri, 16 Nov 2012, Ken Robinson wrote: At 07:10 AM 11/16/2012, Omar Muhsin wrote: Hello, I was just wondering after writting the code in version 2 here below, it turns out in testing that it actually PHP is not validating the expressions instead always I get the first case. 1.Using nest

Re: [PHP] Re: Switch - Case Statement Questions

2012-11-16 Thread Sebastian Krebs
2012/11/16 Tim Streater > On 16 Nov 2012 at 12:10, Omar Muhsin wrote: > > > Hello, > > > > I was just wondering after writting the code in version 2 here below, it > turns > > out in testing that it actually PHP is not validating the expressions > instead > > always I get the first case. > > > >

[PHP] Re: Switch - Case Statement Questions

2012-11-16 Thread Tim Streater
On 16 Nov 2012 at 12:10, Omar Muhsin wrote: > Hello, > > I was just wondering after writting the code in version 2 here below, it turns > out in testing that it actually PHP is not validating the expressions instead > always I get the first case. > > 1.Using nested if statement {THE INTENDED BEH

Re: [PHP] re:Switch - Case Statement Questions

2012-11-16 Thread Ken Robinson
At 07:10 AM 11/16/2012, Omar Muhsin wrote: Hello, I was just wondering after writting the code in version 2 here below, it turns out in testing that it actually PHP is not validating the expressions instead always I get the first case. 1.Using nested if statement {THE INTENDED BEHAVIOR}:

[PHP] re:Switch - Case Statement Questions

2012-11-16 Thread Omar Muhsin
Hello, I was just wondering after writting the code in version 2 here below, it turns out in testing that it actually PHP is not validating the expressions instead always I get the first case. 1.Using nested if statement {THE INTENDED BEHAVIOR}: if ($count > 14) $boxes = 3;

Re: [PHP] Pear Mail - Trap for errors?

2012-11-16 Thread tamouse mailing lists
On Thu, Nov 15, 2012 at 9:52 AM, Rick Dwyer wrote: > Same result… which is to say no error returned even for messages sent with no > email in the to address field. Okay, that is odd. If I try it with a blank I get a failure saying that it has a bad address. See: https://gist.github.com/4085385