I dunno, PHP is pretty damn useful for loads of things, especially for dynamic websites that want to load resources or tables from somewhere else without relying on AJAX, or don't want the end user to actually see your script's source or configuration (unlike HTML/CSS/JS, PHP is server-side, so the end user will only ever see it's output, not source).
OP said they wanted to learn, so I don't see why they wouldn't prepare themselves a sandbox to play and learn in that's pretty close to what they'd get with a remote server.
OP said they wanted to learn, so I don't see why they wouldn't prepare themselves a sandbox to play and learn in that's pretty close to what they'd get with a remote server.
[/spoiler]