We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1226742 commit ace1722Copy full SHA for ace1722
DataCollector/ConfigDataCollector.php
@@ -195,13 +195,21 @@ public function isDebug(): bool|string
195
}
196
197
/**
198
- * Returns true if the XDebug is enabled.
+ * Returns true if the Xdebug is enabled.
199
*/
200
- public function hasXDebug(): bool
+ public function hasXdebug(): bool
201
{
202
return $this->data['xdebug_enabled'];
203
204
205
+ /**
206
+ * Returns true if the function xdebug_info is available.
207
+ */
208
+ public function hasXdebugInfo(): bool
209
+ {
210
+ return \function_exists('xdebug_info');
211
+ }
212
+
213
214
* Returns true if APCu is enabled.
215
0 commit comments