ClassWithIntegerAttributeName.php 454 B

1234567891011121314151617181920212223
  1. <?php
  2. /*
  3. * This file is part of object-reflector.
  4. *
  5. * (c) Sebastian Bergmann <sebastian@phpunit.de>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. declare(strict_types=1);
  11. namespace SebastianBergmann\ObjectReflector\TestFixture;
  12. class ClassWithIntegerAttributeName
  13. {
  14. public function __construct()
  15. {
  16. $i = 1;
  17. $this->$i = 2;
  18. }
  19. }