1

Consider the following method signature:

public function foo(bool $flag = null);

Versus this signature:

public function foo(?bool $flag = null);

Does that nullable operator make any practical difference?

Johan Fredrik Varen
  • 3,796
  • 7
  • 32
  • 42

0 Answers0