Silent Optimisation Of Variables

../_images/silent_optimisation.png

See PHP optimisation in action: undefined variables are only reported when they are used (sic).

The first one is omitted : there are no operation with it.

The second one is skipped: no need to execute 2nd term when the first one is already true.

The third one is reporting a warning, as expected.

See Also

PHP Error Messages

PHP Features