Have a look in the sourcecode of the php info. The phpinfo is delivered by php in form of html-tables.
There are several tables with headers in-between.
The php info tables are not accessible, no caption, no scope.
Maybe we could expand the regexes a little bit, such avoiding empty title headers and adding the scope?
Personally, I would not suggest manipulating the output of phpinfo()
beyond "simple" changes that can be easily applied. Trying to change specific nodes is asking for trouble.
Your best bet is to see if PHP itself will make adjustments to the generated markup. Anything else is high risk and prone to breaking.
As Michael says this can't be fixed and we should not attempt to manipulate external code. All you can do is to raise a bug with php
Should be closed as cant fix
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-02-21 22:35:14 |
Closed_By | ⇒ | joomla-cms-bot |
Closed_By | joomla-cms-bot | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/23154
This is a can't fix. The PHP info tab is the result of the core
phpinfo()
function with some regexes to make the tables use the template's styling. Changing the markup means creating our own function and trying to extract all the information that is given in other ways, or someone writing a patch for core PHP changing the returned markup structure.