[PHP-DEV] Re: Cross-extension resource

2006-11-29 Thread Sara Golemon
I'm writing an extension in order to achieve better performance in a specific module from our application. Right now, I'm trying to use an already established mysql connection (with mysql_connect) in our extension, so we don't have to connect to the database twice, since that connection is used in

Re: [PHP-DEV] Question on thread safety

2006-11-29 Thread Stanislav Malyshev
So finally to my question. Is it the intention of TSRMc. to allow ts_allocate_id() to be called at any time or is there an unwritten rule that it should only ever called during php startup ? If its the former then I I think it gets called only on startup. I also think it was the intent, thou

Re: [PHP-DEV] Unicode chars allowed in numbers?

2006-11-29 Thread Pierre
Hello, On 11/29/06, Andrei Zmievski <[EMAIL PROTECTED]> wrote: We should use whatever trim() uses, I think. I think so too (more consistent). --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Unicode chars allowed in numbers?

2006-11-29 Thread Andrei Zmievski
We should use whatever trim() uses, I think. -Andrei On Nov 29, 2006, at 5:58 AM, Matt Wilmas wrote: Hi Andrei, One more related question: What about for any leading whitespace with numeric strings, like in zend_u_strtol()? Is u_isspace() needed, or are only the ASCII-equivalents (0x20,

[PHP-DEV] Question on thread safety

2006-11-29 Thread Andy Wharmby
Hi All, My first post on here but I have a come across a potential issue with the PHP code and rather than just raise a defect thought it better to solicit other peoples views on the issue first. I have been reviewing the PHP code recently in order to familiarize myself with how it all fit

Re: [PHP-DEV] Unicode chars allowed in numbers?

2006-11-29 Thread Matt Wilmas
Hi Andrei, One more related question: What about for any leading whitespace with numeric strings, like in zend_u_strtol()? Is u_isspace() needed, or are only the ASCII-equivalents (0x20, 9-13 [\t, \n, \v, \f, \r]) allowed? Thanks again, Matt - Original Message - From: "Andrei Zmievski