note 103785 added to function.eval

From: Date: Tue, 03 May 2011 19:06:49 +0000
Subject: note 103785 added to function.eval
Groups: php.notes 
Request: Send a blank email to php-notes+get-179383@lists.php.net to get a copy of this message
Be careful when running performance tests comparing eval to other alternatives. alexis at amigo dot com (from below) has a faulty test due to the fact that he is calling the *include* function inside his loop. The test results are therefore not based on eval vs inline code, but rather the speed at which the server can include a file. A more accurate test would be to use file_get_contents and then use eval on that result, or to just scrap the test entirely and try to use eval sparingly. ---- Server IP: 69.147.83.197 Probable Submitter: 68.71.76.242 ---- Manual Page -- http://www.php.net/manual/en/function.eval.php Edit -- https://master.php.net/note/edit/103785 Del: integrated -- https://master.php.net/note/delete/103785/integrated Del: useless -- https://master.php.net/note/delete/103785/useless Del: bad code -- https://master.php.net/note/delete/103785/bad+code Del: spam -- https://master.php.net/note/delete/103785/spam Del: non-english -- https://master.php.net/note/delete/103785/non-english Del: in docs -- https://master.php.net/note/delete/103785/in+docs Del: other reasons-- https://master.php.net/note/delete/103785 Reject -- https://master.php.net/note/reject/103785 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179383) next »