#14 typos & standards

open
nobody
None
5
2009-03-19
2009-03-19
Erel Segal
No

a. It is considered more standard to start a PHP file with "<?php" rather than just "<?". There are some installations that recognize only the former.

b. In html2text.inc, there should be a default definition "var $iInText = false;" (line 32).

c. In html2text.inc, there should be a closing "?>" at end of file.

d. In htmlparser.inc, at the end, there is a redundant "php".

All these typos caused the example to break on my system.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks