solder::zend::php_echo is implemented as:
php_printf(c_message.as_bytes_with_nul().as_ptr() as *const i8);
but it should be something like:
php_printf(c_str!("%s"), c_message.as_bytes_with_nul().as_ptr() as *const i8);
(Please check that this works before using it; it's untested unsafe code interacting with C variadic arguments!)
solder::zend::php_echois implemented as:but it should be something like:
(Please check that this works before using it; it's untested unsafe code interacting with C variadic arguments!)