Type Juggler · Level 1 of 7

Juggle or refuse

The same two values, compared with == and then with ===.

<?php$a = 1;$b = "1";echo 'loose: ' . var_export($a == $b, true) . PHP_EOL;echo 'strict: ' . var_export($a === $b, true) . PHP_EOL;

1. Predict the output

Tap the lines in the order you think they print.

  1. 1…
  2. 2…