Re: AW: [PHP] PHP is Zero

2013-06-13 Thread Matijn Woudt
On Thu, Jun 13, 2013 at 1:49 PM, BUSCHKE Daniel < daniel.busc...@nextiraone.eu> wrote: > To be more technical: > > If intval('8315e839da08e2a7afe6dd12ec58245d') would return NULL instead of > 8315 then PHP would be still weak-typed and the developer could know that > the conversion failed. Good id

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread Samuel Lopes Grigolato
I agree with you that this is a confusing and error-prone behavior, but I also agree with Richard Gray, I wouldn't try to change this for the same reason that a "1+1=3" shouldn't be touched if it's "correct" on a huge amount of existing codebases... On Thu, Jun 13, 2013 at 8:49 AM, BUSCHKE Danie

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread Pete Ford
On 13/06/13 10:44, BUSCHKE Daniel wrote: Hi, thanks for your answer. Especially the answer "42" made me laughing :) My "Why" questions should be understand as "Why must it be like that" questions. On 13/06/13 08:59, BUSCHKE Daniel wrote: 5. Thats a bug I have opend: https://bugs.php.net/bug.ph

Re: AW: [PHP] PHP is Zero

2013-06-13 Thread richard gray
On 13/06/2013 11:44, BUSCHKE Daniel wrote: Hi, thanks for your answer. Especially the answer "42" made me laughing :) My "Why" questions should be understand as "Why must it be like that" questions. On 13/06/13 08:59, BUSCHKE Daniel wrote: 5. Thats a bug I have opend: https://bugs.php.net/bug