derickr/vld

bug of IS_CONSTANT in php 7

Closed this issue · 3 comments

srm_oparray.c:448:8: error: 'IS_CONSTANT' undeclared (first use in this function)
case IS_CONSTANT: return vld_dump_zval_constant (val.value)
IS_CONSTANT type and Z_CONST_FLAGS() are removed. Now constants are always represented using IS_CONSTANT_AST
so it's undeclared

In which PHP version is that? It still compiles with PHP 7.2.0-dev.

PHP 7.3.0-dev
the newest version in https://github.com/php/php-src

This is been resolve in the meanwhile.