I have a text file with the following data
//info.txt
$ip = "192.168.12.201"
$sno = "some text"
$mac = "some text"
I want to be able to convert these variables from the text file into PHP variables to be checked with presaved data. I'm able to do this in python but it causes and extra redundant step. Could what I'm trying to achieve be done in PHP?