---
id: 48
title: PHP4, PHP5, ASP.Net Comparison
date: 2004-08-03T21:31:15+00:00
author: hky
layout: post
guid: http://lostfocus.org/blog/?p=48
permalink: /php4-php5-aspnet-comparison/
dsq_thread_id:
  - 1355775374
tags:
  - Lab
---
<table BORDER="0" ALIGN="CENTER" bgcolor="#cccccc" cellpadding="3" cellspacing="1">
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      &nbsp;
    </td>
    
    <td>
      <strong>PHP 4 </strong>
    </td>
    
    <td>
      <strong>PHP 5 </strong>
    </td>
    
    <td>
      <strong>ASP.NET</strong>
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Software price </strong>
    </td>
    
    <td>
      free
    </td>
    
    <td>
      free
    </td>
    
    <td>
      free
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Platform price</strong>
    </td>
    
    <td>
      free
    </td>
    
    <td>
      free
    </td>
    
    <td>
      $$
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Speed</strong>
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      weak
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Efficiency</strong>
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      weak
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Security</strong>
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      strong
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Platform </strong>
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      weak (IIS only)
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Platform </strong>
    </td>
    
    <td>
      any
    </td>
    
    <td>
      any
    </td>
    
    <td>
      win32 (IIS only)
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Source available </strong>
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      no
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>Exceptions</strong>
    </td>
    
    <td>
      no
    </td>
    
    <td>
      yes
    </td>
    
    <td>
      yes
    </td>
  </tr>
  
  <tr VALIGN="TOP" bgcolor="White">
    <td>
      <strong>OOP </strong>
    </td>
    
    <td>
      weak
    </td>
    
    <td>
      strong
    </td>
    
    <td>
      strong
    </td>
  </tr>
</table>



reference :
  
http://otn.oracle.com/pub/articles/hull_asp.html