Re: Scalar type hinting
From: Richard Lynch Date: Tue, 28 Feb 2012 21:44:31 +0000 Subject: Re: Scalar type hinting References: 1 2 3 4 5 6 7 8 9 10 11 12 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
On Mon, February 27, 2012 4:34 pm, Kris Craig wrote: > I think this is the main reason for differentiating between "strong" > (or > whatever word is appropriate) and "weak." The developer may very well > want > their script to blow-up in such a case. I believe I actually "get it" now... You want 3 layers: $a = "1"; //current kosher unchanged weak int $a = "1"; // some E_x error level strong int $a = "1"; // some E_y error level where E_y > E_x Is that a correct summation? -- brain cancer update: http://richardlynch.blogspot.com/search/label/brain%20tumor Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FS9NLTNEEKWBE
Thread (163 messages)
- RE: [PHP-DEV] Scalar type hinting
- Re: Scalar type hinting
- RE: [PHP-DEV] Scalar type hinting
- Re: Scalar type hinting
- RE: [PHP-DEV] Scalar type hinting
- Re: Scalar type hinting
- PHP Philosophy (was RE: [PHP-DEV] Scalar type hinting)
- RE: [PHP-DEV] PHP Philosophy (was RE: [PHP-DEV] Scalar type hinting)
- RE: [PHP-DEV] Scalar type hinting
- RE: [PHP-DEV] Scalar type hinting
- RE: [PHP-DEV] Scalar type hinting
« previous | php.internals (#58283) | next » |
---|