getting variable from another php-file from line
Hello Is it possible to get a value from another PHP file Reading variable from specific line Example
file1.php
<?php
echo 'my variable is';
//reading the variable from line 3
?>
file2.php
<?php
/*this is line 1*/
/*this is line 2*/
$var = 'hello world'; /*this is line 3*/
?>