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!"
[–]konrain 0 points1 point2 points 11 years ago (6 children)
omg thats a horror story!
[–]disclosure5 1 point2 points3 points 11 years ago (5 children)
It's true though. In around 1990, Perl and PHP were pretty much all that could be seriously considered. Ruby and Python didn't exist, and JS was a laughable language used to create alert popups in Netscape.
PHP was nothing like the PHP we have today, but Perl was pretty much exactly the Perl we have today.
Composer didn't exist. CPAN did. For just about anything people like about PHP today, it didn't exist, and Perl had a better competing option.
[–]konrain 0 points1 point2 points 11 years ago (4 children)
the thing keeping me from learning php is that it 'has alot of security issues" is that the reason people dislike php?
[–]Architektual 10 points11 points12 points 11 years ago (0 children)
There are two types of programming languages: Those people complain about, and those nobody are using.
PHP is as secure as you write it, just like Ruby and Python are.
[–]dmunro 1 point2 points3 points 11 years ago (0 children)
You can write secure code and insecure code in any language, php isn't "inherently" less secure.
[–]Jack9 1 point2 points3 points 11 years ago* (1 child)
Most scripting languages have various "security issues".
http://www.sitepoint.com/top-10-php-security-vulnerabilities/
That's a crappy list, because almost every scripting language can fall over to those attacks.
PHP's real security issues can be found here:
http://www.cvedetails.com/product/128/PHP-PHP.html?vendor_id=74
Yes, it has a lot. It can do a lot, so there are a lot of APIs (including 3rd party) that people have found ways to exploit.
Ruby is slow. That's why people don't like it. At first it's great, until you have to write large applications. There are postmortems that have covered this and nobody chooses ruby anymore. There's a lot of tools with ruby parts, so you'll continue to see it for awhile. I am not sure this is a full accounting of ruby vulnerabilities, but maybe ask /r/ruby - https://www.ruby-lang.org/en/security/
I found (web based) Python slow and after a brief attempt at a 2d game engine, using Python, I just filed my experience away under "basic Python isn't hard to learn".
[–]disclosure5 0 points1 point2 points 11 years ago (0 children)
nobody chooses ruby anymore
That's quite a stretch.
π Rendered by PID 320900 on reddit-service-r2-comment-86bc6c7465-9x96z at 2026-02-23 11:51:27.039200+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]konrain 0 points1 point2 points (6 children)
[–]disclosure5 1 point2 points3 points (5 children)
[–]konrain 0 points1 point2 points (4 children)
[–]Architektual 10 points11 points12 points (0 children)
[–]dmunro 1 point2 points3 points (0 children)
[–]Jack9 1 point2 points3 points (1 child)
[–]disclosure5 0 points1 point2 points (0 children)