original_string: public static function prepend($array, $value, $key = null)
      {
          if (is_null($key)) {
              array_unshift($array, $value);
          } else {
              $array = [$key => $value] + $array;
          }
  
          return $array;
      }
code: public static function prepend($array, $value, $key = null)
      {
          if (is_null($key)) {
              array_unshift($array, $value);
          } else {
              $array = [$key => $value] + $array;
          }
  
          return $array;
      }
code_tokens: public static function prepend ( $ array , $ value , $ key = null ) { if ( is_null ( $ key ) ) { array_unshift ( $ array , $ value ) ; } else { $ array = [ $ key => $ value ] + $ array ; } return $ array ; }
docstring: Push an item onto the beginning of an array.
  
  @param  array  $array
  @param  mixed  $value
  @param  mixed  $key
  @return array
docstring_tokens: Push an item onto the beginning of an array .