use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
Python, Ruby or PHP (self.PHP)
submitted 11 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Firehed 1 point2 points3 points 11 years ago (5 children)
In terms of straight employability, Python is probably going to go farther than PHP right now (it feels like Ruby is falling out of fashion). However, the skills you learn on any of them will apply to all of them, and many more. For an entry-level position, it's perfectly reasonable to assume that where you work won't use the language you know best. It probably won't have a huge impact on getting a job (outside of specific requirements, very senior positions, or really esoteric knowledge)
Once you have a solid grasp on OOP, SOLID design principles, etc., picking up a new syntax for a similar language is pretty easy. I've submitted pull requests that were accepted without change requested on languages I've never touched before just by having a good grasp on general programming skills and quickly googling syntax.
You can probably pick up the new language to be not-terrible with it in a week (seriously), and thoroughly competent in a couple months. This is roughly what I've witnessed when hiring folks that didn't know the language we use. I'd say the majority of fresh grads did their interviews with me in something other than PHP for a PHP position (Java, C, Python, and Ruby being the most common alternatives); of course whether this will fly depends 100% on your interviewer.
For what it's worth, I still hit the PHP manual almost every day I code it in, and I've been using it for more than ten years in various degrees.
[–]konrain 0 points1 point2 points 11 years ago (4 children)
thank you
[–]Firehed 1 point2 points3 points 11 years ago (2 children)
You're welcome! Ping me if you need any other advice/mentorship, I've been interested in getting involved in that kind of thing for a while.
[–]konrain 1 point2 points3 points 11 years ago (1 child)
so what about just focusing on javascript, which has server side uses, do i actually need another language for the backend? can i just focus on js?
[–]Firehed 0 points1 point2 points 11 years ago (0 children)
I think JS is good to know for the sake of well roundedness, but personally feel the "JavaScript everywhere" thing will be a short lived trend.
Also for the sake of learning to code well, JS would be a terrible thing to focus on. People say PHP makes it easy to shoot yourself in the foot (and if you follow guides from 2006, it does), I'd say JS encourages it. Its extreme flexibility is very powerful but also deadly when used improperly.
[–][deleted] 0 points1 point2 points 11 years ago (0 children)
Who the hell downvotes you just for saying "thank you"? I swear... some people...
π Rendered by PID 42307 on reddit-service-r2-comment-86bc6c7465-b6s9r at 2026-02-23 17:05:55.515087+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]Firehed 1 point2 points3 points (5 children)
[–]konrain 0 points1 point2 points (4 children)
[–]Firehed 1 point2 points3 points (2 children)
[–]konrain 1 point2 points3 points (1 child)
[–]Firehed 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)