Add get_defined_functions() and get_defined_vars(). Clean up constant() entry a bit.

# Are we not ready for a release yet?
This commit is contained in:
Sterling Hughes 2000-11-25 16:37:26 +00:00
parent 960cc62e59
commit 939a8b31e7

11
NEWS
View File

@ -2,11 +2,16 @@ PHP 4.0 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? 2000, Version 4.0.4
- Added the get_defined_functions() function which returns a list of all
currently defined functions. (Sterling)
- Added the get_defined_vars() function which returns an associative array
of all variables defined in the current scope and their subsequent values.
(Sterling)
- Added the call_user_func_array() function which gives you the ability to
call a user function by passing an array of parameters as the second
argument.
Added the constant() function which returns the value of a constant given
the constant's name.
argument. (Sterling)
- Added the constant() function which returns the value of a constant given
the constant's name. (Sterling)
- Implemented support for Perl-style matching regexp delimiters in PCRE.
You can use <{[( and )]}> to delimit your expressions now. (Andrei)
- Introduced new 'F' modifier in PCRE that lets you specify a function