[wp-trac] [WordPress Trac] #48116: Proposal: Tracking PHP Extension Usage
WordPress Trac
noreply at wordpress.org
Tue Sep 24 03:21:31 UTC 2019
#48116: Proposal: Tracking PHP Extension Usage
--------------------------------------+------------------------------
Reporter: dd32 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion dev-feedback | Focuses:
--------------------------------------+------------------------------
Comment (by dd32):
There's also the potential that maybe we'd want to record the versions of
the extensions loaded, ie:
{{{
$extensions = array_combine( get_loaded_extensions(), array_map(
'phpversion', get_loaded_extensions() ) );
}}}
results in something like this on PHP 7.3.3:
{{{
...
'xmlreader' => string '7.3.3' (length=5)
'xmlwriter' => string '7.3.3' (length=5)
'mysqlnd' => string 'mysqlnd 5.0.12-dev - 20150407 - $Id:
7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $' (length=79)
'cgi-fcgi' => boolean false
'gd' => string '7.3.3' (length=5)
'mysqli' => string '7.3.3' (length=5)
'xdebug' => string '2.7.0' (length=5)
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48116#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list