I have a patch coming that will do just that.
They just emulate (with minor changes) the property declaration handlers.
Just wish it didn't take me 3 days of troubleshooting to figure that out,
but I know A LOT more about php internals than I did before.
Bob
-Original Message-
From: Ma
Hello Robert,
Tuesday, September 28, 2004, 9:01:00 PM, you wrote:
> After 3 days tracing this thing, I found the problem. Any suggestions?
> Im trying to define a class constant by allocating a zval str using
> ALLOC_ZVAL in PHP_MINIT for my extension.
You cannot use ALLOC_ZVAL during PHP_MINIT
Hello Michael,
Tuesday, September 28, 2004, 3:44:48 PM, you wrote:
> things i'd like to add:
> 2. final classes:
> final classes can't be extended
already supported
> 4. abstract classes can be defined static also
makes no sense (duplicate): both mean you cannot instantiate the class.
> abs
Ran it through proxytrace (trace below). The browser sends full cookie
value, but the last 82 bytes are truncated from the value in $_COOKIE.
Note in my follow-up email: the problem does not occur in 4.3.2, yet is
reproducable in 4.3.7.
HTTP Request:
GET http://localhost/tests/cookie_%20bug.exp
After 3 days tracing this thing, I found the problem. Any suggestions?
Im trying to define a class constant by allocating a zval str using
ALLOC_ZVAL in PHP_MINIT for my extension. This class constant is applied to
the class and works as expected. The problem comes during shutdown. In
php_request_
No limit on PHP's end. Probably happening in the browser. Check what is
going over the wire.
-Rasmus
On Tue, 28 Sep 2004, Dietrich Ayala wrote:
> we're experiencing truncation of cookie values.
>
> is there a hard-coded limit in php?
>
> there's nothing in the docs. i didn't find any bugs at b
It's actually changed and you need to use --disable-inline-optimization to
disable inline optimizations.
Andi
At 01:01 AM 9/28/2004 -0700, Kamesh Jayachandran wrote:
Hi Wez,
Yes there is no problem. I got scared after my CPU getting hog for
continous 5 minutes on a single file.
Ultimately It comp
fyi:
- i'm using php 4.3.7 on iis/winxp
- the cookies are from Netegrity's Siteminder, a single-sign-on app
just tested same scenario using php 4.3.2, and the value was *not*
truncated. so i've either got a configuration issue of some kind, or
it's a bug introduced since 4.3.2.
repro code:
if(!i
I am running gcc 3.3.3 and don't have this problem.
Any chance you are hitting swap space?
It's definitely taking much more memory now as there's lots of inlining
going on.
Andi
At 11:10 PM 9/27/2004 -0700, Kamesh Jayachandran wrote:
Hi Andi,
I had a problem in compiling the zend_execute.c.
My CP
we're experiencing truncation of cookie values.
is there a hard-coded limit in php?
there's nothing in the docs. i didn't find any bugs at bugs.php.net
about this.
thanks,
dietrich
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
(The original thread is here:
http://www.zend.com/lists/php-dev/200409/msg00073.html)
OK, so quite a lot has changed since my last post. The web server is now
running Debian 3.1 as opposed to 3.0, and I've been horrendously busy so I
haven't had time to investigate this any further.
However, our
On Tue, 28 Sep 2004 08:28:39 +0100, Wez Furlong <[EMAIL PROTECTED]> wrote:
> *cough* windows *cough* probably doesn't have strptime (not that you'd care ;-))
>
do we still support that platform? who knew? :-P
sometimes i often wonder if Zend integrated the Performance Suite into
PHP, if we could
things i'd like to add:
4. abstract classes can be defined static also
this means that all subclasses of foo must also be static and can only
contain static methods and attributes
5. abstract classes can't be defined final
Regards, Michael
Michael Virnstein wrote:
Hi Devs,
what would probably be
i don't any experience with java, but i ran into a case, where this
would have been useful. And i disagree with the "too much was added
already". I think that php, dispite all the added stuff, is still easy
to learn, easy to read and easy to work with. PHP simply got more
powerful and i hope it
Michael Virnstein wrote:
What do you think about it?
PINJ (PHP Is Not Java) ;-)
Let's keep the language simple, too much was added already IMHO (-:C
- Chris
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Devs,
what would probably be a nice addition:
1. static classes:
static classes can only contain static methods and attributes
2. final classes:
final classes can't be extended
final class foo {
public function bar() {}
}
3. final static classes
final static classes can only contain sta
Hi All,
I have a expat based php xml parser extension there also the
ext/xml/tests/bug26614.phpt fails the difference I could see is in byte
position,
For this snippet expected xml_get_current_byte_index is 45, 90 for start
and end of data tag respectively.
This would be correct if the lines are e
*cough* windows *cough* probably doesn't have strptime (not that you'd care ;-))
It's also probably a good idea to add the check for the wierdo unix
flavours, just to be safe.
--Wez.
On Tue, 28 Sep 2004 00:02:59 -0700, Sterling Hughes
<[EMAIL PROTECTED]> wrote:
> they are both in Single UNIX, it
There is no problem there...
You configured PHP with the --enable-inline-optimization switch,
right? Turn it off if you don't want an optimized executor.
--Wez.
On Mon, 27 Sep 2004 23:10:07 -0700, Kamesh Jayachandran
<[EMAIL PROTECTED]> wrote:
> Hi Andi,
> I had a problem in compiling the zend
Hi Wez,
Yes there is no problem. I got scared after my CPU getting hog for
continous 5 minutes on a single file.
Ultimately It compiles after around 10 minutes.
FYI: I did not configure explicitly with --enable-inline-optimization
switch.
With regards
Kamesh Jayachandran
On Tue, 28 Sep 2004 08:
On Tue, 28 Sep 2004, Sterling Hughes wrote:
> they are both in Single UNIX, its pretty reliable in my experience
> where one is, the other follows. i've only ran into difficulties wrt
> to what features are available on different OS', do you know a case
> where strptime isn't avail and strftime i
they are both in Single UNIX, its pretty reliable in my experience
where one is, the other follows. i've only ran into difficulties wrt
to what features are available on different OS', do you know a case
where strptime isn't avail and strftime is?
-sterling
On Tue, 28 Sep 2004 08:07:55 +0200 (C
22 matches
Mail list logo