Usage of eval()

From: Date: Mon, 15 Aug 2005 19:33:24 +0000
Subject: Usage of eval()
Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-2873@lists.php.net to get a copy of this message
Hi all! After having XML_RPC finally freed from evil eval() I tried searching the CVS for calls to it. The results of my grep can be found here: http://www.schlitt.info/misc/eval_usage.txt There are many cases we can actually leave unconsidered (like DB_DataObjects, since I completly trust in Alan, and HTML_Progress2, since this is JavaScript coder where eval() is used. Would be nice if all of you can pick a package and examine the lines spit out by grep to look if one can replace evil eval() with something else. (Don't get me wrong, there are indeed places where eval() maybe secure, but actually it can cause more harm than any other function and should be replaced wherever possible). Thanks for your help! Cheers! Toby -- Tobias Schlitt - Zend Certified Engineer GPG Key: 0xA6529579 a passion for php http://www.schlitt.info Like to say "thank you"? - http://pear.php.net/wishlist.php/toby

« previous php.pear.qa (#2873) next »