@PHP74Migration-risky.test-out.php 405 B

1234567891011121314
  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_float($v);
  9. // 'use_arrow_functions'
  10. $ids = array_map(fn ($item) => $item->id, $items);