很多站长朋友们都不太清楚phpthrow用法,今天小编就来给大家整理phpthrow用法,希望对各位有所帮助,具体内容如下:
本文目录一览: 1、 throw,cast,toss的用法有什么不同 2、 throw和throws的用法 3、 throw的用法和短语例句 throw,cast,toss的用法有什么不同throw,cast,toss的用法不同为:变形词不同、用法不同、侧重点不同。
一、变形词不同
1.throw变形词:第三人称单数: throws 现在分词: throwing 过去式: threw 过去分词: thrown
2.cast变形词:第三人称单数: casts 现在分词: casting 过去式: cast 过去分词: cast
3.toss变形词:第三人称单数: tosses 现在分词: tossing 过去式: tossed 过去分词: tossed
二、用法不同
1.throw用法:用作及物动词,也可用作不及物动词。用作及物动词时接名词、代词作宾语,也可接双宾语(其间接宾语可以转化为介词to的宾语)。
2.cast用法:作动词的基本意思是“投、抛、掷、扔、撒”,指抛出极轻的东西,如网、筛子等,含有直接抛向瞄准的地方的含义。cast作此解时,多用作及物动词,主语一般为人,接简单宾语,也可接双宾语。
3.toss用法:用作及物动词,也可用作不及物动词。用作及物动词时,接名词、代词作宾语。偶尔也可接间接宾语可以转化为介词to的宾语的双宾语。
三、侧重点不同
1.throw侧重点:普通用词,使用广泛,仅指用力抛掷,不涉及动作方式或感情色彩。
2.cast侧重点:常可与throw互换,指迅速扔出一个重量较轻的物体。
3.toss侧重点:指无什么目的地、轻轻地、随意地掷或扔,所扔掷的东西一般都比较轻。
throw和throws的用法throws是用来声明一个方法可能抛出的所有异常信息
throw则是指抛出的一个具体的异常类型。
通常在一个方法(类)的声明处通过throws声明方法(类)可能抛出的异常信息,而在方法(类)内部通过throw声明一个具体的异常信息。
throws通常不用显示的捕获异常,可由系统自动将所有捕获的异常信息抛给上级方法;
throw则需要用户自己捕获相关的异常,而后在对其进行相关包装,最后在将包装后的异常信息抛出。
throw的用法和短语例句throw它的 短语 有很多,只要掌握它的用法和例句我们就能记住。以下是我给大家带来throw的用法和短语例句,以供参阅。
throw的用法
throw的用法1:throw的基本意思是“投”“掷”“抛”,指用工具或徒手(弯曲臂肘)将物体以迅速发力的动作抛出,也可泛指任何推进动作,是日常用语,不带感情色彩。引申可表示“难住”“摔倒”“挺”“摆脱”“脱(皮)”“投射(光线,阴影)”“施加(影响)”等。
throw的用法2:throw既可用作及物动词,也可用作不及物动词。用作及物动词时接名词、代词作宾语,也可接双宾语(其间接宾语可以转化为介词to的宾语)。
throw的用法3:throw还可接由形容词充当补足语的复合宾语,当宾语较长或包含有疑问词或关系代词时,形容词常跟在动词的后面。
throw的用法4:throw用作名词时,基本意思是“投,掷,抛”,引申可指“投掷的距离”,是可数名词。
throw的常用短语
throw about (v.+adv.)
throw aside (v.+adv.)
throw at (v.+prep.)
throw away (v.+adv.)
throw back (v.+adv.)
throw by (v.+prep.)
throw down (v.+adv.)
throw dust in sb's eyes
throw in1 (v.+adv.)
throw in2 (v.+prep.)
throw into (v.+prep.)
throw off (v.+adv.)
throw on (v.+prep.)
throw out (v.+adv.)
throw over (v.+adv.)
throw to (v.+prep.)
throw together (v.+adv.)
throw的用法例句
1. I don't rant and rave or throw tea cups.
我不会大喊大叫或摔茶杯。
2. This new information does throw doubt on their choice.
这个新信息确实使人们对他们的选择产生了怀疑。
3. We can't just sit by and watch you throw your life away.
我们不能眼睁睁地看着你毁掉自己的生活。
4. What ugly things; throw them away, throw them away.
多难看的东西啊,扔掉,扔掉。
5. She threatened to throw herself in front of a train.
她威胁要卧轨。
6. The orders will throw a lifeline to Britain's shipyards.
这些订单将给英国的造船厂注入一线生机。
7. Why not throw it all in the pot and see what happens?
为什么不把它全扔进罐子,看看会发生什么变化?
8. A bad result is sure to throw a spanner in the works.
糟糕的成绩肯定会坏事的。
9. One of the judges thought it was a foul throw.
有个裁判认为投球犯规.
10. He tried to throw police off the track of his lover.
他努力让警方无法跟踪他的情人。
11. A throw of the dice allows a player to move himself forward.
掷一次骰子,玩家可相应向前移动.
12. He's going to throw himself on the mercy of the court.
他准备听凭法庭发落。
13. They kick up a rumpus and throw things at each other.
他们吵了起来并互相朝对方扔东西。
14. The defense wants the district Judge to throw out the case.
辩护律师希望区法官不受理那个案子。
15. Just a stone's throw away is the City Art Gallery.
不远处就是市美术馆。
throwed的过去式threw双语例句
1. The crowds became violent and threw petrol bombs at the police.
人群变得狂暴起来,并向警察投掷汽油弹。
2. They threw all their military resources into the battle.
他们将全部军事资源都投入了那场战斗。
3. I'll say you started it, that you threw yourself at me.
我觉得是你主动向我投怀送抱。
4. On one occasion, his father threw a radio at his mother.
他父亲曾有一次拎起收音机砸向他的母亲。
5. I threw aside my mosquito net and jumped out of bed.
我把蚊帐甩到一边,跳下床来。
6. She balled the handkerchief up and threw it at his feet.
她把手绢揉成一团,丢在了他的脚边。
7. I threw a mute look of appeal at Paula.
我默默地向葆拉投去恳求的目光。
8. He threw the baby high in the air and it stopped crying.
他把孩子向空中高高抛起,孩子就停止了哭闹。
9. Ann threw back the covers and scrambled out of bed.
安掀开被子,急忙下了床。
10. The light from my candle threw his elongated shadow on the walls.
我的烛光将他拉长的影子投射在墙上。
11. He set his skinny legs apart and threw back his shoulders.
他叉开两条细腿,猛地挺起胸膛。
12. With one sweep of her hand she threw back the sheets.
她手一挥掀开了床单。
13. The star grew 30% brighter and threw off huge amounts of radiation.
那颗星的亮度增加了30%并释放出大量辐射。
14. Groups of drunken hooligans smashed shop windows and threw stones.
一群群醉醺醺的小流氓砸碎商店的橱窗,还投掷石块。
15. Obviously the puncture threw me a little, but I'm reasonably happy.
关于phpthrow用法的介绍到此就结束了,不知道本篇文章是否对您有帮助呢?如果你还想了解更多此类信息,记得收藏关注本站,我们会不定期更新哦。