rfc:introduce-type-affinity
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:introduce-type-affinity [2015/03/16 22:09] – yohgaki | rfc:introduce-type-affinity [2015/03/16 22:12] – yohgaki | ||
---|---|---|---|
Line 8: | Line 8: | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | PHP is weakly typed to make it work with Web smoothly. However, | + | PHP is weakly typed to make it work with Web smoothly. However, |
https:// | https:// | ||
Line 18: | Line 18: | ||
Since inputs are converted to native type. | Since inputs are converted to native type. | ||
- | * PHP does not have convert ZVAL again and again. (e.g. " | + | * PHP does not have to convert ZVAL again and again. (e.g. " |
- | * It works well with coercive type or strict type if PHP has it. | + | * It works well with coercive type or strict type if PHP has it. (Not work well with currently proposed " |
* User can omit simple data type validation and concentrate what data should like. | * User can omit simple data type validation and concentrate what data should like. | ||
rfc/introduce-type-affinity.txt · Last modified: 2021/03/27 14:50 by ilutov