News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sara Golemon's Blog:
create_function() is not your friend
May 21, 2007 @ 09:31:00

In response to this previous post from Felix Geisendorfer, Sara Golemon shares a few thoughts on why she thinks it's just the other way around - create_function is not your friend.

In the short post she lists just a few of the issues surrounding the use of the function including that it:

  • is prone to critical abuse by user-supplied code
  • skips opcode cache optimizations
  • encourages not using comments (evil)
  • 100% blind to reflection or PHPDoc style documentation generation

0 comments voice your opinion now!
createfunction eval abuse opcodecache reflection phpdoc createfunction eval abuse opcodecache reflection phpdoc


blog comments powered by Disqus

Similar Posts

Slawek Lukasiewicz's Blog: Zend Framework: Reflection

Zend Developer Zone: Security Tips #10, #11, and #12

Greg Beaver\'s Blog: phpDocumentor and PEAR - interesting crossing of paths

Netbeans Blog: Code Completion for the Kohana & Code-igniter Frameworks

PHPMaster.com: Say Hello to Boris: A Better REPL for PHP


Community Events





Don't see your event here?
Let us know!


introduction opinion bugfix update api laravel community series language deployment package install unittest zendserver release framework symfony podcast interview library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework