PHP – pos() Function
The PHP pos() function returns the value of the current element (every array has an internal pointer to the “current” element) in an array.
The PHP pos() function returns the value of the current element (every array has an internal pointer to the “current” element) in an array.
The PHP prev() function moves the internal pointer to, and outputs, the previous element in the array.
The PHP print keyword is used to output text. Unlike echo, print can only output one string at a time.
The PHP private keyword is an access modifier that marks a property or method as private.
The PHP protected keyword is an access modifier. It marks a property or method as protected.
The PHP public keyword is an access modifier, and marks a property or method as public (meaning it can be used by any code that can access the object).
The PHP range() function creates an array containing a range of elements from low to high (or high to low if low is set higher than high).
The PHP readdir() function returns the name of the next entry in a directory.
The PHP readfile() function reads a file and writes it to the output buffer.
The PHP readlink() function returns the target of a symbolic link.
The PHP realpath() function returns the absolute pathname.
The PHP realpath_cache_get() function returns realpath cache entries.
The PHP realpath_cache_size() function returns realpath cache size.
The PHP require keyword is used to embed PHP code from another file. If the file is not found, a fatal error is thrown and the program stops.
The PHP require_once keyword is used to embed PHP code from another file.
The PHP reset() function moves the internal pointer to the first element of the array.
The PHP restore_error_handler() function restores the previous error handler after changing it with the set_error_handler() function.
The PHP restore_exception_handler() function restores the previous exception handler after changing it with the set_exception_handler() function.
The PHP return keyword ends a function and uses the result of an expression as the return value of the function.
Thanks for your support!
All are affiliate links. Thank you for your support!