Re: [PHP-DEV] make test flag?

2006-12-01 Thread Brian Shire
On Dec 1, 2006, at 3:21 PM, Marcus Boerger wrote: Hello Brian, why should it do that? run-tests.php doesn't do anything with extensions. Meaning it only tests when you load your .so's by ini. $(PHP_EXECUTABLE) -d 'open_basedir=' -d 'safe_mode=0' -d 'output_buffering=0' -d 'm

Re: [PHP-DEV] make test flag?

2006-12-01 Thread Marcus Boerger
Hello Brian, why should it do that? run-tests.php doesn't do anything with extensions. Meaning it only tests when you load your .so's by ini. best regards marcus Saturday, December 2, 2006, 12:16:45 AM, you wrote: > On Dec 1, 2006, at 12:42 AM, Marcus Boerger wrote: >> Hello Brian, >> >>

Re: [PHP-DEV] make test flag?

2006-12-01 Thread Brian Shire
On Dec 1, 2006, at 12:42 AM, Marcus Boerger wrote: Hello Brian, therun-tests.php command will take care of any INI settings that are known to break tests.So if anyof your INI settings cause tests to failwe simply need to include them into the tests. Othewise it is important to test wit

Re: [PHP-DEV] PHP 5.2: Serialization patch

2006-12-01 Thread Ilia Alshanetsky
As it stands the current code breaks BC on decoding when the serialized string contains \ characters. For example: Input PHP 5.2 PHP 5.2 w/patch

Re: [PHP-DEV] PHP 5.2: Serialization patch

2006-12-01 Thread Andrei Zmievski
We can put it in 5.3 perhaps. -Andrei On Dec 1, 2006, at 1:51 PM, Ilia Alshanetsky wrote: Before we commit, let's explore how it will affect existing applications. The last thing I want to do is break the serialization format BC in a minor release. On 1-Dec-06, at 4:43 PM, Andrei Zmievski

Re: [PHP-DEV] PHP 5.2: Serialization patch

2006-12-01 Thread Marcus Boerger
Hello Andrei, this will be a problematic bc break as with the patch applied strings suddenly behave pretty different. Until now our policy was to notintroduce forward compatibility breaks. best regards marcus Friday, December 1, 2006, 10:43:32 PM, you wrote: > When serializing binary strings

Re: [PHP-DEV] PHP 5.2: Serialization patch

2006-12-01 Thread Ilia Alshanetsky
Before we commit, let's explore how it will affect existing applications. The last thing I want to do is break the serialization format BC in a minor release. On 1-Dec-06, at 4:43 PM, Andrei Zmievski wrote: When serializing binary strings in PHP 6, we have to escape non- ASCII characters a

[PHP-DEV] PHP 5.2: Serialization patch

2006-12-01 Thread Andrei Zmievski
When serializing binary strings in PHP 6, we have to escape non-ASCII characters and then unescape them on unserialization. This patch adds the unescapement support to PHP 5.2, in order to make it easier to exchange data between PHP 5 and 6. If no one has objections, I will commit soon. -Andr

Re: [PHP-DEV] windows build broken in php_scandir

2006-12-01 Thread Ilia Alshanetsky
Stas, Frank already has a patch for this that should be committed shortly. On 1-Dec-06, at 2:38 PM, Stanislav Malyshev wrote: Latest patch to php_scandir: http://cvs.php.net/viewvc.cgi/php-src/main/php_scandir.c? r1=1.12.2.1&r2=1.12.2.1.2.1 Seems to break windows build in two places: main

[PHP-DEV] windows build broken in php_scandir

2006-12-01 Thread Stanislav Malyshev
Latest patch to php_scandir: http://cvs.php.net/viewvc.cgi/php-src/main/php_scandir.c?r1=1.12.2.1&r2=1.12.2.1.2.1 Seems to break windows build in two places: main\php_scandir.c(65) : error C2065: 'MAXPATHLEN' : undeclared identifier main\php_scandir.c(65) : error C2057: expected constant express

Re: [PHP-DEV] Temporarily overriding memory limit in extension

2006-12-01 Thread Stanislav Malyshev
Thanks, that might work to change the limit. When I reset it at the end of the script, wouldn't the next script to be run by the Apache child be aborted since the amount of memory in use is now over the limit? You don't have to reset it, changes set by scripts are automatically reverted to ph

Re: [PHP-DEV] Temporarily overriding memory limit in extension

2006-12-01 Thread Stanislav Malyshev
Thanks, that might work to change the limit. When I reset it at the end of the script, wouldn't the next script to be run by the Apache child be aborted since the amount of memory in use is now over the limit? You don't have to reset it, changes set by scripts are automatically reverted to ph

Re: [PHP-DEV] Temporarily overriding memory limit in extension

2006-12-01 Thread Bruce Bailey
Thanks, that might work to change the limit. When I reset it at the end of the script, wouldn't the next script to be run by the Apache child be aborted since the amount of memory in use is now over the limit? Bruce From: Stanislav Malyshev <[EMAIL PROTECTED]> To: Bruce Bailey <[EMAIL PROTE

Re: [PHP-DEV] Temporarily overriding memory limit in extension

2006-12-01 Thread Stanislav Malyshev
Hi Some of my PHP scripts use a large volume of memory. Is there a way I can: 1) Increase the script memory limit, and 2) Force a garbage collect at script end (and reset the limit). From PHP, I guess you could do ini_set("memory_limit"), unless you are running in safe mode. -- Stanislav M

Re: [PHP-DEV] Re: Cross-extension resource

2006-12-01 Thread Sara Golemon
Sorry if the question was answered before, I will try to look harder next time. Don't worry, that comment wasn't meant as a reproach. Just an expression of surprise at the number of times I've been asked about it. Most of these queries have been offlist though, so it's not surprising that yo

[PHP-DEV] Temporarily overriding memory limit in extension

2006-12-01 Thread Bruce Bailey
Hi Some of my PHP scripts use a large volume of memory. Is there a way I can: 1) Increase the script memory limit, and 2) Force a garbage collect at script end (and reset the limit). I am currently using PHP 5.1.4 Thanks, Bruce ___

Re: [PHP-DEV] make test flag?

2006-12-01 Thread Marcus Boerger
Hello Brian, therun-tests.php command will take care of any INI settings that are known to break tests.So if anyof your INI settings cause tests to failwe simply need to include them into the tests. Othewise it is important to test with your INI settings asyou want to know if your PHP installati

[PHP-DEV] [PHP 4.4.5 / Apache 2.2.3] Abrupt and unrepeatable Segmentation fault (11)

2006-12-01 Thread Jan Schröter
Hi all! I'm having trouble with my server(s) for some weeks now and did not find any solution for now. My System is Opensuse 10.1 (32 bit) with Apache 2.2.3 and PHP 4.4.5-dev as apache module (latest stable CVS, but wasn't the solution). Im having abrupt segmentation faults in my Apache errorlog.