[php-src] Issue #24547: Getting weird error after update

From: Date: Thu, 22 Oct 2026 15:19:00 +0000
Subject: [php-src] Issue #24547: Getting weird error after update
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253098@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24547 Author: Eccenux ### Description The following code: ```php <?php/* Top index for sites. */?> ``` Resulted in this output: ``` Fatal error: Uncaught Error: Undefined constant "php" in .../index.php:1 Stack trace: #0 {main} thrown in /var/.../index.php on line 1 ``` But I expected this output instead: ``` [Empty] ``` I think this is crushing PHP because I'm not getting error reports in logs too. ## Env My config (added at the end of default php.ini): ```ini short_open_tag = On expose_php = Off memory_limit = 128M max_execution_time = 30 max_input_time = 60 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT display_errors = Off log_errors = On error_log = /var/log/php/php_errors.log post_max_size = 8M upload_max_filesize = 2M ``` Installation (internal server on a VM, Proxmox): ``` System | Linux ... PVE ... x86_64 -- | -- Build Date | Oct 21 2026 14:31:50 Build Provider | Ubuntu Server API | Apache 2.0 Handler Virtual Directory Support | disabled Configuration File (php.ini) Path | /etc/php/8.3/apache2 Loaded Configuration File | /etc/php/8.3/apache2/php.ini Scan this dir for additional .ini files | /etc/php/8.3/apache2/conf.d Additional .ini files parsed | /etc/php/8.3/apache2/conf.d/10-opcache.ini, /etc/php/8.3/apache2/conf.d/10-pdo.ini, /etc/php/8.3/apache2/conf.d/20-calendar.ini, /etc/php/8.3/apache2/conf.d/20-ctype.ini, /etc/php/8.3/apache2/conf.d/20-exif.ini, /etc/php/8.3/apache2/conf.d/20-ffi.ini, /etc/php/8.3/apache2/conf.d/20-fileinfo.ini, /etc/php/8.3/apache2/conf.d/20-ftp.ini, /etc/php/8.3/apache2/conf.d/20-gettext.ini, /etc/php/8.3/apache2/conf.d/20-iconv.ini, /etc/php/8.3/apache2/conf.d/20-mbstring.ini, /etc/php/8.3/apache2/conf.d/20-pdo_pgsql.ini, /etc/php/8.3/apache2/conf.d/20-pgsql.ini, /etc/php/8.3/apache2/conf.d/20-phar.ini, /etc/php/8.3/apache2/conf.d/20-posix.ini, /etc/php/8.3/apache2/conf.d/20-readline.ini, /etc/php/8.3/apache2/conf.d/20-shmop.ini, /etc/php/8.3/apache2/conf.d/20-sockets.ini, /etc/php/8.3/apache2/conf.d/20-sysvmsg.ini, /etc/php/8.3/apache2/conf.d/20-sysvsem.ini, /etc/php/8.3/apache2/conf.d/20-sysvshm.ini, /etc/php/8.3/apache2/conf.d/20-tokenizer.ini PHP API | 20230831 PHP Extension | 20230831 Zend Extension | 420230831 Zend Extension Build | API420230831,NTS PHP Extension Build | API20230831,NTS ``` ### PHP Version ```plain PHP 8.3.36 (cli) (built: Oct 21 2026 14:31:50) (NTS) Copyright (c) The PHP Group Zend Engine v4.3.36, Copyright (c) Zend Technologies with Zend OPcache v8.3.36, Copyright (c), by Zend Technologies (from ondrej) ``` ### Operating System Ubuntu 22.04.5 LTS

« previous php.bugs (#253098) next »