ForkGagHub 最近的时间轴更新
ForkGagHub

ForkGagHub

V2EX 第 185399 号会员,加入于 2016-08-04 13:53:51 +08:00
Raspberry Pi Model 3B RS 99 新
二手交易  •  ForkGagHub  •  2022-10-12 10:19:27 AM  •  最后回复来自 To5tE
6
出一个自用的树莓派 4B 2g
二手交易  •  ForkGagHub  •  2022-10-06 17:40:41 PM  •  最后回复来自 icatme
7
树莓派 3B 价格咨询
二手交易  •  ForkGagHub  •  2022-09-19 10:10:17 AM  •  最后回复来自 ForkGagHub
8
收个 15 寸 MacBook pro 16g 内存 坐标上海
MacBook Pro  •  ForkGagHub  •  2019-10-04 18:20:30 PM  •  最后回复来自 WAHSUN
27
手上有几百万的 IP
C  •  ForkGagHub  •  2018-09-19 00:50:06 AM  •  最后回复来自 liuxyon
61
九药网挂了
问与答  •  ForkGagHub  •  2018-07-29 10:39:58 AM  •  最后回复来自 cookie
3
有没有在无锡工作的移动端开发呢?
无锡  •  ForkGagHub  •  2018-03-13 18:39:59 PM  •  最后回复来自 fromzero
1
ForkGagHub 最近回复了
2022-11-23 16:58:25 +08:00
回复了 zhennann 创建的主题 Node.js 一文讲透 CabloyJS 全栈框架的来龙去脉
擦 我看成了拔龙脉。。。
当你能理解什么是“适可而止”的时候你就不这样子了。
虽然我不会拍黄片,但是帮你找到了一个网站
https://wtools.io/javascript-to-php-converter

<?php
$var = 'function convert(input = "") {
let pdst = input.toUpperCase().trim();
let pit = [];
let isg = "";
while (/[0-9A-Z]+/.exec(pdst) !== null) {
let data = /[0-9A-Z]+/.exec(pdst);
if (data !== null) {
let pd = data[0];
let pdt = pd.length;
if (/[0-9]+/.test(pd) && pd.length < 8) isg += pd;
if (isg.length == 15) pd = isg;
if (isg.length >= 15) isg = "";
if (/[0-9]+/.test(pd) && pd.length == 11 && pd.substring(0, 1).toLowerCase() == "s") pit.push(pd.trim().substring(1, 11));
if (/[0-9]+/.test(pd) && pd.length == 13 && pd.substring(0, 1).toLowerCase() == "s") pit.push(pd.trim().substring(1, 13));
if ((/[0-9]+/.test(pd) && pd.length == 15) || pd.length == 12 || pd.length == 10 || (/[0-9]+/.test(pd) && pd.length == 8)) pit.push(pd);
pdst = pdst.substring(pdt).trim();
}
}
return Array.from(new Set(pit));
}
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3389 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 11:16 · PVG 19:16 · LAX 04:16 · JFK 07:16
Developed with CodeLauncher
♥ Do have faith in what you're doing.