What does this php construct mean: $html->redirect(“URL”)?

前端 未结 5 814
名媛妹妹
名媛妹妹 2021-01-19 18:21

I\'ve seen this \"-> \" elsewhere used in php. One of the books I used to learn PHP has this in it, but it is never explained. What does it do, how does it work!

The

5条回答
  •  孤独总比滥情好
    2021-01-19 19:04

    In addition to what Chacha102 said (which is the explanation for the particular case in the question you are asking), you really might want to takle a look at the PHP Manual, and its Classes and Objects (PHP 5)

    It will teach you many useful things :-)

    For instance, you question most certainly has it's answer in the chapter The Basics ;-)

提交回复
热议问题