写出下面PHP代码运行的输出结果____。$email="user@example.com";$len = strlen($email);$p = strpos($email, "@");echo substr($email, $p+1), "-", substr($email, 0, -($len-$p));
举一反三
- 下面代码的执行结果是()()()。()string()email=”wanghan@qq.com”;()if(email.IndexOf(“@”)<=0||email.IndexOf(“@”)>email.IndexOf(“.com”))(){()MessageBox.Show(“Email()格式不正确!()”);()return;()}()MessageBox.Show(“()你的()Email()是()”+email);A.()没有任何结果()B.()弹出消息框()”()Email()格式不正确!()”()C.()弹出消息框()”()你的()Email()是()wanghan@qq.com”()D.()弹出消息框()”()Email()格式不正确()!()”()弹出消息框()”()你的()Email()是()wanghan@qq.com()”
- 以下程序横线处应该使用的函数为( )。 <?php $email='gaofeng@lampbrother.com.cn'; $str = ____($email, '@'); $info = ____('.',$str); ____($info); ?> 输出结果为:Array ([0] => @lampbrother [1]=>com[2]=>cn)
- 写出下面程序段的执行结果: Declare @m int,@n int Select @m=0, @n=0 While @m<30 Begin Set @[email protected]+3 Set @[email protected][email protected] End Select @m, @n
- [email protected],[email protected],则发送完成后() A: A[email protected] B: B[email protected] C: C[email protected] D: D[email protected]
- 按用户意愿分类,Email营销可以分为()。A.()许可Email营销和未经许可的Email营销B.()内部Email营销和外部Email营销C.()临时性的Email营销和长期Email营销D.()经营型Email营销和非经营型Email营销