I have a php file which contains just some variables and their values something like this:
<?php
$first = "value1";
$second = 'value2';
$third = 'value3';
$fourh = 'value4';
?>
How could I read this file dynamically and save it in an array?
I could do this by parsing the file but is there a php function which does that?
What would be the best way to do this?