add a warning option to php
add documentation on what was changed