@PHP74Migration-risky.test-in.php 423 B

12345678910111213141516
  1. <?php
  2. declare(strict_types=1);
  3. // https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.implode-reverse-parameters
  4. // 'implode_call'
  5. $x = implode($foo, '');
  6. // https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.real
  7. // 'no_alias_functions'
  8. $z2 = is_real($v);
  9. // 'use_arrow_functions'
  10. $ids = array_map(function ($item) {
  11. return $item->id;
  12. }, $items);