Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

More than you'd think. I did some analysis (in 2008 mind you, long time ago, PHP4/PHP5). I think I found that half the packages on sourceforge (sourceforge!) had a use of a dynamic construct.

When I looked into it, it wasn't so much eval as dynamic includes, often used for localization:

    $lang = "en";
    include("l18n/$lang.php");


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: