I know there are multiple different formulations for the axiom schema of replacement, some of which are equivalent and others not or only under other axioms. But all of them look something like this:
If $\phi$ is a well-formed formula where $x$, $y$, $A$, and $\vec w$ are free variables, then $$ \forall A\forall\vec w\quad (\forall x\in A\,\forall y\forall y'\ \phi(x,y,A,\vec w)\wedge\phi(x,y',A,\vec w)\Rightarrow y=y') \Rightarrow\exists B\forall y(y\in B\Leftrightarrow\exists x\in A\ \phi(x,y,A,\vec w)) $$
Specifically, all of the formulations that I have come across have $A$ as a variable in $\phi$.
My question is, why is that? Why is it usefull to do so? And if one were to not put $A$ as a variable in $\phi$, like so
If $\phi$ is a well-formed formula where $\mathbf x$, $\mathbf y$, and $\mathbf {\vec w}$ are free variables, then $$ \forall A\forall\vec w\quad (\forall x\in A\,\forall y\forall y'\ \mathbf {\phi(x,y,\vec w)}\wedge\mathbf {\phi(x,y',\vec w)}\Rightarrow y=y') \Rightarrow\exists B\forall y(y\in B\Leftrightarrow\exists x\in A\ \mathbf{\phi(x,y,\vec w)}) $$
would that formulation not be equivalent to the one above?
I found discussions about this in the answers and comments of this and this question, but ultimately it is never clarified why it is there.