@PHP74Migration.test-in.php 360 B

12345678910
  1. <?php
  2. declare(strict_types=1);
  3. // https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.array-string-access-curly-brace
  4. // 'normalize_index_brace'
  5. $y = $f{1};
  6. // https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.real
  7. // $a = (real) $a; fails on PHP7.4 tokenizing deprecation error triggered