Req #80188 [NEW]: stub.php files in php-src do not contain class constants and properties
From: ondrej at mirtes dot cz
Operating system: *
PHP version: 8.0.0rc1
Package: Reflection related
Bug Type: Feature/Change Request
Bug description:stub.php files in php-src do not contain class constants and properties
Description:
------------
Hello!
I'd like to take advantage of the internal PHP stubs that are in php-src
for PHPStan Static Analysis Tool. I've set up a repository that
automatically extracts them and offers them as a Composer package:
https://github.com/phpstan/php-8-stubs
But I found out that the classes are missing class constants and
properties, which would be very useful for me.
Thank you.
Test script:
---------------
N/A
Expected result:
----------------
N/A
Actual result:
--------------
N/A
--
Edit bug report at https://bugs.php.net/bug.php?id=80188&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80188&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80188&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80188&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80188&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80188&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80188&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80188&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80188&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80188&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80188&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80188&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80188&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80188&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80188&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80188&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80188&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80188&r=mysqlcfg
Thread (5 messages)
- ondrej at mirtes dot cz