On Sat, Mar 29, 2003 at 04:52:46AM -, Sterling Hughes wrote :
> sterling Fri Mar 28 23:52:46 2003 EDT
[...]
> update php module name to php5, not php4.
This commit reminded me of one thing:
Will it be possible to both run mod_php4 and mod_php5 from
within the same
I am getting some serious memory leaks due to the difference between a
module loaded via the ini file and one loaded via a dl call in a script.
When loaded via the ini file, the memory is fine as the resources are killed
in the correct order via the zend_hash_graceful_reverse_destroy call.
When a
Quoting Zeev Suraski <[EMAIL PROTECTED]>:
> At 04:56 26/03/2003, Jan Schneider wrote:
> >Quoting Zeev Suraski <[EMAIL PROTECTED]>:
> >
> > > That's quite intentional - assignments in ZE2 are handle based,
> versus
> > > the
> > > value based in ZE1. That's more or less the biggest change in ZE2 :
Hello,
On 03/29/2003 04:36 AM, Andi Gutmans wrote:
We won't support this. (btw it's the default modifier in Java if you
don't write anything else).
I am not defending or suggesting that you support it, I am just asking
if you will. BTW, what is the reasoning for supporting private,
protected
On Sat, 29 Mar 2003, Manuel Lemos wrote:
> ... you add things that seem much more confusing and
> less useful like nested classes and interfaces!?!
There are no nested classes in PHP 5
Derick
--
"my other box is your windows PC"
-
At 11:49 28/03/2003, Wez Furlong wrote:
Please lets have exceptions here, otherwise you will render type-hints
useless (they are intended primarily for OO programmers anyway).
I'm somewhat concerned that we are implementing a lot of the new OO
features in a half-hearted fashion; I understand that t
Hello,
On 03/29/2003 08:46 AM, Derick Rethans wrote:
... you add things that seem much more confusing and
less useful like nested classes and interfaces!?!
There are no nested classes in PHP 5
Maybe I confused it with nested namespaces (packages) which is even more
confusing to whoever uses cl
At 07:15 29/03/2003, Timm Friebe wrote:
On Thu, 2003-03-27 at 17:16, Timm Friebe wrote:
> I've implemented an additional feature for type hints that will throw an
> exception instead of bailing out in case an incorrect type is passed.
[...LONG disussion...]
After reading through a bunch of mails th
Manuel Lemos wrote:
> Maybe I confused it with nested namespaces (packages) which is even
> more confusing to whoever uses classes with them.
Namespaces aren't nested, either.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? C
On Sat, 2003-03-29 at 13:10, Zeev Suraski wrote:
[...]
> >After reading through a bunch of mails this generated, I get the idea
> >that most people here would be happier with an E_WARNING and the
> >function not being executed.
>
> ?!
>
> How the heck can we even think about such a thing? When y
Hello,
On 03/29/2003 09:48 AM, Sebastian Bergmann wrote:
Maybe I confused it with nested namespaces (packages) which is even
more confusing to whoever uses classes with them.
Namespaces aren't nested, either.
Go and discuss that with Sterling Hughes as he was the one that wrote
this presentat
On Sat, 29 Mar 2003, Manuel Lemos wrote:
> > Namespaces aren't nested, either.
>
> Go and discuss that with Sterling Hughes as he was the one that wrote
> this presentation:
>
> http://talks.php.net/show/php5intro/4
There are no nested namespaces there, just classes in a namespace.
Derick
On Sat, 29 Mar 2003, Manuel Lemos wrote:
> Maybe that is why the output of the example in that page is a parse
> error! ;-)
No, the machine runs PHP 4, the code is PHP 5 only.
Derick
--
"my other box is your windows PC"
-
On Sat, 2003-03-29 at 14:38, Manuel Lemos wrote:
> Hello,
[...]
> http://talks.php.net/show/php5intro/4
>
> Maybe that is why the output of the example in that page is a parse
> error! ;-)
That's because the webserver is running PHP4.
[EMAIL PROTECTED]:~/devel/php > cat | ./php5/sapi/cli/php
\n
On Sat, 2003-03-29 at 08:38, Manuel Lemos wrote:
> Hello,
>
> On 03/29/2003 09:48 AM, Sebastian Bergmann wrote:
> >>Maybe I confused it with nested namespaces (packages) which is even
> >>more confusing to whoever uses classes with them.
> >
> >
> > Namespaces aren't nested, either.
>
> Go an
Hello,
On 03/29/2003 10:41 AM, Derick Rethans wrote:
Maybe that is why the output of the example in that page is a parse
error! ;-)
No, the machine runs PHP 4, the code is PHP 5 only.
Of course (notice the smiley ;-) ).
Maybe Sebastian needs to upgrade his PHP 5 version or at least agree on
n
When an extension is loaded from a script rather than the ini file, the
resources are being destroyed incorrectly.
When I change zend_list and zend_hash to the following, the resources are
now destroyed in the same order as they are when the extension is loaded
from the ini file and no more memory
Then I'm going to commit the following patch to do with bison oddities.
If there are no objections, I'll apply it shortly.
Moriyoshi
Index: configure.in
===
RCS file: /repository/php4/configure.in,v
retrieving revision 1.435
diff -u
At 16:20 29.03.2003, Moriyoshi Koizumi wrote:
Then I'm going to commit the following patch to do with bison oddities.
If there are no objections, I'll apply it shortly.
Moriyoshi
i was about doing the same :-) so commit...
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, v
Translation from English version to Hungarian one
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
At 16:23 29/03/2003, Timm Friebe wrote:
On Sat, 2003-03-29 at 13:10, Zeev Suraski wrote:
[...]
> >After reading through a bunch of mails this generated, I get the idea
> >that most people here would be happier with an E_WARNING and the
> >function not being executed.
>
> ?!
>
> How the heck can we
[EMAIL PROTECTED]:~/devel/php/tests > cat inheritance.php
[EMAIL PROTECTED]:~/devel/php/tests > php5 inheritance.php
Fatal error: Declaration of string::__construct() must be the same as
::() in /usr/home/thekid/devel/php/tests/inheritance.php on line 6
- Timm
--
PHP Internals - PHP Runtime
Fixed, thanks!
Zeev
At 22:01 29/03/2003, Timm Friebe wrote:
[EMAIL PROTECTED]:~/devel/php/tests > cat inheritance.php
class String extends Object {
function __construct() { }
}
var_dump(new String());
?>
[EMAIL PROTECTED]:~/devel/php/tests > php5 inheritance.php
Fatal error: Declaratio
I have the first draft of PHP 5 reflection API ready. You can find it
at:
http://www.gravitonic.com/software/php/reflection.txt
Comments and suggestions are appreciated.
-Andrei http://www.gravitonic.com/
"Beware of bugs in the above code; I have only pro
Hello,
I encountered a weird bug that I cant quite figure out. It has to do
with the extended-info mode (-m) of PHP.
problem:
the opcodes generated in extended-info mode are incorrect
testscript:
php configure:
./configure --disable-all
output with 'php testscript.php':
tests
output w
On Sat, 29 Mar 2003, Derick Rethans wrote:
> Hello,
>
>
> I encountered a weird bug that I cant quite figure out. It has to do
> with the extended-info mode (-m) of PHP.
You mean (-e).
-Andrei http://www.gravitonic.com/
"When a man sits with a pretty girl
On Sat, 29 Mar 2003, Andrei Zmievski wrote:
> On Sat, 29 Mar 2003, Derick Rethans wrote:
> >
> > I encountered a weird bug that I cant quite figure out. It has to do
> > with the extended-info mode (-m) of PHP.
>
> You mean (-e).
oops, sorry, -e is what I mean.
Derick
--
At 21:37 29.03.2003, Andrei Zmievski wrote:
I have the first draft of PHP 5 reflection API ready. You can find it
at:
http://www.gravitonic.com/software/php/reflection.txt
Comments and suggestions are appreciated.
What about doing it with some interfaces?
marcus
--
PHP Internals - PHP Runtim
Hi,
Attached is a small patch that allows var_dump() to show the namespace
of the given object.
Moriyoshi
Index: ext/standard/var.c
===
RCS file: /repository/php4/ext/standard/var.c,v
retrieving revision 1.158
diff -u -r1.158 var.c
On Sat, 29 Mar 2003, Marcus Börger wrote:
> > http://www.gravitonic.com/software/php/reflection.txt
> >
> >Comments and suggestions are appreciated.
>
>
> What about doing it with some interfaces?
Why?
-Andrei http://www.gravitonic.com/
* Software never ha
At 22:09 29.03.2003, Andrei Zmievski wrote:
On Sat, 29 Mar 2003, Marcus Börger wrote:
> > http://www.gravitonic.com/software/php/reflection.txt
> >
> >Comments and suggestions are appreciated.
>
>
> What about doing it with some interfaces?
or an abstract base class because most methods are the sa
On Sat, 29 Mar 2003, Marcus Börger wrote:
> >> What about doing it with some interfaces?
>
> or an abstract base class because most methods are the same
Doing it just for the sake of interface or abstract classes doesn't seem
prudent to me. So what if some methods are duplicated?
-Andrei
This could affect several tests to fail, but I'll fix them soonish.
Moriyoshi
Moriyoshi Koizumi <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Attached is a small patch that allows var_dump() to show the namespace
> of the given object.
>
> Moriyoshi
--
PHP Internals - PHP Runtime Development Mailin
On Sat, 2003-03-29 at 21:37, Andrei Zmievski wrote:
> I have the first draft of PHP 5 reflection API ready. You can find it
> at:
>
> http://www.gravitonic.com/software/php/reflection.txt
>
> Comments and suggestions are appreciated.
* ClassType::getMethods([int flags]);
I assume flags is a b
On Sat, 29 Mar 2003, Timm Friebe wrote:
> > I have the first draft of PHP 5 reflection API ready. You can find it
> > at:
> >
> > http://www.gravitonic.com/software/php/reflection.txt
> >
> > Comments and suggestions are appreciated.
>
> * ClassType::getMethods([int flags]);
>
> I assume flag
> > > that it has done. Not running it is simply not an option, I can't even
> > > begin to imagine the possible consequences of such an approach!
> >
> >Well, at the moment, the function is not run either, isn't it? The
> >program dies.
>
> Right. Code assuming that it ran successfully is there
I want to start de-versioning our filenames (for example php4isapi.c to
php_isapi.c) and project files (dsp files on win), and change built
files to php5xxx where apropriate. I would do it using:
$ mv old new
$ cvs remove old
$ cvs add new
$ cvs commit -m "Renamed old to new" -r x.x old new
(-r
Does this segfault ring a bell for anybody?
Program received signal SIGSEGV, Segmentation fault.
0x40445493 in gdCacheDelete (head=0x814a3c8) at
/home/rasmus/php4/ext/gd/libgd/gdcache.c:86
86(*(head->gdCacheRelease)) (elem->userdata);
#0 0x40445493 in gdCacheDelete (head=0x814a3c8)
Although I know that this is the wrong list, maybe somebody is
interested anyway:
PHPRC works. Thanks Rasmus!!!
Ciao
MarkS
Rasmus Lerdorf wrote:
Hey, J2EE/DB2 has a php.ini file? Cool.
This is the wrong list for this question, but you could try using the
PHPRC env var instead to set the l
A few more ideas for it:)
- If you stored token start/end then you would be able to do getSource
for function/method/class.. etc.. (which can do a load file/tokenizer
and return implode('',array_range(starttoken,endtoken)
- and add the generic methods
loadTokens(); and freeTokens(); so that mem
At 04:34 PM 3/29/2003 -0500, Andrei Zmievski wrote:
On Sat, 29 Mar 2003, Timm Friebe wrote:
> > I have the first draft of PHP 5 reflection API ready. You can find it
> > at:
> >
> > http://www.gravitonic.com/software/php/reflection.txt
> >
> > Comments and suggestions are appreciated.
>
> * Class
41 matches
Mail list logo