0
我试图引爆一些链接,但其中一些含有7 /
,其中一些有6 /
为此我得到错误Notice: Undefined Offset 7
,我怎么能解决这个问题:未定义不同数量的偏移
$imagethumb = array('6 slashes in url','7 slashes'); // this is just for simulating
$imagethumbs = explode('/', $imagethumb);
$thumbname = $imagethumbs[7];