create an interface to edit PHP variables
i use PHP variables in one of my projects and i have a file named variables.php which stores all the variables value.

    <?php
    $txt="Hello World!";
    $x=16;
    ?>

I want to create an interface to edit that file's variables instead of directly editing it in a text editor
By interface, i mean simple text and logical fields....a form. I searched for it but i have no clue from where to start
Can someone give me a clue of what i should be doing to create the mentioned thing.

*note: i don't want to use a database*
create an interface to edit PHP variables
===

i use PHP variables in one of my projects and i have a file named variables.php which stores all the variables value.

    <?php
    $txt="Hello World!";
    $x=16;
    ?>

I want to create an interface to edit that file's variables instead of directly editing it in a text editor
By interface, i mean simple text and logical fields....a form. I searched for it but i have no clue from where to start
Can someone give me a clue of what i should be doing to create the mentioned thing.

*note: i don't want to use a database*