Can you cut down the script to like 10 lines and say what your result is
and what you'd expect?
At 05:37 PM 3/17/2003 +0100, Fabrice Le Coz wrote:
Hi,
I'm playing with PHP5 and have some trouble wtith access control, here's the
code I run with last php5 from snaps.php.net under windows XP :
You are right that it doesn't behave the same as C. However, personally
although it might have been better for it to work like C I don't think it's
a good idea to change it now. First of all it would break backwards
compatibility in a way which would be hard for people to find where the bug
is
At 08:53 AM 3/12/2003 -0500, Andrei Zmievski wrote:
I have 2 questions:
1. Do the interface functions have to be explicitly specified as
abstract?
Nope. It shouldn't be allowed to be abstract because it's abstract by
definition.
interface Foo {
function bar();
}
Because this runs
This discussion itself is creating more spam than those emails people send.
I agree with Sascha that we shouldn't take drastic measures. We still want
to make it easy for people to join the PHP developer's community.
I think the most interesting idea so far was Shane's first post response
At 04:17 PM 3/12/2003 -0500, David Hill \(php.net\) wrote:
As a newbie commiter, still wet behind the ears, I would have *really*
appreciated a page that was a little clearer and a bit more up to date
than what I started with. My sources of information README.CVS-RULES,
the building from cvs web
At 11:01 PM 3/12/2003 +0100, Sascha Schumann wrote:
I wouldn't consider 3rd one that drastic.
It has worked very well for me, I haven't got any spam
to my php.net addy, but people who really wanted to send me
email got through..
Well, maybe I am an exception, but I usually
, 16 Feb 2003, Andi Gutmans wrote:
At 03:41 PM 2/13/2003 -0500, James E. Flemer wrote:
RCS file: /repository/TSRM/tsrm_virtual_cwd.c,v
retrieving revision 1.41
diff -u -b -r1.41 tsrm_virtual_cwd.c
--- TSRM/tsrm_virtual_cwd.c 6 Nov 2002 18:07:22 - 1.41
+++ TSRM/tsrm_virtual_cwd.c
At 11:03 PM 3/4/2003 +0100, Sascha Schumann wrote:
On Tue, 4 Mar 2003, Jani Taskinen wrote:
Yup, that was the idea. I'll first change them
all to OnUpdateInteger, and then use your patch
to change the ones that need to be long to use OnUpdateLong.
Is there any specific reason
At 01:29 PM 3/5/2003 +0800, James Devenish wrote:
In message [EMAIL PROTECTED]
on Wed, Mar 05, 2003 at 07:24:20AM +0200, Andi Gutmans wrote:
It might be less confusing to just have one.
Hasn't worked so far ;)
Well we're talking about changing the name from OnUpdateInt to
OnUpdateLong. It should
The patch look OK. Go ahead and commit it.
Andi
At 08:20 PM 2/28/2003 +0100, Marcus Börger wrote:
Hi Zeev,
according to the plans the following test file should PASS:
--TEST--
The new constructor/destructor is called
--SKIPIF--
?php if (version_compare(zend_version(),
Hi,
The reason the zend_parse_parameters() API only exposes long is because the
Zend zval (container which holds the engine values) only supports longs and
not ints. So anything which touches scripting engine values should be using
long. However, extensions which have INI parameters may want
Have you submitted a CVS account request?
At 09:41 PM 2/27/2003 +, J Smith wrote:
A few weeks ago, I kind of volunteered to maintain testing scripts for ZE2
on the ZE2 mailing list. (See the thread beginning at
http://www.zend.com/lists/engine2/200302/msg3.html )
Just to make good on
Hi,
I don't quite understand. If you are thinking of implementing something
similar to JDO then your persistent object manager will only hold the
objects which are retrieve by the script. At the end of the request it'll
persist the changes and will free the objects. Why would you want them to
At 04:28 PM 2/28/2003 +0100, Sascha Schumann wrote:
So I think the fix of adding OnUpdateLong() is the correct fix.
I was under the impression that OnUpdateInt was actually
expecting a long. I remember changing some int's to long's
to address 64 bit issues. Do I remember this
At 04:47 PM 2/28/2003 +0100, Sascha Schumann wrote:
No, you are correct but misunderstood me. We should introduce
OnUpdateLong() for ppl using longs and use OnUpdateInt() for ppl who want
to use ints.
Well, and how are you planning to mitigate the BC issues?
Remember that not all
At 04:50 PM 2/28/2003 +0100, Sascha Schumann wrote:
I think that simply adding OnUpdateLong and deprecating
OnUpdateInt is fine while retaining its current semantics. I
just don't see any value in changing the meaning of
OnUpdateInt; at least that's how I interpreted Andi's
At 12:12 PM 2/28/2003 -0500, Ilia A. wrote:
On February 28, 2003 11:50 am, George Schlossnagle wrote:
#php.bugs seems to be invite only now. How do I go about getting
myself invited?
It would appear someone had accidentaly set the channel to invite only, it is
fixed now.
I mailed Jani with the
At 08:00 PM 2/28/2003 +0300, Konstantin Knizhnik wrote:
Hello Andi,
The problem is that script can fetch very large number of objects
and all of them doesn't fit in the memory. Lets say we have very
large list of objects (several millions objects or more). And our
script traverse the list and
At 12:48 PM 2/26/2003 -0800, Rasmus Lerdorf wrote:
I think we can add %option never-interactive to the ini-scanner lexer to
speed it up a tiny little bit. Speeding up the ini scanner might be
important for the folks running the cgi version. More importantly, to me
anyway, when we know we are not
You can't get the name of the variable. For what purpose do you need it?
Andi
At 03:45 PM 2/22/2003 +0100, Ivan Rodriguez wrote:
Hello, i need to get the name of the variables who passed in one
function, for example:
switch ((*struc)-type) {
case IS_BOOL:
possible way does not exist?¿
thx
El sáb, 22-02-2003 a las 15:42, Andi Gutmans escribió:
You can't get the name of the variable. For what purpose do you need it?
Andi
At 03:45 PM 2/22/2003 +0100, Ivan Rodriguez wrote:
Hello, i need to get the name of the variables who passed in one
function
It'd be nice to see an example of the XML. I liked the simplicity of
today's prototype file, I'm not sure XML isn't an overkill.
Andi
At 11:24 AM 2/19/2003 +0100, Hartmut Holzgraefe wrote:
i've just added the first working results of a replacement for the good
old ext_skel script in
At 03:41 PM 2/13/2003 -0500, James E. Flemer wrote:
RCS file: /repository/TSRM/tsrm_virtual_cwd.c,v
retrieving revision 1.41
diff -u -b -r1.41 tsrm_virtual_cwd.c
--- TSRM/tsrm_virtual_cwd.c 6 Nov 2002 18:07:22 - 1.41
+++ TSRM/tsrm_virtual_cwd.c 13 Feb 2003 20:40:07 -
@@
Hey,
The fchdir() part of the patch looks fine but I didn't quite understand the
rest. PHP only uses realpath() if it doesn't fail, so what is the exact
problem? What does that other code do?
Andi
At 03:29 PM 2/12/2003 -0500, James E. Flemer wrote:
Well all the fancy new streams code in 4.3.0
We'll review it. I think we'll use it almost as-is except that we won't do
the old check variable_ptr_ptr != value_ptr_ptr
If you don't see anything on this front in the next couple of days please
remind me.
Andi
At 03:58 AM 2/16/2003 +0900, Moriyoshi Koizumi wrote:
Hi,
Could anyone who has ZE
I haven't been following this whole discussion.
However, the function names should follow the coding standards and be named
something like date_sunrise(), date_sunset() (or whatever other prefix
makes sense).
Andi
At 05:02 PM 2/6/2003 +0200, Moshe Doron wrote:
Zeev Suraski [EMAIL PROTECTED]
At 12:47 PM 2/7/2003 +0200, moshe doron wrote:
Andi Gutmans [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I haven't been following this whole discussion.
However, the function names should follow the coding standards and be
named
something like date
At 02:37 PM 2/7/2003 +0200, moshe doron wrote:
well, what about sun_set(), sun_rise()?
I hope you're kidding.
Andi
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
At 11:31 AM 2/4/2003 -0800, Sara Golemon wrote:
BTW, is php_str2num() only supposed to work on whole or decimal values?
What about exponents?
bc_str2num() only allows whole or decimal values so that's all I wrote
php_str2num to allow for.
By 'exponents' do you mean scientific notation? I
Hey,
I think the discussion you guys are having is much broader than just
mysqli. We should probably come up with a general approach which we will
use consistently for PHP 5.
I suggest we move this discussion to the PHP 5 dev list and try and come up
with a good solution. Obviously we will
At 03:22 PM 2/3/2003 -0500, Dan Kalowsky wrote:
To all concerned,
I would like to request that yet again the PHP5 mailing list be made
public and no longer kept private. Given that comments in the past few
hours have centered around the existence of the mailing list, it seems
rather absurd to
Hi,
Indeed I wasn't aware of this bug report. It seems as if your patch is fine
although I could only look at it briefly.
It does look strange that you need to initialize the resulting scale
manually. I thought the BC functions are supposed to take care of returning
the results as the right
At 10:20 PM 2/2/2003 +0100, Maxim Maletsky wrote:
On Sun, 2 Feb 2003 22:06:24 +0100 (CET) Derick Rethans [EMAIL PROTECTED] wrote:
On Sun, 2 Feb 2003, Maxim Maletsky wrote:
stranno, dovrebbe comunque funzionare datto che ZEND_CHANGES.txt ha quasi
un anno mentre il tuo CVS checkout e,
At 04:51 PM 1/24/2003 -0800, Rasmus Lerdorf wrote:
Which broken systems? Certainly not on FreeBSD or Linux. A little test:
stat(/home/rasmus/foo/u2.inc,sb);
That ends up doing just a single stat on FreeBSD:
stat(/home/rasmus/foo/u2.inc,0x9fbffa0c) = 0 (0x0)
and on Linux:
At 02:30 AM 1/25/2003 -0800, Rasmus Lerdorf wrote:
That said, we could possibly have a fast mode and use fstat() to get some
device information on the open file. I am worried about functionality
though. I'm not sure it's worth breaking.
Yes, fstat() is fast. And perhaps it isn't worth
I can't really think of any way of getting around this. include_once() and
require_once() are basic language constructs and they require this.
There is no way I can think of to cache these results because they often
depend on include_path and cwd which might change. Yes, we could try and
think
At 04:06 PM 1/24/2003 -0800, Rasmus Lerdorf wrote:
5. Looking at Linux's syscall implementation and implementing
the good ideas in FreeBSD.
Well yes, but fixing the os is pretty drastic. For now I will be patching
things here to short-circuit all that stuff, but I think it is also
At 04:32 PM 1/24/2003 -0800, Rasmus Lerdorf wrote:
I can't really think of any way of getting around this. include_once() and
require_once() are basic language constructs and they require this.
Well, they require us to be able to uniquely identify a file, they do not
necessarily require us to
At 02:42 AM 1/25/2003 +0200, Andi Gutmans wrote:
At 04:32 PM 1/24/2003 -0800, Rasmus Lerdorf wrote:
I can't really think of any way of getting around this. include_once() and
require_once() are basic language constructs and they require this.
Well, they require us to be able to uniquely
At 12:25 PM 1/10/2003 +0100, Lukas Smith wrote:
From: Andi Gutmans [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 12:14 PM
At 06:36 PM 1/9/2003 +0100, Sebastian Bergmann wrote:
For as long as I can remember, the bcmath, calendar, ftp and wddx
extensions are enabled
This has been discussed in the past and won't be done.
PHP behaves like C where the result of the boolean or operation is true
or false.
Andi
At 12:38 AM 1/11/2003 -0500, Nyk Cowham wrote:
As a convert from Perl one of the 'features' I miss from Perl is the
short-circuit behavior of the or
At 07:13 AM 1/11/2003 +0100, Sebastian Bergmann wrote:
The project file(s) for the non threadsafe Windows build are out of
sync with the thread safe one(s).
IIRC, there was already some discussion to ditch the non threadsafe
version. That way we didn't have to maintain two sets of files,
At 12:38 AM 1/12/2003 +0100, Sascha Schumann wrote:
On Sun, 12 Jan 2003, Moriyoshi Koizumi wrote:
On Sun, Jan 12, 2003 at 12:12:39AM +0100, Sascha Schumann wrote:
As many past security advisories have shown, signedness
issues are the frequent cause for severe vulnerabilities in
You are probably best off using zend_eval_string() and eval include
$myfile.inc;.
Andi
At 04:51 PM 1/7/2003 +, Stefano Corsi wrote:
Hello,
does someone understand if this is the right procedure to include a filename
from inside a C extension?
MAKE_STD_ZVAL(filename_z);
Hi,
Lately, when people start asking php-general questions on php-dev people
give them the answer and add but you should have asked on the php-general
list. Having received a good answer from php-dev gives them incentive to
mail us again :)
I suggest we keep to the standard polite reply that
At 06:36 PM 1/9/2003 +0100, Sebastian Bergmann wrote:
For as long as I can remember, the bcmath, calendar, ftp and wddx
extensions are enabled by default on Win32.
But why? I mean, they are not enabled by default on *NIX, so why the
inconsistency?
Because building this stuff on Windows
At 01:31 AM 1/8/2003 +0100, Edin Kadribasic wrote:
Yes, Steph is right, the set of libraries used on the snaps machine is ~70MB
(uncompressed) and I don't think it's practical to update win32build.zip to
include them all. And this 70 MB does not include files needed for building
ext/infromix,
Hi,
Someone seems to have changed ext_skel to create the ZEND_FETCH_RESOURCE()
call to be inside an if() statement to check the resource is non-zero, i.e.:
if (myresource) {
ZEND_FETCH_RESOURCE();
}
What is the reason this was added? The resource mechanism checks for this
automatically
At 08:25 PM 1/3/2003 +0100, Sascha Schumann wrote:
On Fri, 3 Jan 2003, Anantha Kesari H Y wrote:
hyanantha Fri Jan 3 10:59:02 2003 EDT
Modified files:
/php4/sapi/apache2filter php_apache.h sapi_apache2.c
Log:
Modifications for NetWare.
I need to say it again.
It doesn't make sense to me to have the following lines repeated all over PHP:
+#if defined(NETWARE) defined(CLIB_STAT_PATCH)
+ struct stat_libc finfo;
+#else
struct stat finfo;
+#endif
You are making the PHP source tree very hard to maintain. If anything, we
should probably create some kind of
Happy New Year to everyone! It's already 2003 here in Israel.
Thanks to everyone who has contributed. The way things look, 2003 will be a
very fruitful year for PHP with hopefully a new major version!
A special thanks to Derick for the cool Look Back of 2002!
Andi
--
PHP Development Mailing
At 01:45 AM 12/28/2002 +0100, Marcus Börger wrote:
At 22:40 27.12.2002, Andi Gutmans wrote:
I don't think it's beneficial to PHP to have two modes especially as the
cli more you're talking about would support ? followed by a ?php. So
all you're saving is the opening tag. I think any PHP
I don't think it's beneficial to PHP to have two modes especially as the
cli more you're talking about would support ? followed by a ?php. So all
you're saving is the opening tag. I think any PHP programmer can handle it.
Let's keep things similar across the board.
Andi
At 02:11 PM 12/27/2002
I think you're right. I also see some weird language :)
Andi
At 12:18 AM 12/28/2002 +0100, Niels Leenheer wrote:
[snip]
What this means for users is that any I/O function that works with
streams (and that is almost all of them) can access built-in protocols,
such as HTTP/HTTPS and
To: David Gillies [EMAIL PROTECTED]
From: Andi Gutmans [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] ext_skel
Yeah but then it might make sense to print something like Argument passed
= , no?
Andi
At 08:56 AM 12/23/2002 -0800, David Gillies wrote:
Well, if nothing else, for the novice
a default function with all the
bells and whistles (checking for references, grabbing
a resource, etc, all documented up the wazoo).
Best Wishes
David Gillies
San Jose
Costa Rica
--- Andi Gutmans [EMAIL PROTECTED] wrote:
To: David Gillies [EMAIL PROTECTED]
From: Andi Gutmans [EMAIL PROTECTED
At 08:50 AM 12/23/2002 +, Stefan Esser wrote:
sesser Mon Dec 23 03:50:06 2002 EDT
Modified files:
/php4/ext/mime_magicmime_magic.c
Log:
fix compile error on IRIX
Index: php4/ext/mime_magic/mime_magic.c
diff -u php4/ext/mime_magic/mime_magic.c:1.19
It doesn't matter because the behavior here is undefined just like in C.
You can't use a variable and it's post/pre increment value in the same
expression.
Andi
At 03:26 PM 12/21/2002 +0200, Andrey Hristov wrote:
Hi,
i got an interesting case :
?php
$a = 1;
var_dump($a + $a++);
$a = 1;
$x
Again, as it is undefined in PHP the question Why in itself is wrong :)
Andi
At 04:43 PM 12/21/2002 +0200, Andrey Hristov wrote:
- Original Message -
From: Andi Gutmans [EMAIL PROTECTED]
To: Andrey Hristov [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, December 21, 2002 4:17 PM
Yes I object. Think of references as a symbolic link to the same place.
Now you have such a reference in an array which you assign to an additional
variable. Now two variables contain copies of an array but somewhere inside
you have two copies of the symbolic link. Changing one will change the
Hey,
What's the reason that confirm_myextension_compiled(..) takes a string as
an argument? Why doesn't it just use the string myextension in it's message?
For those who don't remember it prints out Congratulations! You have
successfully modified ext/myextension/config.m4. Module myextension is
At 07:13 PM 12/21/2002 +0100, Melvyn Sopacua wrote:
At 18:24 21-12-2002, Andi Gutmans wrote:
Yes I object. Think of references as a symbolic link to the same place.
Now you have such a reference in an array which you assign to an
additional variable. Now two variables contain copies
I meant a big warning should be in place :)
Andi
At 08:18 PM 12/21/2002 +0200, Andi Gutmans wrote:
At 07:13 PM 12/21/2002 +0100, Melvyn Sopacua wrote:
At 18:24 21-12-2002, Andi Gutmans wrote:
Yes I object. Think of references as a symbolic link to the same
place. Now you have
At 11:57 PM 12/20/2002 +0900, Moriyoshi Koizumi wrote:
Andi Gutmans [EMAIL PROTECTED] wrote:
At 01:28 PM 12/19/2002 +, Wez Furlong wrote:
Actually, it does seem valid to me; streams based on FILE* are not
registered in the persistent list, so does it make sense to have the
associated
This is a known limitation. I will try and address this probably with some
kind of special syntax.
Andi
At 04:49 PM 12/20/2002 +0100, Mickael Bailly wrote:
Hello,
One line to say this is my first post here, I thought about posting in
php-general, but ZE2 is in development, so...
I
shutdown?
If these are per-request constants then you are correct and the patch was
OK. I thought these were constants which survive requests.
Andi
--Wez.
On Wed, 18 Dec 2002, Andi Gutmans wrote:
I don't like these voodoo patches. I think if the stream is destroyed twice
that should
At 11:17 AM 12/17/2002 +0900, Moriyoshi Koizumi wrote:
Andi Gutmans [EMAIL PROTECTED] wrote:
I didn't understand the explanation. Why do you mind if the resources are
destroyed before the constants? That's good, no?
Sorry, I'm still unsure if my patch is the correct one, as I said
At 03:54 PM 12/18/2002 -0500, Andrei Zmievski wrote:
On Wed, 18 Dec 2002, Xavier Spriet wrote:
Experimental or not, people use it and have developed a need for it.
Many apps out there are based on experimental technology, that's not a
reason to break them all...
So I strongly suggest that
At 12:56 AM 12/19/2002 +0100, Edin Kadribasic wrote:
Sorry, I'm still unsure if my patch is the correct one, as I said in the
first mail. As far as I've looked into it, the streams seem to be
destructed and freed twice, once in deactivation and once in shutdown.
If you think my patch is
At 12:49 AM 12/17/2002 +0900, Moriyoshi Koizumi wrote:
Andi Gutmans [EMAIL PROTECTED] wrote:
I don't understand what you're doing here. Are you actually separating on
every assignment and doing a deep copy?
What I'm trying to do in my patch can be divided into two phases.
In the first phase
It won't be supported but you can use eval() if you really need to.
Andi
At 08:47 PM 12/16/2002 +0100, Bertrand Mansion wrote:
[EMAIL PROTECTED] wrote :
On Mon, 16 Dec 2002, Bertrand Mansion wrote:
[EMAIL PROTECTED] wrote :
Its neither, its a fact of the language, the following:
At 11:26 AM 12/17/2002 +0800, Alan Knowles wrote:
It would be usefull to have a direction on this, - It's come up a number
of times in bug reports.
It has a number of uses (primarily breaking large classes up, into smaller
components..), and a clearer way to write code than using a huge
At 05:16 PM 12/17/2002 +, Philip Olson wrote:
Hello,
I stumbled upon this feature today and am wondering
why it exists:
?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
define('a', 'b');
$arr = array('a' = 'apple',
'b' = 'banana',
'c' = 'cranberry');
I don't understand what you're doing here. Are you actually separating on
every assignment and doing a deep copy?
Andi
At 04:09 PM 12/15/2002 +0900, Moriyoshi Koizumi wrote:
Oops, the patch was wrong as the runtime occationally segfaults
in a case like:
?php
$a = 0;
$a = $a; /* is_ref=1,
Hi,
You are really best off loading those dso's from your PHP INI. There is a
dl() but it does have its issues (performance wise and in some cases
stability wise).
I think quite a lot of your memory will be shared between the processes so
make sure you don't only look at the size of each
I think this is one of those exceptions where we should probably not go by
our standard and call the function bcpowmod(). It looks a bit funny that
all of the BC functions don't have underscores but only one does. It'll
probably confuse people more than it helps.
What do you guys think?
Andi
At 05:10 PM 12/10/2002 -0800, Sara Golemon wrote:
I'm hearing two options here:
1) Name the new function bcpowmod() to keep it similiar to existing
functions, we'll worry about renaming the functions in this module
later...
2) Name the new function bc_powmod(), rename the existing functions
be in zend_mm_realloc?
Tom
Andi Gutmans [EMAIL PROTECTED] wrote:
At 12:30 AM 12/8/2002 -0800, Tom wrote:
hey there,
I'm using the cvs and ZE2, there seems to be some huge memory usage when
concatenating a string to a length over 262080 bytes, when the string
length gets to that size the malloc
Hi,
I'd like to start working towards a beta of ZE2 but it seems that 4.3 is
still lingering and I'd like to wait until after 4.3.
What's happening with that? Shouldn't we get it out before Christmas?
If any bad bugs creep in that'd mean we can use the relatively silent 2-3
weeks following
At 02:13 PM 12/9/2002 +0200, Jani Taskinen wrote:
On Mon, 9 Dec 2002, Andi Gutmans wrote:
Hi,
I'd like to start working towards a beta of ZE2 but it seems that 4.3 is
still lingering and I'd like to wait until after 4.3.
What's happening with that? Shouldn't we get it out before Christmas
At 02:24 PM 12/9/2002 +0200, Jani Taskinen wrote:
On Mon, 9 Dec 2002, Andi Gutmans wrote:
At 02:13 PM 12/9/2002 +0200, Jani Taskinen wrote:
On Mon, 9 Dec 2002, Andi Gutmans wrote:
Hi,
I'd like to start working towards a beta of ZE2 but it seems that 4.3 is
still lingering and I'd like
Any idea how many more bugs are waiting to be addressed?
Andi
At 12:36 PM 12/9/2002 +, Wez Furlong wrote:
Because we are still finding and fixing bugs in the RCs.
--Wez.
On Mon, 9 Dec 2002, Andi Gutmans wrote:
Now that still leave my original question about 4.3. Why the hell aren't we
At 05:34 PM 12/9/2002 +0100, Marcus Börger wrote:
At 14:52 09.12.2002, Mike Robinson wrote:
Wez Furlong writes:
On Sun, 8 Dec 2002, Mike Robinson wrote:
Sorry. There's just no way this should happen.
But it has happened, and it's going stay this way.
Now, if you don't have anything
At 12:30 AM 12/8/2002 -0800, Tom wrote:
hey there,
I'm using the cvs and ZE2, there seems to be some huge memory usage when
concatenating a string to a length over 262080 bytes, when the string
length gets to that size the malloc call inside
zend_mm_add_memory_block starts grabing memory 262168
uses 151Megs on my system. the same code uses about 2megs with
php4.3. php4.3 seems to realloc/memcpy when the string gets big, and
php5 just does malloc's and memcpy's (I don't see calls to free()
though). I'm thinking the problem might be in zend_mm_realloc?
Tom
Andi Gutmans [EMAIL PROTECTED
Are you sure you should be using malloc()/free() and not emalloc()/efree()?
Also please use strlcpy() instead of strncpy(). (Weird I mentioned it twice
in one day :)
http://www.courtesan.com/todd/papers/strlcpy.html
Andi
At 04:54 PM 12/7/2002 +0100, Daniel Lorch wrote:
---
it's useless. Yet another point of view also, since no one has
seriously complained about it's brokeness, it can't realy effect many
people either if it is in 4.3.
Shane
Andi Gutmans wrote:
Are you sure we should have this stuff in the branch of 4.3? Are these
bugs which didn't exist in 4.2.3
At 06:59 PM 12/2/2002 +0100, Sascha Schumann wrote:
On Mon, 2 Dec 2002, Andi Gutmans wrote:
I still haven't understood from your answer if this is a problem which was
in 4.2.x.
This problem has existed for a long time. There is not
much which can break, because it has not been
At 05:27 PM 12/1/2002 -0500, Sterling Hughes wrote:
At 07:17 PM 11/30/2002 -0500, Sterling Hughes wrote:
hrm. :)
My only question is really about sequential accesses. for the purpose of
example
let's pretend its just for zvals...
(pool is our pool array of zval structs)
ALLOC_ZVAL()
Are you sure we should have this stuff in the branch of 4.3? Are these bugs
which didn't exist in 4.2.3?
If they did exist I'm -1. If they didn't exist then that's life and the
patch should stay in but people familiar with CGI should review it carefully.
Andi
At 02:21 AM 12/2/2002 +, Shane
At 02:59 PM 11/30/2002 -0500, Sterling Hughes wrote:
Hey,
I was checking the CVS logs, and I read ::
revision 1.13
date: 2001/11/26 17:27:59; author: andi; state: Exp; lines: +1 -1
- Turn off fast cache until we make sure it performs well.
- The best solution is probably to limit its size.
At 07:17 PM 11/30/2002 -0500, Sterling Hughes wrote:
hrm. :)
My only question is really about sequential accesses. for the purpose of
example
let's pretend its just for zvals...
(pool is our pool array of zval structs)
ALLOC_ZVAL()
- Do we have a zval available?
- yes!
- return
Applied.
Andi
At 05:31 PM 11/28/2002 +0100, Marcus Börger wrote:
In ZE2 zend.c there is a structure member not initialized for. See patch
below.
marcus
Index: Zend/zend.c
===
RCS file: /repository/ZendEngine2/zend.c,v
retrieving
At 04:30 PM 11/28/2002 +, James Cox wrote:
it means double colon in hebrew... i think Zeev and Andi must not have known
what to call it in english when they put it in... but hey, it was the first
i18n'ized error message :)
We are very attached to this token because it was put in when we
At 06:25 PM 11/28/2002 +0100, Marcus Börger wrote:
With current ZE2 it is possible to instanciate an abstract class. That is
a class
that has at least one abstract method. When we add a flag field to class_entry
struct we can handle this. We simply need to set an abstract flag for the
class
At 03:41 PM 11/27/2002 +0100, Derick Rethans wrote:
On Wed, 27 Nov 2002, Miham KEREKES wrote:
Hi!
I'm new to this list, I want to know if there is any function which
could return the actual call stack, or is it planned to be added?
It could be very useful (for example in my case, now :-).
Hi,
No, this mechanism is only meant for the special variables (see archives of
php-dev).
In any case, I suggest you do use $GLOBALS[] and not the 'global' keyword
because it works better and the recommended way.
Andi
At 01:06 PM 11/27/2002 +0200, Alexander Radivanovich wrote:
Hi Gurus
Is
At 07:23 PM 11/27/2002 +0100, Derick Rethans wrote:
On Wed, 27 Nov 2002, Andi Gutmans wrote:
At 03:41 PM 11/27/2002 +0100, Derick Rethans wrote:
On Wed, 27 Nov 2002, Miham KEREKES wrote:
debug_backtrace() will be available in PHP 4.3.0 and higher.
if someone has time to implement
That'd be cool.
At 01:32 PM 11/27/2002 -0500, George Schlossnagle wrote:
I'll do it, if you want.
Andi Gutmans wrote:
At 07:23 PM 11/27/2002 +0100, Derick Rethans wrote:
On Wed, 27 Nov 2002, Andi Gutmans wrote:
At 03:41 PM 11/27/2002 +0100, Derick Rethans wrote:
On Wed, 27 Nov 2002
class::function() called at file:line
Perhaps
class::function() called at file:line
Arguments:
print_r(args)
??
Andi Gutmans wrote:
That'd be cool.
At 01:32 PM 11/27/2002 -0500, George Schlossnagle wrote:
I'll do it, if you want.
Andi Gutmans wrote:
At 07:23 PM 11/27/2002 +0100
1 - 100 of 939 matches
Mail list logo