From e6219a095de78ce03be4a36360020a6f4fe94105 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 21 Aug 2022 15:58:09 +0200 Subject: Fix sloppy comparison --- src/snuffleupagus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/snuffleupagus.c') 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) { static inline void sp_op_array_handler(zend_op_array *const op) { // We need a filename, and strict mode not already enabled on this op - if (NULL == op->filename || op->fn_flags & ZEND_ACC_STRICT_TYPES) { + if (NULL == op->filename) { return; } else { if (SPCFG(global_strict).enable) { -- cgit v1.3