rfc:introduce-type-affinity

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:introduce-type-affinity [2015/03/16 22:12] yohgakirfc:introduce-type-affinity [2015/03/16 22:15] yohgaki
Line 40: Line 40:
 Introduce type affinity conversion function:  Introduce type affinity conversion function: 
  
-  * void type_affinitize(mixed $input [, array $definition ]);+  * void type_affinitize(mixed &$input [, array $definition ]); 
 +  * void type_affinitize_input(string $input="GPC" [, array $definition ]); \\ "GPC" is for $_GET/$_POST/$_COOKIE
  
 Type affinity may be applied to any inputs including databases/$argv/etc.  Type affinity may be applied to any inputs including databases/$argv/etc. 
rfc/introduce-type-affinity.txt · Last modified: 2021/03/27 14:50 by ilutov