Menu

#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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.