The comparison between PHP and frameworks isn't valid. Writing PHP on a framework probably abstracts away SQL too, just like writing CGI in Python gives you lower-level control.
Are we also not allowed to talk about RoR when it comes to a discussion about PHP alternatives?
I guess it is true if you really stretch your imagination, but does it mean anything?
I suppose it's fine when many of then newer programmers don't even know or understand what's going on underneath anyway...