Bug #78925 [NEW]: Can't preload class ... with unresolved initializer for property ...

From: Date: Sat, 07 Dec 2019 22:18:16 +0000
Subject: Bug #78925 [NEW]: Can't preload class ... with unresolved initializer for property ...
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224121@lists.php.net to get a copy of this message
From: nexor1984 at gmail dot com Operating system: Linux PHP version: 7.4.0 Package: opcache Bug Type: Bug Bug description:Can't preload class ... with unresolved initializer for property ... Description: ------------ Trying to preload a file like: <?php define('PEAR_ERROR_RETURN', 1); class PEAR_Error { var $mode = PEAR_ERROR_RETURN; } gives an error: PHP Warning: Can't preload class PEAR_Error with unresolved initializer for property $mode in /var/www/html/phptest/lib/pear/PEAR.php on line 5 -- Edit bug report at https://bugs.php.net/bug.php?id=78925&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78925&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78925&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78925&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78925&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78925&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78925&r=support Expected behavior: https://bugs.php.net/fix.php?id=78925&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78925&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78925&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78925&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78925&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78925&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78925&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78925&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78925&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78925&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78925&r=mysqlcfg

« previous php.bugs (#224121) next »