I don't know much of PHP, but reaching "Rust/Go" performance is not simply because they have AOT compiler, but because the semantic of the language itself allows efficient compilation.
Many attempts has been made for an AOT compiler for Python and Ruby, but they don't reach those performance because of this.