diff --git a/reference/array/functions/compact.xml b/reference/array/functions/compact.xml index 22151afc88..a2e83b74c4 100644 --- a/reference/array/functions/compact.xml +++ b/reference/array/functions/compact.xml @@ -1,5 +1,5 @@ - + @@ -33,6 +33,16 @@ Any strings that are not set will simply be skipped. + + Gotcha + + Because variable + variables may not be used with PHP's + Superglobal + arrays within functions, the Superglobal arrays may not be passed + into compact. + + <function>compact</function> example