12: Scope Resolution Operators in OOP PHP | Object Oriented PHP Tutorial | PHP Tutorial | mmtuts

preview_player
Показать описание
In this OOP PHP tutorial, I will guide you through a few things I think are important to abbreviate on. I will also be showing what Constants are in OOP PHP.

➤ MEET OTHER AWESOME PEOPLE!

FollowAndrew
With over 20 years experience, Andrew is creating web & front-end design tutorial videos!

And a special thanks to Derek and Taher Bannour who signed up to my $20 tier on Patreon just because they wanted to see the channel succeed!

➤ GET ACCESS TO MY LESSON MATERIAL HERE!

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon to share improved and updated lesson material, and for a small fee you can access all the material. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Рекомендации по теме
Комментарии
Автор

What a great teacher!! Much love and respect!! You are helping me ALOT passing my university exams! THANK YOU SIR!

AbJadzera
Автор

that goes further beyond what my T Level teaches - exposes everything there is in OOP PHP out there - such a good compliment to what I think is one of the most important parts of web development

TimofejsAmelins-kz
Автор

In the previous video you used a return and a break command in a switch. You don't need to use a break after a return statement because all the code after a return is unreachable. In this video, you are echoing a method that already has an echo command. You aso don't need to.

Besides those observations, this is your tutorials are a great resource for learning. Thank you, Daniel!

LostAlienOnEarth
Автор

Just wanted to let you know, adding in short videos (like this one and shorter) among the longer videos (like the 20 minute videos) makes watching more of the series easier, thank you.

GilFavor
Автор

Thanks Dani still helps me this alot. 2023 still helpful <3

localLyricsPh
Автор

Pleas create PHP Design patterns course including top 10 design patterns like: Active Record, Singleton, etc.

expresscoding
Автор

You are a wonderful teacher, thank you very much for these lessons!

brwoodlands
Автор

I like the way you you mention one the developer out there, this helps us too to really know you want to teach us more. Thank you for all your effort brother.👊🏽

unchart_d
Автор

You are a best teacher ! Thank you soo much Dani

sudanimalsha
Автор

I like the way u displayed the thing ;) nicely done :) thanks

samduss
Автор

impresonante la explicación. Jamás me quedó tan claro. Muchas gracias!!

sistemasuniverso
Автор

Thank you :)
I think it could be really helpful if you go with some sort of example in the future, a nice idea would be a very simple "mvc framework" because there are very few of them on YouTube and hard to understand!

So puting thinks together maybe with some bootstrap could be fun...

ademineshat
Автор

Great video once again!
I have a question though: When I use a namespace for FirstClass (for instance 'Scope) and I put
'$a = Scope\FirstClass::EXAMPLE;'

It sets the classname inside $a like this: 'FirstClassYou can't change this!'.
Why is that? And how to prevent the classname from being stored in the variable?

ThePancakeJedi
Автор

Hi Mr Daniel I've watched your videos and they're superb thanks so much for everything but I have a problem with one. The comments video...when I click submit, the comments don't go into the database. Please help😭🙏

king_israel
Автор

What is the purpose of the last two lines? anotherTest() doesn't return anything, so $b gets assigned nothing. Echoing $b also produces no output.

chookingvid
Автор

Thank you. Would appreciate if you would come up with patterns too.

naganorthwind
Автор

In the beginning $testing isn't declared first like "public $testing"?

nielsvansteen
Автор

but in secondClass, we can access the parent static property EXAMPLE by self:: too. Parent:: can only access the parent data members and methods and self:: can access all the data members and methods from the both the classes (firstclass and second class). I'm using phpstorm and it is telling what is going on 😋😋

dfordemo
Автор

I know it feels annoying to you, but repeating “which is a scope resolution operator” helped me memorize the name of it.

astrosoup
Автор

when a class extends another, are they supposed to be in the same file or we can separate them into 2 files?

zahraaliux