gh8461-003.inc 222 B

12345678910111213141516171819
  1. <?php
  2. $x = 0;
  3. class UniqueList
  4. {
  5. public const A = 1;
  6. public const B = 1;
  7. private $foo;
  8. public function __construct($b)
  9. {
  10. global $x;
  11. $x++;
  12. $this->foo = self::A + $b;
  13. }
  14. }