Things like Repls often turned me off if they left me feeling like the things I was running in them were contrived and ephemeral.
Even if I was producing some cool graphic or something, there was always this nagging feeling that I wasn’t making something “real” that could be saved off and shared. Almost like the difference between messing around with a dry erase board vs learning how to draw with a pencil and a sketch pad.
But at the same time, PHP was instrumental to my learning how the web worked, in part because of how easy it was to find shared hosting that easily mapped PHP files to web routes 1:1. I can’t imagine I would have learned much if my first step was installing Apache, then mod PHP, then mod rewrite, then setting up htaccess files and directory permissions and then realizing that I didn’t get the PHP with GD graphics installed.
Maybe this is an “everyone learns differently” thing, or maybe this is a “the right answer is somewhere in the middle” thing.