PHP – implements Keyword
The PHP implements keyword is used to declare that a class must have the methods described in the specified interface (called polymorphism).
The PHP implements keyword is used to declare that a class must have the methods described in the specified interface (called polymorphism).
The PHP include keyword is used to embed PHP code from another file. If the file is not found, a warning is shown and the program continues to run.
The PHP include_once keyword is used to embed PHP code from another file. If the file is not found, a warning is shown and the program continues to run.
The PHP inet_ntop() function converts a 32bit IPv4 or 128bit IPv6 address into a readable format.
The PHP inet_pton() function converts a readable IP address into a packed 32bit IPv4 or 128bit IPv6 format.
The PHP instanceof keyword is used to check if an object belongs to a class, and returns true if the object is an instance of the class or false if not.
The PHP insteadof keyword allows you to select from which trait a method should be taken if more than one trait has a method with the same name.
The PHP interface keyword is used to create interfaces, which is a structure which defines a list of methods that must exist in a class.
The PHP is_dir() function checks whether the specified filename is a directory.
The PHP is_executable() function checks whether the specified filename is executable.
The PHP is_file() function checks whether the specified filename is a regular file.
The PHP is_finite() function checks whether a value is finite or not, and returns true (1) if the value is a finite number, or false/nothing if not.
The PHP is_infinite() function checks whether a value is infinite or not, and returns true (1) if the value is an infinite number, or false/nothing if not.
The PHP is_link() function checks whether the specified filename is a symbolic link.
The PHP is_nan() function checks whether a value is ‘not a number’, and returns true (1) if the value is ‘not a number’ or false/nothing if it is a number.
The PHP is_readable() function checks whether the specified filename is readable.
The PHP is_uploaded_file() function checks whether the specified file is uploaded via HTTP POST.
The PHP is_writable() function checks whether the specified filename is writable.