Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#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