21,886
社区成员
发帖
与我相关
我的任务
分享
$str = 'http://ooioosy.wwowo9e.com/owuiwd/vid=198445623';
$arr = explode('=',$str);
echo $arr[1];
<?php
$vid = "http://ooioosy.wwowo9e.com/owuiwd/vid=198445623";
str_replace('http://ooioosy.wwowo9e.com/owuiwd/vid=','',$vid );
?>
本来想用正则,不过正则浪费资源$vid = "http://ooioosy.wwowo9e.com/owuiwd/vid=198445623";
echo explode('vid=', $vid)[1];