non thread safe vs thread safe php code example Example: php thread safe or non thread safe thread safe