Output of the "Switching two variables with PHP" PHP snippet

Environment:

  • Strangebuzz Snippet VM: 6.4.9
  • PHP: 8.4

Code execution output:

string(4) "a,b:"
int(555)
int(10001)

string(19) "a,b (after switch):"
int(10001)
int(555)