0
I believe the two can be used normally to access a property or a method of an object in php, right? And in the case of Pdo constants it needs to be :: even? cannot be ->? Because I use by default -> on objects.
0
I believe the two can be used normally to access a property or a method of an object in php, right? And in the case of Pdo constants it needs to be :: even? cannot be ->? Because I use by default -> on objects.
Browser other questions tagged php
You are not signed in. Login or sign up in order to post.
Yeah! It really does have a lot of related questions on the site. And HERE is the reference in the documentation.
– user86792
kkk must be half dumb but reading the meaning of each separate one I don’t know the difference. And after all I can use -> in the Pdo constants or not?
– user83428
Depends Vinicius. You have to read what the people went up there. It can and cannot be used. It depends on whether what you are picking up is static or not.
– Lucas de Carvalho