Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: Parser
    • Labels:
      None

      Description

      http://php.net/manual/en/migration70.new-features.php#migration70.new-features.return-type-declarations

      <?php
      function arraysSum(array ...$arrays): array
      {
          return array_map(function(array $array): int {
              return array_sum($array);
          }, $arrays);
      }
      

        Attachments

          Activity

            People

            Assignee:
            elena.vilchik Elena Vilchik
            Reporter:
            elena.vilchik Elena Vilchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: