Skip to content
View clarkphp's full-sized avatar

Organizations

@zendtech

Block or report clarkphp

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. presos presos Public

    Supplemental material for presentations

    PHP 1

  2. Use default branch name of "main" i... Use default branch name of "main" instead of "master" in Git repositories
    1
    # Set default branch name for new repositories to "main"
    2
    
                  
    3
    ## git version 2.28+
    4
    
                  
    5
    ```
  3. PHP 4 Class Constructor Modernizatio... PHP 4 Class Constructor Modernization to PHP 5+
    1
    Modernizing PHP 4 style constructors in both a forwards and backwards-compatible fashion requires two things:
    2
    
                  
    3
    - renaming the PHP4 style constructor to `__construct()`.
    4
    - implementing a **PHP4 style method** that _invokes_ the PHP5 `__construct()`.
    5