There are two different ways languages accomplish this.
Smalltalk and Lisp accomplish this through odd-looking minimal syntaxes. The code may not look like anything familiar (outside of longish intention-revealing names) but there are so few syntactic rules to process that a smart person should be able to master them in a few days or weeks at most. (Despite the lack of familiar operator precedence for arithmetic operations.)
Python and Ruby accomplish this by having moderate amounts of syntax. (Ruby has about 3X more syntax than Python, but you can ignore much of Ruby syntax for general purpose programming and leave it in the "sysadmin toolshed.") However, the moderate amounts of syntax are designed to closely resemble pseudocode your professor used to scrawl on the chalkboard. Hence, the language can stay out of the way while you focus on the problem domain.
On the other end of the spectrum are languages that expose everything. C, C++, and Assembly are like this. Everything is available in raw form or as powerful and arcane tools. The beginner might be a little lost, but the rewards to the virtuoso are tremendous.
This is an oversimplification, of course. Python and Ruby also give the power-programmer access to powerful, arcane, and easily-abused tools. It's also quite possible to write very clean pseudocode-resembling code in C or C++. (See the Taligent coding standards.) The difference is really only in design-focus of the languages. (Smalltalk as another example. Smalltalk was designed to be simple to the complete novice -- as in a grade school aged kid. This is why it's minimalist, yet manages to look odd to the hard-core Unix geek.)
Yes, I know I can make my code look cleaner in Ruby, but I'm lazy. Call me shallow, but sometimes not having to type in blocks and "end" is kind of nice because of the inherent indentation constraint. And that indentation makes it easier to find lexical scope hierarchy easily too (at least for me). YMMV :-)
I'm not saying this is bad. It just is.
I mentioned some of the reasons I stuck with Python here: http://news.ycombinator.com/item?id=1941594
Where _language_ is concerned, I think Ruby is every bit as nice as Python if not nicer.
To folk claiming PHP is to programming what white bread is to a healthy colon, I say that you are the inferior programmer for not being able to love it.
My claim is this: PHP (and most certainly Perl) are to web application development what paint is to painting.
Web application frameworks written in Ruby and Python are to web programming what paint by numbers is to painting.
I never mentioned any context of web in my statement. Au contraire, python's greatest strength is in its vast number of libraries for non-web stuff as well (though it can handle a lot of web stuff very easily). I find python's vast science and math packages to be very handy.
PHP, or Python, or Perl, as a language are to web applications what paint is to painting. CakePHP, or Symfony, or Rails, or Django is to web applications what paint + scaffolding + tarpaulins + masking tape + ladders is to painting.
Yes, you can build a ladder in the programming language you like, or you can just import one (or, in many cases, not have to) with a framework. They both still use paint, and I completely disagree with the assertion that a framework tells you where or what kind of paint to put -- it just puts you closer to the walls, and makes the application of said paint a little easier.
For the record, I personally consider an application framework more like a Wagner spray painter, or something more like that, but I think that's more dependent on the framework itself. Yes, there are constraints with frameworks, but there are significant advantages to speed of development.
As for the whole PHP vs Python, I'm completely ignoring, since you seem to be conflating PHP vs 'application frameworks in other languages' instead of PHP vs 'another language', which is unfair at best, and ill-informed at worst. For what it's worth, I'd put either Ruby or Python up as a general purpose language above PHP any day of the week, and PHP is the language I learned to program on (and still like, despite its unpopularity.)