From 5da3a92492bf169e62367d954cfa7432bee51fed Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 9 Jul 2018 07:37:58 +0000 Subject: Trying to fix sloppy comparison (#186) * Trying to fix sloppy comparison https://github.com/nbs-system/snuffleupagus/issues/10 by modifying php's opcode --- src/sp_sloppy.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/sp_sloppy.h (limited to 'src/sp_sloppy.h') diff --git a/src/sp_sloppy.h b/src/sp_sloppy.h new file mode 100644 index 0000000..c01b77c --- /dev/null +++ b/src/sp_sloppy.h @@ -0,0 +1,8 @@ +#ifndef SP_SLOPPY_H +#define SP_SLOPPY_H +#include "php_snuffleupagus.h" +#include "zend_vm.h" + +void hook_sloppy(); + +#endif -- cgit v1.3