I'm a cheat with PHP, what does this ->? I tried Google and searched for forums but nothing came. For example, I've used "$ resp-> is_valid" but not sure what it does thanks
If you have an example of an object, then -> gt;
For example:
$ mysqli_object = new mysqli (...); $ Mysqli_statement = $ mysqli_object-> ready (...); // call preparation () mysqli_object
- & gt; The operator is similar to that of the
::
operator in which the use of something in both classes, however, ::
is for reaching things for items, which are immediately No need to be created:
$ sum = MySumClass :: sum (...); // I do not need to use an example of // MySumClass ("new") before using it because MySumClass :: sum () is static
Comments
Post a Comment