Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007

    PHP / pHtml Differences?

    Besides the file extension I was wondering if there was any real difference between the two. Such as speed, future PHP 5 support, etc...?

  2. #2
    Join Date
    Aug 2001
    Central USA
    There is no difference - PHP parses both file formats the same. It's kind of like how .php is the same as .php3 and .php4, etc.

    One interesting thing though, is that some PHP frameworks use .php files as the main core functionality, and .phtml as template files. There is no difference in parsing, but it helps keep the purposes separate.
    InvoiceMore - Online Billing & Invoicing
    phpDataMapper - Object-Oriented PHP5 Data Mapper ORM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts