Bug #79350 [NEW]: 8.0-dev: Uncaught Error: Class 'PelEntry' not found

From: Date: Sat, 07 Mar 2020 04:12:11 +0000
Subject: Bug #79350 [NEW]: 8.0-dev: Uncaught Error: Class 'PelEntry' not found
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225929@lists.php.net to get a copy of this message
From: bugreports at gmail dot com Operating system: Linux PHP version: master-Git-2020-03-07 (Git) Package: Scripting Engine problem Bug Type: Bug Bug description:8.0-dev: Uncaught Error: Class 'PelEntry' not found Description: ------------ this is only broken with PHP 8.0-dev for some time now and it's technically not possible that a class defined in the include above the extending definition is not found require_once __DIR__ . '/PelEntry.php'; class PelEntryUndefined extends PelEntry { } [builduser@testserver:/rpmbuild/SPECS]$ /home/builduser/rpmbuild/BUILD/php-8.0.0/sapi/cli/php -n /www/php-bug/test.php Fatal error: Uncaught Error: Class 'PelEntry' not found in /Volumes/dune/www-servers/php-bug/pel/PelEntryUndefined.php:59 Stack trace: #0 /Volumes/dune/www-servers/php-bug/pel/PelIfd.php(44): require_once() #1 /Volumes/dune/www-servers/php-bug/pel/PelTag.php(45): require_once('/Volumes/dune/w...') #2 /Volumes/dune/www-servers/php-bug/pel/PelEntry.php(52): require_once('/Volumes/dune/w...') #3 /Volumes/dune/www-servers/php-bug/pel/PelExif.php(47): require_once('/Volumes/dune/w...') #4 /Volumes/dune/www-servers/php-bug/pel/PelJpeg.php(49): require_once('/Volumes/dune/w...') #5 /Volumes/dune/www-servers/php-bug/test.php(2): include_once('/Volumes/dune/w...') #6 {main} thrown in /Volumes/dune/www-servers/php-bug/pel/PelEntryUndefined.php on line 59 Test script: --------------- tarball with the (i know outdated) pel-library and the simplest reproducer which works in 7.0-7.4 but no longer with HEAD https://drive.google.com/file/d/1stClmJ92hp1ZbDNbRYOGyu3FXn0ktRbI/view?usp=sharing -- Edit bug report at https://bugs.php.net/bug.php?id=79350&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79350&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79350&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79350&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79350&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79350&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79350&r=support Expected behavior: https://bugs.php.net/fix.php?id=79350&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79350&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79350&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79350&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79350&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79350&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79350&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79350&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79350&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79350&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79350&r=mysqlcfg

« previous php.bugs (#225929) next »