PHP Programming

  1. Working with Data Structures
    1. Arrays
      1. Creating Arrays
        1. Array Literal Syntax
          1. array() Function
            1. Short Array Syntax
              1. Range Function
              2. Array Types
                1. Indexed Arrays
                  1. Associative Arrays
                    1. Multidimensional Arrays
                      1. Jagged Arrays
                      2. Accessing Array Elements
                        1. Index Access
                          1. Key Access
                            1. Nested Access
                            2. Modifying Array Elements
                              1. Adding Elements
                                1. Updating Elements
                                  1. Removing Elements
                                  2. Array Iteration
                                    1. for Loop with Arrays
                                      1. foreach Loop
                                        1. Array Pointers
                                        2. Array Sorting
                                          1. sort()
                                            1. rsort()
                                              1. asort()
                                                1. arsort()
                                                  1. ksort()
                                                    1. krsort()
                                                      1. usort()
                                                        1. uksort()
                                                          1. uasort()
                                                          2. Array Manipulation
                                                            1. array_slice()
                                                              1. array_splice()
                                                                1. array_chunk()
                                                                  1. array_flip()
                                                                    1. array_reverse()
                                                                    2. Array Searching and Filtering
                                                                      1. in_array()
                                                                        1. array_search()
                                                                          1. array_key_exists()
                                                                            1. array_filter()
                                                                              1. array_walk()
                                                                            2. Strings
                                                                              1. String Creation
                                                                                1. Single Quotes
                                                                                  1. Double Quotes
                                                                                    1. Heredoc Syntax
                                                                                      1. Nowdoc Syntax
                                                                                      2. String Access and Modification
                                                                                        1. Character Access
                                                                                          1. String Indexing
                                                                                            1. String Mutability
                                                                                            2. String Interpolation
                                                                                              1. Variable Interpolation
                                                                                                1. Expression Interpolation
                                                                                                  1. Complex Syntax
                                                                                                  2. String Concatenation
                                                                                                    1. Dot Operator
                                                                                                      1. Concatenation Assignment
                                                                                                      2. String Manipulation Functions
                                                                                                        1. trim()
                                                                                                          1. ltrim()
                                                                                                            1. rtrim()
                                                                                                              1. strtoupper()
                                                                                                                1. strtolower()
                                                                                                                  1. ucfirst()
                                                                                                                    1. ucwords()
                                                                                                                      1. substr_replace()
                                                                                                                        1. str_pad()
                                                                                                                          1. str_repeat()
                                                                                                                          2. String Searching and Replacement
                                                                                                                            1. strpos()
                                                                                                                              1. strrpos()
                                                                                                                                1. strstr()
                                                                                                                                  1. str_replace()
                                                                                                                                    1. str_ireplace()
                                                                                                                                      1. preg_replace()
                                                                                                                                      2. String Parsing
                                                                                                                                        1. explode()
                                                                                                                                          1. implode()
                                                                                                                                            1. str_getcsv()
                                                                                                                                              1. parse_str()