Django has a shell that automatically loads all model objects. If you've got a decent shared-nothing architecture and point your config to the live DB (bad idea, but for the sake of argument...) that's effectively a REPL for the webserver.
For that matter, you can get the same effect with the MySQL prompt and a shared-nothing PHP architecture.
For that matter, you can get the same effect with the MySQL prompt and a shared-nothing PHP architecture.