Four foot tall?
There's no security in that kind of fence.
I suppose it would contain a dog with very short legs that can't jump. Maybe a wiener dog. Maybe a geriatric dog of a different breed.
If you're serious about wanting to keep your pets and kids IN
and kidnappers and coyotes OUT, go big.