Compiling PHP:


./buildconf
./configure --disable-all --prefix=/usr/local/php/deep-dive
make clean && make -j 4 && make install
In Zend/zend_language_scanner.l, find:

<INITIAL>"<?" {
    if (CG(short_tags)) {
        BEGIN(ST_IN_SCRIPTING);
        if (PARSER_MODE()) {
            SKIP_TOKEN(T_OPEN_TAG);
        }
        RETURN_TOKEN(T_OPEN_TAG);
    } else {
        goto inline_char_handler;
    }
}
Make it an error with:


zend_error(E_COMPILE_ERROR, "{message} on line %d", CG(zend_lineno));