Andi,
I'm suspecting a memory leak:
- apache2
- php5.0.0rc3rc2
- winxp
When opening php applications (phpMyAdmin or videoDB) and reloading the page
(single user), memory keeps growing until swap file runs out of space- this
was not experienced with previous versions.
Let me know if I can help wit
While venus is crossing the sun I'm trying to model a tree using two
arrays; one containing the structure of the tree and the other
containing the data of the nodes.
The second array also contains pointers to 'subtrees' of the first
array. Anyway, I discovered a strange behavior when I dumped th
On Mon, 7 Jun 2004 20:02:54 +0400, Antony Dovgal <[EMAIL PROTECTED]>
wrote:
On Mon, 07 Jun 2004 18:55:52 +0300
"Alexander Valyalkin" <[EMAIL PROTECTED]> wrote:
On Mon, 07 Jun 2004 17:07:06 +0300, Andi Gutmans <[EMAIL PROTECTED]>
wrote:
> Can you send a unified diff?
>
`cvs diff -u`, plz
or `diff
Hi
I'm not sure, who to blame about this one, but I run against a memory
leak if I run the following code:
***
$html = "foo";
$options = array("char-encoding" => "utf8");
$tidy = new tidy();
$tidy->parseString($html,$options,$options['char-encoding']);
print $tidy;
***
If the 3rd param is not par
> Hi
>
> I'm not sure, who to blame about this one, but I run against a memory
> leak if I run the following code:
> ***
> $html = "foo";
> $options = array("char-encoding" => "utf8");
> $tidy = new tidy();
> $tidy->parseString($html,$options,$options['char-encoding']);
> print $tidy;
> ***
>
> If
On Tue, 2004-06-08 at 11:32, Alexander Valyalkin wrote:
> +/* get the length of local file connected to descriptor fd */
> fstat(fd, &sbuf);
[snip]
> +if (errno) {
Oh-oh! You need to check the return value of fstat(). Errno is only set
if fstat() fails (returns -1), otherw
On Tue, 8 Jun 2004, Nuno Lopes wrote:
> You shouldn't use the char-encoding as option (the second paramether)!! You
> should just set the last parameter, as it will set the input and ouput
> charset!!
No need for those extra exclamation marks, and even *if* he used the
function wrongly it shouldn
On 8.6.2004 12:42 Uhr, Nuno Lopes wrote:
Hi
I'm not sure, who to blame about this one, but I run against a memory
leak if I run the following code:
***
$html = "foo";
$options = array("char-encoding" => "utf8");
$tidy = new tidy();
$tidy->parseString($html,$options,$options['char-encoding']);
prin
I'll poke around at it today
John
On Tue, 2004-06-08 at 07:58, Christian Stocker wrote:
> On 8.6.2004 12:42 Uhr, Nuno Lopes wrote:
>
> >>Hi
> >>
> >>I'm not sure, who to blame about this one, but I run against a memory
> >>leak if I run the following code:
> >>***
> >>$html = "foo";
> >>$options
To add..
The 18 of us here at IonZoft wish to thank all members of the PHP team and
everyone who has helped make it happen. We have built a fast growing
company totally focused on solutions based on PHP, and are very excited
about the release of PHP5.
Thanks!
Jason Garber
At 6/7/2004 09:51 PM
Today I checked stripslashes() function.
My version of the function if faster, more clearer and bugs free (I hope
:))
Below you can see the source and unified diff:
source=
PHPAPI void php_stripslashes(char *str, size_t *len TSRMLS_DC)
{
char *s, *t;
size_t l;
On Tue, 8 Jun 2004, Alexander Valyalkin wrote:
> Today I checked stripslashes() function.
> My version of the function if faster, more clearer and bugs free (I hope
> :))
You'll have to proof that by writing testcases, for example try it with
the test cases in the current source and write new one
This is a test message to detect any automated spam. Please don't reply, or
you may be removed from the list accidently.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
The leak had been fixed.
Ilia
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Steph wrote:
> win32 build's failing now only on one export:
Fails on 10 for me:
mysqli.obj: error LNK2001: Unresolved external symbol _client_errors
mysqli_repl.obj: error LNK2019: Unresolved external symbol
'[EMAIL PROTECTED]', in
'_zif_mysqli_disable_reads_from_master'
mysqli_repl.obj: error
Sorry Sebastian, I should've been more clear. I'm working from mysql src
here, I fixed 10 of the 11 4.1.2 ext/mysqli export errors I started out with
by adding them to the defs file; this final error didn't want to be fixed
that way.
I just don't get how something can be listed as an export and b
I know I can just cast to int, but is it ok to return an string for
things that can only be numbers?
prints false, but I expected it to return an int. Am I wrong? I imagine
it's the same thing with the rest of date's return values.
Btw, I don't hope it will be changed because it would probably bre
* Thus wrote dharana ([EMAIL PROTECTED]):
> I know I can just cast to int, but is it ok to return an string for
> things that can only be numbers?
>
>
> // imagine today is sunday
> var_export(date('w') === 0);
> ?>
>
> prints false, but I expected it to return an int. Am I wrong? I imagine
> i
* Thus wrote Curt Zirzow ([EMAIL PROTECTED]):
>
> Looks like it returns a string.
>
oops.. sorry I thought this was a php-general question.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
-
is there any way that string 'false' (and its variations with capital
letters) could be interpeted as boolean of value false? i have xml
configuration file that has some switches (true/false) in it. when i use
this values in functions that require booleans i get true every time (as
string isn`t emp
Robert Janeczek wrote:
is there any way that string 'false' (and its variations with capital
letters) could be interpeted as boolean of value false? i have xml
configuration file that has some switches (true/false) in it. when i use
this values in functions that require booleans i get true every ti
Anyone want to play?
- Steph
DevZone Editor
www.zend.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
"Robert Janeczek" <[EMAIL PROTECTED]> writes:
> is there any way that string 'false' (and its variations with capital
> letters) could be interpeted as boolean of value false? i have xml
> configuration file that has some switches (true/false) in it. when i use
> this values in functions that requ
> As you can see the original tree now contains a pointer, how can that
> be, I didn't change the original array!?
> So what I'd like to know is: Is this intended behavior, and if so: why
> does it work like this and would it make some operations impossible?
>
The truth of it is, this was true in
Derrell Lipman wrote:
"Robert Janeczek" <[EMAIL PROTECTED]> writes:
is there any way that string 'false' (and its variations with capital
letters) could be interpeted as boolean of value false? i have xml
configuration file that has some switches (true/false) in it. when i use
this values in funct
25 matches
Mail list logo