(PHP 5 >= 5.1.3, PHP 7, PHP 8)
ReflectionExtension::getDependencies — Gets dependencies
Gets dependencies, by listing both required and conflicting dependencies.
This function has no parameters.
An associative array with dependencies as keys and
either Required
, Optional
or Conflicts
as the values.
Example #1 ReflectionExtension::getDependencies() example
<?php
$dom = new ReflectionExtension('dom');
print_r($dom->getDependencies());
?>
The above example will output something similar to:
Array ( [libxml] => Required [domxml] => Conflicts )
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant