“The Land Where PHP Uses eval()” is an interesting post powered by the study of 2,000 Open Source PHP projects. It details a number of scenarios where developers have used the eval() function and suggests the better ways for most of these. Despite of how dangerous and inefficient the eval() is in PHP, there are still good reasons to use it in some cases. Read the full post to see which are those.