Re: Type hinting
| From: | Lars Schultz | Date: | Wed, 09 Jun 2010 20:25:20 +0000 |
| Subject: | Re: Type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48715@lists.php.net to get a copy of this message | ||
for example: $foo = 0; $foo += (int)'123abc'; // no error $foo += '123abc'; // E_TYPEExactly. And to make sure we're on the same page: $foo += '123'; // no error +1