He added a decleration for pcre_* in the wrappers
eg.
#define pcre_x php_pcre_
as apache2 uses pcre internally
As far as I could tell though it still segfauts after that change... -
although not had a chance to test it recently..
Regards
Alan
Andrei Zmievski wrote:
On Thu, 10 Jul 20
On Thu, 10 Jul 2003, Jani Taskinen wrote:
>
> Fixed in CVS now. :)
What did you fix exactly and where? I don't see it.
-Andrei
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
it's a PHP_4_3 with apache2filter - clean checkout. eg. rm php-src;cvs
co
Regards
Alan
Jani Taskinen wrote:
5.0.0b2-dev
int(1)
int(1)
array(1) {
[0]=>
string(3) "abc"
}
echo phpversion(), "\n";
var_dump(preg_match('/php/i','PHP is the web scripting language of choice.'));
var_dump(pre
5.0.0b2-dev
int(1)
int(1)
array(1) {
[0]=>
string(3) "abc"
}
\n";
var_dump(preg_match('/php/i','PHP is the web scripting language of choice.'));
var_dump(preg_match('/abc/','fredabc',$matches));
var_dump($matches);
show_source('pcre.php');
?>
Aka. BULLSHIT.
--Jani
p.s.
Jani Taskinen wrote:
Fixed in CVS now. :)
nice try:) -
something as simple as this still kills it..
Regards
Alan
--Jani
On Thu, 10 Jul 2003, Alan Knowles wrote:
@@ -420,7 +421,32 @@
size_offsets = num_subpats * 3;
offsets = (int *)safe_emalloc(size_offsets, si
Fixed in CVS now. :)
--Jani
On Thu, 10 Jul 2003, Alan Knowles wrote:
>
>> @@ -420,7 +421,32 @@
>> size_offsets = num_subpats * 3;
>> offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0);
>>
>> -/* Allocate match sets array and initialize the values */
>>