Skip to content

Instantly share code, notes, and snippets.

@ReactiveRaven
Last active December 28, 2015 23:49
Show Gist options
  • Save ReactiveRaven/7581801 to your computer and use it in GitHub Desktop.
Save ReactiveRaven/7581801 to your computer and use it in GitHub Desktop.
Questions

PHP

null == 0;
0 == "0x0";
null != "0x0";

Why?

JS

[,,,].join() === ',,'

Why?

x = 1;
if (false)
    x = 3;
    x = 4;

x === 4;

Why?

Git

git bisect

Explain.

git push
git reset --hard DEADBEEF
git push --force

Why not?

git commit -m"changes"
git pull

Why not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment