some tools to help to be php 5 complient