By historical reasons in PHP there is a big problem with functions naming. It's hard to remember functions names.
So, i try to structure functions and constants by related classes and namespaces.
N.B I tried ... :) But it is impossible to redeclarate following items:
- isset() //check variable definition in local scope
- unset() //delete variable link name in local scope
- get_defined_vars() //get all defined variables
- func_get_arg() //return function param by index
- func_get_args() //return function params by array
- func_num_args() //return number of params passed to a function
- _LINE_ //current executing file line
- _FILE_ //current executing file
- _DIR_ //current executing file dir
- _FUNCTION_ //current executing function
- _CLASS_ //current executing class (full - with namespace)
- _TRAIT_ //current executing trait (full - with namespace)
- _METHOD_ //current executing methode (full - with namespace)
- _NAMESPACE_ //current executing namespace
Because theare results and values depends on its location.