-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetBank.php
More file actions
12 lines (11 loc) · 987 Bytes
/
getBank.php
File metadata and controls
12 lines (11 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
<?php
//生成银行卡号
$bin = array(
'623524','625164','621098','622150','622151','622181','622188','621095','620062','621285','621798','621799','621797','622199','621096','621622','623219','621674','623218','621599','620529','623698','623699','623686','370246','370248','370249','427010','427018','427019','427020','427029','427030','427039','370247','438125','438126','451804','451810','451811','458071','489734','489735','489736','427062','427064','530970','530990','558360','620200','620302','620402','620403','620404','524047','620406','620407','525498','620409','620410','620411','620412','620502','620503','620405','620408','620512','620602','620604','620607','620611','620612','620704','620706','620707','620708','620709','620710','620609','620712','620713','620714','620802','620711','620904','620905','621001',
);
$nums = count($bin);
$rand = mt_rand(0, $nums-1);
$ext = $bin[$rand];
$left = mt_rand('1111111111', '9999999999999');
$card = $ext . $left;
var_dump($card);