I came across this method called eval() that allows the processing of a string value as a chunk off PHP code. This method might perhaps be useful for the dynamic declaration of a class that I could later instantiate or cast generic objects as.
notes, learnings and reflections for future self reference
I came across this method called eval() that allows the processing of a string value as a chunk off PHP code. This method might perhaps be useful for the dynamic declaration of a class that I could later instantiate or cast generic objects as.
One Reply to “Technical paper 2 : creating a class dynamically”