Code
- actions.php ➔ act_dispatch()
- actions.php ➔ XXX_act_dispatch()
- actions.php ➔ act_sendheaders()
- actions.php ➔ act_clean()
- actions.php ➔ act_validate()
- actions.php ➔ act_permcheck()
- actions.php ➔ act_draftdel()
- actions.php ➔ act_draftsave()
- actions.php ➔ act_save()
- actions.php ➔ act_revert()
- actions.php ➔ act_redirect()
- actions.php ➔ act_redirect_execute()
- actions.php ➔ act_auth()
- actions.php ➔ act_edit()
- actions.php ➔ act_export()
- actions.php ➔ act_sitemap()
- actions.php ➔ act_subscription()
- actions.php ➔ subscription_handle_post()

Adding an explicit array definition is generally preferable to implicit array definition as it guarantees a stable state of the code.
Let’s take a look at an example:
As you can see in this example, the array
$myArrayis initialized the first time when the foreach loop is entered. You can also see that the value of thebarkey is only written conditionally; thus, its value might result from a previous iteration.This might or might not be intended. To make your intention clear, your code more readible and to avoid accidental bugs, we recommend to add an explicit initialization $myArray = array() either outside or inside the foreach loop.