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.
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.
[...] This post was mentioned on Twitter by Gary Teh. Gary Teh said: Long Tail post: Technical paper 2 : creating a class dynamically (http://cli.gs/h17BB) [...]