[php-src] Issue #9900: add flag-constants to stub files

From: Date: Mon, 07 Nov 2022 14:07:10 +0000
Subject: [php-src] Issue #9900: add flag-constants to stub files
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242761@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9900 Author: staabm ### Description to support static analysis tools, it would be really helpful to have flag-constants like JSON_FORCE_OBJECT and their value-types declared within stub files. this types are very valuable to e.g. phpstan and could be picked up and be used while analyzing source code see e.g. https://www.php.net/manual/en/function.json-encode.php for more examples

« previous php.bugs (#242761) next »