From 9ccbe73ee973916090d9a9000385455dce99f011 Mon Sep 17 00:00:00 2001 From: Markus Fischer Date: Tue, 10 Sep 2002 07:49:38 +0000 Subject: [PATCH] - Document new EXTR_REFS flag introduced by Andrei. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@95373 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/extract.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/reference/array/functions/extract.xml b/reference/array/functions/extract.xml index c90a1a990a..22ec91a34a 100644 --- a/reference/array/functions/extract.xml +++ b/reference/array/functions/extract.xml @@ -1,5 +1,5 @@ - + @@ -36,6 +36,11 @@ EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS was introduced in version 4.2.0. + + + EXTR_REFS was introduced in version 4.3.0. + + extract checks each key to see whether it constitutes a valid variable name and also for collisions with @@ -111,6 +116,19 @@ + + EXTR_REFS + + + Extracts variables as references. This effectively means that the + values of the imported variables are still referencing the values of + the var_array parameter. You can use this flag + on it's own or combine it with any other flag by OR'ing the + extract_type. This flag was added in PHP + 4.3.0. + + +