kphp
kphp copied to clipboard
!ffi_cdata fails to compile at gcc phase
if ($cdata_value) ...
This fails at gcc phase.
We should either implement bool conversion for ffi cdata types ($cdata_value !== null?) or give error during the type checking or other translation phase.