1 | | When you set the default with a value like $hide_empty_fields, and then use extract( $r, EXTR_SKIP );, $r['hide_empty_fields'] will not be extracted, but $hide_empty_fields will retain its previous value. If we leave out EXTR_SKIP, it's irrelevant - but in any case it seems like bad practice to use the same variable name, in the same function scope, for two different purposes. |
| 1 | When you set the default with a value like $hide_empty_fields, and then use extract( $r, EXTR_SKIP );, $r[[['hide_empty_fields']]] will not be extracted, but $hide_empty_fields will retain its previous value. If we leave out EXTR_SKIP, it's irrelevant - but in any case it seems like bad practice to use the same variable name, in the same function scope, for two different purposes. |