PHP Conference China 2020

C Type Handles

(PHP 7 >= 7.4.0)

Introducción

Sinopsis de la Clase

FFI\CType {
}
add a note add a note

User Contributed Notes 1 note

up
-1
scorninpc at php dot net
8 months ago
You can compare CTypes if you want to know if the type are correct

\FFI::typeof(\FFI::addr($a)) == \FFI::typeof(\FFI::new("void *"))

CType need some methods, like equal() or toString(), but .....
To Top