Skip to content

katheroine/php.lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

PHP.lab

Laboratory of PHP.

Index

Description

  1. What is PHP
  2. PHP history
  3. PHP features

Examples

  1. Literals, constants, variables
    1. Literals
    2. Constants
    3. Variables
    4. Static variables
  2. Operators
    1. Spaceship operator
    2. Ternary operator
    3. Null coalescing operator
    4. Null coalescing assignment operator
    5. Nullsafe operator
  3. Functions
    1. Functions
    2. Passing arguments
    3. Lambdas
    4. Cloasures
    5. Generators
    6. Higher order functions
  4. Classes, interfaces, traits
    1. Classes
      1. Classes
      2. Inheriting classes
      3. Encapsulation
      4. Class component names
      5. Static properties and methods
      6. Readonly
      7. Abstract methods and classes
      8. Final constants, methods and classes
      9. Construction ways
      10. Construction with static, self and parent
      11. Construction object from array
      12. Cloning objects
      13. Signature compatibility in overriding
      14. Class name resolution
      15. Constructor overriding
      16. Constructor promotion
    2. Interfaces
      1. Interfaces
      2. Extending interfaces
    3. Traits
      1. Traits
      2. Precedence
      3. Conflicts resolution
      4. Methods visibility change
      5. Abstract methods
      6. Composing traits
  5. Errors and exceptions
    1. Errors
      1. Triggering and handling errors
      2. Catching errors
    2. Exceptions
      1. Exceptions
      2. Returning value inside try-catch-finally
  6. Reflections
    1. Function reflections
    2. Enum reflections
    3. Class reflections
    4. Class constant reflections
    5. Property reflections
    6. Method reflections
  7. Attributes
  8. Built-in constructs & library
    1. Functions & methods
      1. Language constructs
        1. Class parents (SPL)
        2. Class implements (SPL)
        3. Class uses (SPL)
        4. Object ID (SPL)
        5. Object hash (SPL)
        6. SPL classes (SPL)
      2. Iterators
        1. Iterator count (SPL)
        2. Iterator to array (SPL)
        3. Iterator apply (SPL)
      3. Magic methods
        1. __set
        2. __get
        3. __call
        4. __callStatic
        5. __invoke
        6. __isset
        7. __unset
        8. __sleep
        9. __wakeup
        10. __serialize
        11. __unserialize
        12. __toString
        13. __debugInfo
        14. __construct
        15. __destruct
      4. Autoloadig
        1. Autoload functions (SPL)
        2. Autoload register (SPL)
        3. Autoload unregister (SPL)
        4. Autoload (SPL)
        5. Autoload extensions (SPL)
    2. Classes
      1. Language constructs
        1. Closure
        2. Generator
        3. Array object (SPL)
        4. Standard class
        5. Weak reference
        6. Sensitive parameter value
      2. Data structures
        1. Doubly linked list (SPL)
        2. Stack (SPL)
        3. Queue (SPL)
        4. Priority queue (SPL)
        5. Max heap (SPL)
        6. Min heap (SPL)
        7. Fixed array (SPL)
        8. Object storage (SPL)
        9. Weak map
      3. Iterators
        1. Array iterator (SPL)
        2. Recursive array iterator (SPL)
        3. Iterator iterator (SPL)
        4. Recursive iterator iterator (SPL)
        5. Append iterator (SPL)
        6. Empty iterator (SPL)
        7. Limit iterator (SPL)
        8. No rewind iterator (SPL)
        9. Infinite iterator (SPL)
        10. Multiple iterator (SPL)
        11. Callback filter iterator (SPL)
        12. Recursive callback filter iterator (SPL)
        13. Caching iterator (SPL)
        14. Recursive caching iterator (SPL)
        15. Regex iterator (SPL)
        16. Recursive regex iterator (SPL)
        17. Filesystem iterator (SPL)
        18. Directory iterator (SPL)
        19. Recursive directory iterator (SPL)
        20. Glob iterator (SPL)
        21. Recursive tree iterator (SPL)
        22. Parent iterator
      4. Exceptions
        1. Exception
        2. Error
        3. Error exception
        4. Type error
        5. Invalid argument exception (SPL)
        6. Value error
        7. Argument count error
        8. Unexpected value exception (SPL)
        9. Bad function call exception (SPL)
        10. Bad method call exception (SPL)
        11. Arithmetic error
        12. Division by zero error
        13. Unhandled match error
        14. Assertion error
        15. Closed generator exception
        16. Logic exception (SPL)
        17. Length exception (SPL)
        18. Out of bounds exception (SPL)
        19. Out of range exception (SPL)
        20. Overflow exception (SPL)
        21. Underflow exception (SPL)
        22. Range exception (SPL)
        23. Domain exception (SPL)
        24. Runtime exception (SPL)
        25. Parse error
      5. Files
        1. File info (SPL)
        2. File object (SPL)
    3. Interfaces
      1. Data
        1. Stringable
        2. Serializable
      2. Collections
        1. Array access
        2. Countable (SPL)
      3. Iterators
        1. Traversable
        2. Iterator
        3. Seekable iterator (SPL)
        4. Iterator aggregate
        5. Outer iterator (SPL)
        6. Recursive iterator (SPL)
      4. Exceptions
        1. Throwable
  9. Standards
    1. Basic coding standard (PSR-1)
    2. Extended coding style (PSR-12)
    3. Autoloading standard (PSR-4)
    4. Logger interface (PSR-3)
    5. Simple cache (PSR-16)
    6. Caching interface (PSR-6)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages