- Classes
- Public: the property or method can be accessed from everywhere.(default). Protected - the property or method can be accessed within the class and by classes derived from that class. Private - the property or method can ONLY be accessed within the class
- Type declaration. read more
- Functions
- Require Vs Include
- Construction
- Errors with declare strict, error display, error reporting
- Debugging with var-dump
- Strong Typing
- Strings, Arrays, Objects
- Strict typing: check PHP Versioning, should be greater that 7+
- Default values: https://stackoverflow.com/questions/28036228/php-how-set-default-value-to-a-variable-in-the-class
- Arrow is used instead of dot(as case in JS)
- Set this as
- Passing Default values?
- Set PHP Version path on vs code
- Passing parameter should be on specific place, can't mix arguments around