2 include __DIR__
."/_include.php";
6 static inline void
psi_calc_cast(token_t in_type
, impl_val
*in_val
, token_t out_type
, impl_val
*out_val
)
8 switch (out_type
) {<?php
/*nobr*/ ?
>
9 <?php
foreach ($types as $t => $v) : ?
>
10 <?php
if (t_is_special($t)) : ?
>
16 switch (in_type
) {<?php
/*nobr*/ ?
>
17 <?php
foreach ($types as $t_in => $v_in) : ?
>
18 <?php
if (t_is_special($t_in)) :?
>
23 case PSI_T_
<?
=$t_in?
>:
24 out_val
-><?
=$v?
> = in_val
-><?
=$v_in?
>;
25 break;<?php
/*nobr*/ ?
>
26 <?php
if (t_is_special($t_in)) : ?
>
36 break;<?php
/*nobr*/ ?
>
37 <?php
if (t_is_special($t)) : ?
>