1--TEST-- 2Bug #78714 (funcs returning pointer can't use call convention spec) 3--EXTENSIONS-- 4ffi 5--INI-- 6ffi.enable=1 7--FILE-- 8<?php 9$def = 'char * __cdecl get_zend_version(void);'; 10$ffi = FFI::cdef($def); 11echo substr(FFI::string($ffi->get_zend_version()), 0, 4) . "\n"; 12?> 13--EXPECT-- 14Zend 15