We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66fc3f commit debd466Copy full SHA for debd466
src/embed/mod.rs
@@ -96,8 +96,11 @@ impl Embed {
96
97
match exec_result {
98
Err(_) => Err(EmbedError::CatchError),
99
+ #[cfg(not(php82))]
100
+ Ok(0) => Ok(()),
101
+ #[cfg(php82)]
102
Ok(true) => Ok(()),
- Ok(false) => Err(EmbedError::ExecuteScriptError),
103
+ Ok(_) => Err(EmbedError::ExecuteScriptError),
104
}
105
106
tests/sapi.rs
@@ -44,6 +44,9 @@ fn test_sapi() {
44
45
46
unsafe {
47
48
+ php_module_startup(sapi, module, 1);
49
50
php_module_startup(sapi, module);
51
52
0 commit comments