DEV Community

loading...

Discussion on: Interview questions. Are they wrong?

Collapse
stefandurlesteanu profile image
Stefan Durlesteanu

Hi!
I've recently had an interview and can confirm all you've written.
I had this one (in php): $a = 5; $b= $a; $a++; is $a === $b? :)

Collapse
vponamariov profile image
Victor Author

$= a?
No syntax error? :)

Anyway, I won't work in a company which writes such code 😡

Collapse
stefandurlesteanu profile image
Stefan Durlesteanu

Sorry, my bad :) $b = $a