title: What are the architectural limitations of PHP?
body: <p>I was reading the article <a href="http://www.codinghorror.com/blog/2008/05/php-sucks-but-it-doesnt-matter.html">"PHP Sucks, But It Doesn't Matter"</a> by Jeff Atwood.</p>
  
  <p>In the comments he writes:</p>
  
  <blockquote>
    <p>That said, I absolutely think it's important for PHP devs to be aware of the architectural limitations of PHP, and understand the alternatives.</p>
  </blockquote>
  
  <p>What are those limitations and how do they compare with other scripting / weakly typed languages?</p>
  
  <p>Also, what are the alternatives in those conditions where limitations need to be avoided?</p>