summaryrefslogtreecommitdiff
path: root/src/snuffleupagus.c
diff options
context:
space:
mode:
authorjvoisin2022-08-21 15:58:09 +0200
committerjvoisin2022-08-21 19:40:17 +0200
commite6219a095de78ce03be4a36360020a6f4fe94105 (patch)
tree3b5701c88730e914e37ea9d2d966fd2262a63419 /src/snuffleupagus.c
parentb921322ce5faa5c49a14d71bb37f855b0634de0e (diff)
Fix sloppy comparison
Diffstat (limited to 'src/snuffleupagus.c')
-rw-r--r--src/snuffleupagus.c2
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
22static inline void sp_op_array_handler(zend_op_array *const op) { 22static 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) {