开发者

PHP Changelog code profiling

Does anyone know where there is a nice place to view the changelog for PHP? Functions specifically? I've been trying to read this and it's proving confusing, http://php.net/ChangeLog-5.php

I need to update one of our live servers from 516 to something newer, 开发者_开发技巧but I need to know which functions are dead, deprecated or otherwise not in use, so that I can profile the code on the box.

Any ideas please? Or is there an automated service which can parse a project's source and tell you what functions are specific to which version?


Here's the 5.1 to 5.2 migration guide. Pay special attention to the backwards incompatible changes. And here's the same guide for 5.2 to 5.3 and it's BC incompatible changes. Also, with PHP 5.3 they started deprecating stuff which can cause E_DEPRECATED warnings.

I have written a coding standard for PHP_CodeSniffer that checks for anything that throws an E_DEPRECATED on PHP 5.3. Unfortunately I cannot share it (as it was written in my Boss' time). But, it took me just 2-3 hours to write. It shouldn't take you much longer :-)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜