diff options
| author | jvoisin | 2022-08-21 15:58:09 +0200 |
|---|---|---|
| committer | jvoisin | 2022-08-21 19:40:17 +0200 |
| commit | e6219a095de78ce03be4a36360020a6f4fe94105 (patch) | |
| tree | 3b5701c88730e914e37ea9d2d966fd2262a63419 /src/snuffleupagus.c | |
| parent | b921322ce5faa5c49a14d71bb37f855b0634de0e (diff) | |
Fix sloppy comparison
Diffstat (limited to 'src/snuffleupagus.c')
| -rw-r--r-- | src/snuffleupagus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c index 30f6b3d..be6240e 100644 --- a/src/snuffleupagus.c +++ b/src/snuffleupagus.c | |||
| @@ -21,7 +21,7 @@ ZEND_DLEXPORT int sp_zend_startup(zend_extension *extension) { | |||
| 21 | 21 | ||
| 22 | static inline void sp_op_array_handler(zend_op_array *const op) { | 22 | static inline void sp_op_array_handler(zend_op_array *const op) { |
| 23 | // We need a filename, and strict mode not already enabled on this op | 23 | // We need a filename, and strict mode not already enabled on this op |
| 24 | if (NULL == op->filename || op->fn_flags & ZEND_ACC_STRICT_TYPES) { | 24 | if (NULL == op->filename) { |
| 25 | return; | 25 | return; |
| 26 | } else { | 26 | } else { |
| 27 | if (SPCFG(global_strict).enable) { | 27 | if (SPCFG(global_strict).enable) { |
