Atomic shiznaz, converting to php