[php-src] Issue #15677: Opcache always built and included for tests

From: Date: Sat, 31 Aug 2024 11:10:39 +0000
Subject: [php-src] Issue #15677: Opcache always built and included for tests
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-247657@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/15677 Author: withinboredom ### Description The following code (on master): ```sh make clean ./buildconf ./configure --with-bz2 --enable-ctype --with-curl --enable-filter --enable-mbstring --enable-pcntl --enable-phar --enable-posix --with-readline --enable-sockets --with-sodium --with-zlib --enable-intl --with-openssl --with-zip --with-pear --enable-gd --with-avif --with-webp --with-jpeg --with-xpm --with-gmp --enable-debug --enable-embed --enable-cli --enable-phar --with-mysqli \ --enable-zts \ --disable-zend-signals \ --enable-zend-max-execution-timers make -j ls modules/opcache.so /home/withinboredom/code/php-src/modules/opcache.so ``` Running make test results in the following command (machine-specific details removed): ``` sapi/cli/php -n -c tmp-php.ini -d "output_handler=" -d "open_basedir=" -d "disable_functions=" -d "output_buffering=Off" -d "error_reporting=32767" -d "display_errors=1" -d "display_startup_errors=1" -d "log_errors=0" -d "html_errors=0" -d "track_errors=0" -d "report_memleaks=1" -d "report_zend_debug=0" -d "docref_root=" -d "docref_ext=.html" -d "error_prepend_string=" -d "error_append_string=" -d "auto_prepend_file=" -d "auto_append_file=" -d "ignore_repeated_errors=0" -d "precision=14" -d "serialize_precision=-1" -d "memory_limit=128M" -d "opcache.fast_shutdown=0" -d "opcache.file_update_protection=0" -d "opcache.revalidate_freq=0" -d "opcache.jit_hot_loop=1" -d "opcache.jit_hot_func=1" -d "opcache.jit_hot_return=1" -d "opcache.jit_hot_side_exit=1" -d "opcache.jit_max_root_traces=100000" -d "opcache.jit_max_side_traces=100000" -d "opcache.jit_max_exit_counters=100000" -d "opcache.protect_memory=1" -d "zend.assertions=1" -d "zend.exception_ignore_args=0" -d "zend.exception_string_param_max_len=15" -d "short_open_tag=0" -d "extension_dir=modules/" -d "zend_extension=modules/opcache.so" -d "session.auto_start=0" -d "zlib.output_compression=Off" -f PHP_FILE -- test ``` But I expected no opcache to be generated at all. ### PHP Version master ### Operating System Ubuntu 24.04

« previous php.bugs (#247657) next »