High level language like php ?
Security and secure code is a mindset.
You code without thinking that bad things will happen, you will get bitten.
Sure high level language can help with memory management... but plenty of CVE are because of sloppy coding, not because of low level language.