Arduino Interrupt pins problem

ebarash:
well it is recommended to use variables as volatile inside interrupts. but It doesn't influence on your result generally.
I tried all of them and got same results.

the problem is, the result from pin2 and pin 3 are not same with same conditions!

try INPUT_PULLUP in pinMode

CHANGE over FALLING in attachInterrupt()