13
nitnip
2y

If you're a php dev don't make the same mistake I did. There's one question you must ask at every interview.

"Which PHP version does your company uses for its projects?"

If you don't ask that you'll end up in PHP5 hell with me.

Comments
  • 3
    There's a *lot* of legacy PHP stuff out there, so it's very easy to get stung by this unless you ask specifically. Also beware of people still using modern versions of PHP as though it was still 5.
  • 0
    @AlmondSauce That's a bit less likely to happen since everyone uses a framework nowadays and php frameworks tend to really enforce their styles. (Fuck you cakephp, I'm not using array() instead of [] )
  • 2
    @nitnip you wish everyone used a framework. There are tons of systems out there where the php version has been updated, yes, but for most parts the codebase isn’t.

    I have to constantly remind some devs during code reviews that ”we’re not using php5 anymore…there are better ways to do things”
  • 2
    php --version
    5.4.16

    I'll just causally walk away now.

    Also, a lot of legacy systems don't run frameworks... and are custom from the ground up... it's not always a bad thing, but there's projects out there that holy fuck balls should never have been launched.
  • 0
    Who use that now days :(
  • 0
    at least you get paid more, right ? right !?

    jokes aside, play some 90s music to match your code.

    happy coding
  • 0
    @danielstaleiny There's nothing happy about having to do a reactive (state-managing) front-end using JQuery with CakePHP2 on the back end.

    This dumpheap of a framework randomly returns 302 redirects to 'auth' to all fetch requests.
  • 0
    also, if interviewing for a php position, i'll give you advice on the best answer to "how well do you know php?" question.

    "it is my opinion that the better you know php, the more you hate it.
    and i hate php very, VERY much."

    works every time.
  • 1
    @Midnight-shcode wrong answer, I think. As someone who knows PHP like the back of my hand, I wouldn’t hire anyone who produced such an answer
  • 1
    @100110111
    recommending it as the best answer was a joke, but the fact that i actually use it is true, as well as the fact that all three times it resulted in a chuckle and being hired.

    which is also kind of a joke, when you think about it, but of a different type.
Add Comment