DEV Community

Discussion on: Interview questions. Are they wrong?

Collapse
 
stefandrl profile image
Stefan Drl • Edited

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

$= a?
No syntax error? :)

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

Collapse
 
stefandrl profile image
Stefan Drl

Sorry, my bad :) $b = $a