Hi!
An example of non-thread safe is gettext it relies on the locale which is per
process and not per-thread.
PHP itself at the core is thread safe. As Johannes said most common modules are
too.
ICU btw has some global stuff too. It's actually worse as it has one
global which is set depending on current locale and never changed even
if PHP process changes the locale (yes, ICU has dependency on system
locale, go figure).
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php