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 8447e83 commit a289272Copy full SHA for a289272
phper/src/functions.rs
@@ -650,7 +650,7 @@ impl ZFunc {
650
/// Get the type of the function (ZEND_USER_FUNCTION,
651
/// ZEND_INTERNAL_FUNCTION, etc).
652
pub fn get_type(&self) -> u8 {
653
- unsafe { self.inner.type_ as u8 }
+ unsafe { self.inner.type_ }
654
}
655
656
/// For a user function or eval'd code, get the filename from op_array.
phper/src/values.rs
@@ -139,7 +139,7 @@ impl ExecuteData {
139
ZEND_USER_FUNCTION | ZEND_EVAL_CODE => {
140
let opline = self.inner.opline;
141
if !opline.is_null() {
142
- Some((*opline).lineno as u32)
+ Some((*opline).lineno)
143
} else {
144
None
145
0 commit comments