dope2008

第 1539 位会员
注册于 2015-05-13 00:44:20
活跃于 2017-10-23 17:40:40


专栏文章
没有任何数据~~
最近话题
最新评论
  • 信息被删除或无权限查看
  • [已找到][广佛][5k+][15day] 佛山单个项目急求开发伙伴 at 2017-08-15 21:20:27

    钱少了

  • 一个数组怎么样做到平均分布 at 2017-07-25 15:44:49

    @Openset 不懂,你有没有详细的?

  • 一个数组怎么样做到平均分布 at 2017-07-25 15:14:47

    @Openset 比如A有5个,,,B有3个.....C有2个
    正确来说,,,ABACABACBA
    如果按权重 ABCABCABAA

  • 一个数组怎么样做到平均分布 at 2017-07-25 14:57:46

    @Openset 2121有32个,但是你查一下,有很多中间是一样的

  • 一个数组怎么样做到平均分布 at 2017-07-25 14:57:07
    //原数据
    array:192 [▼
      0 => 2538
      1 => 2538
      2 => 2538
      3 => 2538
      4 => 2538
      5 => 2538
      6 => 2538
      7 => 2538
      8 => 2538
      9 => 2538
      10 => 2538
      11 => 2538
      12 => 2465
      13 => 2465
      14 => 2465
      15 => 2465
      16 => 2465
      17 => 2465
      18 => 2465
      19 => 2465
      20 => 2465
      21 => 2465
      22 => 2465
      23 => 2465
      24 => 2465
      25 => 2465
      26 => 2465
      27 => 2465
      28 => 2465
      29 => 2465
      30 => 2465
      31 => 2465
      32 => 2465
      33 => 2465
      34 => 2465
      35 => 2465
      36 => 5794
      37 => 5794
      38 => 5794
      39 => 5794
      40 => 5794
      41 => 5794
      42 => 5794
      43 => 5794
      44 => 5794
      45 => 5794
      46 => 5794
      47 => 5794
      48 => 5801
      49 => 5801
      50 => 5801
      51 => 5801
      52 => 5801
      53 => 5801
      54 => 5801
      55 => 5801
      56 => 5801
      57 => 5801
      58 => 5801
      59 => 5801
      60 => 2121
      61 => 5814
      62 => 2121
      63 => 5814
      64 => 5814
      65 => 2121
      66 => 2121
      67 => 5814
      68 => 5814
      69 => 5814
      70 => 2121
      71 => 2121
      72 => 2121
      73 => 5814
      74 => 5814
      75 => 5814
      76 => 2121
      77 => 2121
      78 => 2121
      79 => 5814
      80 => 2121
      81 => 2121
      82 => 2121
      83 => 5814
      84 => 5814
      85 => 2121
      86 => 2121
      87 => 2121
      88 => 2121
      89 => 5814
      90 => 5814
      91 => 2121
      92 => 5814
      93 => 5814
      94 => 2121
      95 => 2121
      96 => 2121
      97 => 2121
      98 => 2121
      99 => 2121
      100 => 5814
      101 => 5814
      102 => 5814
      103 => 5814
      104 => 5814
      105 => 5814
      106 => 5814
      107 => 2121
      108 => 5814
      109 => 5814
      110 => 2121
      111 => 2121
      112 => 5814
      113 => 2121
      114 => 2121
      115 => 2121
      116 => 5814
      117 => 2121
      118 => 5814
      119 => 2121
      120 => 2107
      121 => 2107
      122 => 2107
      123 => 2107
      124 => 2107
      125 => 2107
      126 => 2107
      127 => 2107
      128 => 2107
      129 => 2107
      130 => 1857
      131 => 1857
      132 => 1857
      133 => 1857
      134 => 1857
      135 => 1857
      136 => 1857
      137 => 1857
      138 => 1857
      139 => 1857
      140 => 1857
      141 => 1857
      142 => 1857
      143 => 2140
      144 => 2140
      145 => 2140
      146 => 2140
      147 => 2140
      148 => 2140
      149 => 2140
      150 => 2140
      151 => 2092
      152 => 2092
      153 => 2092
      154 => 2092
      155 => 2092
      156 => 2092
      157 => 2092
      158 => 5813
      159 => 5813
      160 => 5813
      161 => 5813
      162 => 5813
      163 => 5813
      164 => 5813
      165 => 2177
      166 => 2004
      167 => 2177
      168 => 2004
      169 => 2177
      170 => 2177
      171 => 2177
      172 => 2004
      173 => 2004
      174 => 2214
      175 => 2214
      176 => 2214
      177 => 2214
      178 => 2214
      179 => 2214
      180 => 2214
      181 => 2214
      182 => 2214
      183 => 1990
      184 => 1990
      185 => 1990
      186 => 1990
      187 => 1990
      188 => 1990
      189 => 1990
      190 => 1990
      191 => 1990
    ]
    
    //组装后的数据
    array:192 [▼
      0 => 2121
      1 => 5814
      2 => 2465
      3 => 1857
      4 => 2538
      5 => 5794
      6 => 5801
      7 => 2107
      8 => 1990
      9 => 2214
      10 => 2140
      11 => 2092
      12 => 5813
      13 => 2177
      14 => 2004
      15 => 2121
      16 => 5814
      17 => 2465
      18 => 1857
      19 => 2538
      20 => 5794
      21 => 5801
      22 => 2107
      23 => 1990
      24 => 2214
      25 => 2140
      26 => 2092
      27 => 5813
      28 => 2177
      29 => 2004
      30 => 2121
      31 => 5814
      32 => 2465
      33 => 1857
      34 => 2538
      35 => 5794
      36 => 5801
      37 => 2107
      38 => 1990
      39 => 2214
      40 => 2140
      41 => 2092
      42 => 5813
      43 => 2177
      44 => 2121
      45 => 5814
      46 => 2465
      47 => 1857
      48 => 2538
      49 => 5794
      50 => 5801
      51 => 2107
      52 => 1990
      53 => 2214
      54 => 2140
      55 => 5813
      56 => 2121
      57 => 5814
      58 => 2465
      59 => 1857
      60 => 2538
      61 => 5794
      62 => 5801
      63 => 2107
      64 => 2214
      65 => 2121
      66 => 5814
      67 => 2465
      68 => 1857
      69 => 2538
      70 => 5794
      71 => 5801
      72 => 2121
      73 => 5814
      74 => 2465
      75 => 2121
      76 => 5814
      77 => 2465
      78 => 2121
      79 => 5814
      80 => 2465
      81 => 2121
      82 => 5814
      83 => 2465
      84 => 2121
      85 => 5814
      86 => 2465
      87 => 2121
      88 => 5814
      89 => 2465
      90 => 2121
      91 => 5814
      92 => 2121
      93 => 5814
      94 => 2121
      95 => 2121
      96 => 2121
      97 => 2121
      98 => 5814
      99 => 2121
      100 => 5814
      101 => 2121
      102 => 2465
      103 => 5814
      104 => 2121
      105 => 2465
      106 => 5814
      107 => 2121
      108 => 2465
      109 => 5814
      110 => 2121
      111 => 2465
      112 => 5814
      113 => 2121
      114 => 2465
      115 => 5814
      116 => 2121
      117 => 1857
      118 => 2465
      119 => 5814
      120 => 2121
      121 => 2538
      122 => 1857
      123 => 2465
      124 => 5814
      125 => 2121
      126 => 1990
      127 => 2107
      128 => 2538
      129 => 1857
      130 => 2465
      131 => 5814
      132 => 2121
      133 => 2092
      134 => 2140
      135 => 1990
      136 => 2107
      137 => 2538
      138 => 1857
      139 => 2465
      140 => 5814
      141 => 2121
      142 => 2092
      143 => 2140
      144 => 1990
      145 => 2107
      146 => 2538
      147 => 1857
      148 => 2465
      149 => 5814
      150 => 2121
      151 => 2004
      152 => 2177
      153 => 2092
      154 => 2140
      155 => 1990
      156 => 2107
      157 => 2538
      158 => 1857
      159 => 2465
      160 => 5814
      161 => 2121
      162 => 2004
      163 => 2177
      164 => 2092
      165 => 2140
      166 => 1990
      167 => 2107
      168 => 2538
      169 => 1857
      170 => 2465
      171 => 5814
      172 => 2121
      173 => 5794
      174 => 5801
      175 => 2214
      176 => 5813
      177 => 5794
      178 => 5801
      179 => 2214
      180 => 5813
      181 => 5794
      182 => 5801
      183 => 2214
      184 => 5813
      185 => 5794
      186 => 5801
      187 => 2214
      188 => 5794
      189 => 5801
      190 => 5794
      191 => 5801
    ]
    
    array:15 [▼
      2121 => array:32 [▶]
      5814 => array:28 [▶]
      2465 => array:24 [▶]
      1857 => array:13 [▶]
      2538 => array:12 [▶]
      5794 => array:12 [▶]
      5801 => array:12 [▶]
      2107 => array:10 [▶]
      1990 => array:9 [▶]
      2214 => array:9 [▶]
      2140 => array:8 [▶]
      2092 => array:7 [▶]
      5813 => array:7 [▶]
      2177 => array:5 [▶]
      2004 => array:4 [▶]
    ]
  • 有什么可以为 PHPer 推荐的纯干货的个人技术博客么? at 2017-05-27 12:50:02

    很多不更新的啦

  • PHP artisan 命令合集 at 2017-04-20 09:29:25

    这叫合集?

  • Editor.md For Laravel 5 at 2017-04-18 17:31:01

    @chenxin Laravel5.4支持吗?为什么我安装了,没有用的

  • Editor.md For Laravel 5 at 2017-04-18 09:55:57

    图片可以上传到7牛吗?

  • Laravel 安装出错? at 2017-04-07 22:51:05

    @to2False 什么事/

  • Laravel 安装出错? at 2017-04-07 18:54:53

    @leo
    symfony/var-dumper suggests installing ext-symfony_debug ()
    symfony/console suggests installing symfony/filesystem ()
    这些不是错??

  • Laravel 项目简单 管理系统,找个兼职 at 2017-02-27 21:40:00

    什么样的项目,有什么功能需求?

  • Eloquent ORM 模型中添加自定义值 at 2016-12-28 20:12:10

    为什么不在文章表加一个字段,评论数量。你这样子性能呢?一个文章列表,如果每一个文章有10万条评论。

  • Laravel-sms v2 全新重构而来。。 at 2016-01-19 10:39:17

    提示 Non-static method Toplan\Sms\SmsManager::retrieveDebugInfo() should not be called statically, assuming $this from incompatible context

  • Laravel Presenter 在 Controller 的使用 at 2015-09-07 09:58:46

    @overtrue http://laravel.so/ 你的网站不错呀

  • 加密解密问题 at 2015-08-05 09:19:45

    能写一下吗?

  • 不做伸手党,分享快乐,Laravel 5 入门小项目详细教程 at 2015-06-02 11:18:40

    composer update出现以下内容 Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

    Problem 1

    - The requested package predis could not be found in any version, there may be a typo in the package name.

    Potential causes:

    Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

  • 花了几个周末做的图床,支持粘贴上传、拖放上传,支持自定义七牛空间 at 2015-05-13 00:44:58

    https://github.com/zgldh/qiniu-laravel-storage 你是不是用这个上传到7牛的??