Functionality of PHP trim() function
Function: trim — Strip whitespace (or other characters) from the beginning and end of a string.   Syntax: string trim ( string $str [, string $charlist ] )   Arguments: str The string that will be trimmed. charlist Optionally, the stripped characters can also be specified using the charlist parameter.   Argument Options: PHP trim…

PHP 5.3.0 introduces two new error levels named as E_DEPRECATED and E_USER_DEPRECATED.   The E_DEPRECATED error level is used to indicate that a function or feature has been deprecated.   The E_USER_DEPRECATED level is intended for indicating deprecated features in user code, similarly to the E_USER_ERROR and E_USER_WARNING levels.   The following is a list… (1 comment)

PHP: Object Oriented Programming (OOP) php objects   A class is a ‘blueprint’ for an object, just like a function that you’d declare and use, a class merely describes a type of object. Before you can do useful logical work with it, you need to create an object (in pure OOP terms instance of a…