Even the Pennsylvania Supreme Court had the sense to find these laws unconstitutional in 1978 or 79.
There Constitutional in New Jersey