Get List of All Environment Variables using PHP

getenv function

<?php

$envVars = getenv();

print_r($envVars);

Leave a Comment

Cancel reply

Your email address will not be published.