James Crumpton schrieb:
> Also, it may or may not be worth noting that as of libxml2-2.6.18, I'm
> getting a segfault after the script has finished. 2.6.17 however, works
> fine.
Looks like libxml2-2.6.19 has the same / a similar issue:
http://bugs.gentoo.org/show_bug.cgi?id=97406
--
Sebastian
Looks like libxml2-2.6.8 did the trick. Perhaps the version requirement for
libxml2 should be bumped up for php5.1?
Also, it may or may not be worth noting that as of libxml2-2.6.18, I'm getting a
segfault after the script has finished. 2.6.17 however, works fine.
Program received signal SIGS
No, I just said that the "Collection of PECL modules for PHP 5.0.4" on
the downloads page does NOT contain php_pgsql.dll - nor any other db for
that matter.
Chris
Dan Scott wrote:
Of course -- the "Collection of PECL modules for PHP 5.0.4" from
http://php.net/downloads.php. I had leapt to th
I think what makes most sense is for you two to work together on this.
Again, I am more than happy to contribute.
Andi
At 02:17 AM 7/8/2005 +0200, Pierre-Alain Joye wrote:
On Thu, 07 Jul 2005 16:56:51 -0700
[EMAIL PROTECTED] (Andi Gutmans) wrote:
> Hey Derick,
>
> If you're just wrapping the d
On Jul 7, 2005, at 7:56 PM, Andi Gutmans wrote:
It would look the following:
$timeZone->getName();
vs.
date_timezone_get($date);
$date->getOffset();
vs.
date_offset_get($date);
Personally, unrelated to OO I think it's a nicer and cleaner way of
exposing such an API. It would also make it e
You should probably try a newer version of libxml2. I suspect you are
hitting a refcount issue with dictionaries that was fixed in 2.6.8.
And before you ask, the error would be more prominent using PHP 5.1 than
5.0.
Rob
James Crumpton wrote:
So ... php-5.1.0b2 with --disable-zend-mm --enable-
At 05:21 PM 7/7/2005 -0700, Rasmus Lerdorf wrote:
Andi Gutmans wrote:
> I'd like to take a step back and try and understand better in which
> cases we are failing. Although I know we added critical section code in
> the hash, I think it's effectiveness is questionable, because I believe
> there a
Andi Gutmans wrote:
> I'd like to take a step back and try and understand better in which
> cases we are failing. Although I know we added critical section code in
> the hash, I think it's effectiveness is questionable, because I believe
> there are many places today where we might have critical se
On Thu, 07 Jul 2005 16:56:51 -0700
[EMAIL PROTECTED] (Andi Gutmans) wrote:
> Hey Derick,
>
> If you're just wrapping the date type with a class, I don't see
> why it shouldn't be a resource. It'd give you the same thing but
> would be easier to implement (unless I'm missing something).
> I realiz
I'd like to take a step back and try and understand better in which cases
we are failing. Although I know we added critical section code in the hash,
I think it's effectiveness is questionable, because I believe there are
many places today where we might have critical sections besides the hash
Hey Derick,
If you're just wrapping the date type with a class, I don't see why it
shouldn't be a resource. It'd give you the same thing but would be easier
to implement (unless I'm missing something).
I realize you personally aren't fond of OO but it actually would work very
nicely with a Dat
The output from valgrind that I posted was from 5.1.0b2. Before posting to
internals I tried php5-200507060230 from snaps.php.net with no luck... I haven't
tried running that through valgrind, however, but I suspect it would produce the
same output.
-james
Antony Dovgal wrote:
On Thu, 07 Ju
Can you try and cut down the script to a minimum and post it?
Even if it's a couple of files, that'll help (as long as it doesn't require
a db or external resource, in which case you could cut that out too).
At 04:17 PM 7/7/2005 -0700, James Crumpton wrote:
So ... php-5.1.0b2 with --disable-zen
On Thu, 07 Jul 2005 16:17:36 -0700
James Crumpton <[EMAIL PROTECTED]> wrote:
> So ... php-5.1.0b2 with --disable-zend-mm --enable-debug ... apache segfaults
> on
> startup.
>
> Without --disable-zend-nm, and run through valgrind, I don't actually
> experience
> the corruption, but boy is ther
So ... php-5.1.0b2 with --disable-zend-mm --enable-debug ... apache segfaults on
startup.
Without --disable-zend-nm, and run through valgrind, I don't actually experience
the corruption, but boy is there a lot of output. Hope you like to read ;)
I've included urls for the --disable-zend-mm se
Currently we have some issues when it comes to dealing with signals. We
have a number of critical sections in the engine and in various
extensions that rely on the HANDLE_BLOCK_INTERRUPTIONS macro in an
attempt to not be interrupted. However, the actual signal blocking is
supplied by the current
On Thu, 7 Jul 2005 23:10:16 +0200 (CEST)
[EMAIL PROTECTED] (Derick Rethans) wrote:
> Hei,
>
> I wrote up a little document about how I want to implement the
> date and timezone "class"es - although I'm not planning any OO
> methods. I'm just wrapping the timelib_time and timelib_tzinfo
> structur
Did you make sure to real all the past threads on the issue?
There are a variety of problems which arise with such a namespaces
implementation, including ambiguity, problems with multiple symbol table
lookups, dynamic variable creation, cross-file dependencies. I believe this
solution suffers f
Hei,
I wrote up a little document about how I want to implement the date and
timezone "class"es - although I'm not planning any OO methods. I'm just
wrapping the timelib_time and timelib_tzinfo structures in an
object. Let me know what you think.
DerickDefinitions:
Timezone Abbreviation: CEST,
Could you elaborate on this? Let's say we have the following situation:
- a.php does a full namespace import of "my_namespace".
- The /my_namespace directory has two files (classes),
class1.php and class2.php.
- a.php has the following code:
- After a.php is first run, a new file, class3.php, is
JH>>// 1) "my_namespace:class1" is added to the import hashtable.
JH>>// 2) The opcode for
JH>>"require_once('/usr/local/php-classes/my_namespace/class1.php')" is
JH>>generated.
JH>>// 3) "my_namespace:class2" is added to the import hashtable.
JH>>// 4) The opcode for
JH>>"require_once('/usr/local/
I'm still debating whether importing all symbols from a namespace is a good
idea or not (I sometimes use Java at work, and I never import a full package
myself, and this is not recommended anyways). But, if it were to be
implemented, then below is how I would approach it. The following would be
req
Actually, this will work! In the "class_name_reference" rule, the
"zend_do_fetch_class" function is called. Inside this function, class_name
is a znode, and what is assigned to the opcode is "opline->op2 =
*class_name". This function is changed to check the import hashtable, and if
a match is found
at compile time? this means u cannot import * (all) symbols from a namespace
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I created a patch to allow subdirectories to be created
and used when safemode is enabled.
Please let me demonstrate the approach I took to comment
it (implementation also).
We have the following file/dir structure:
/script.php (owned by sUID)
Of course -- the "Collection of PECL modules for PHP 5.0.4" from
http://php.net/downloads.php. I had leapt to the (probably false)
conclusion that Christopher wanted a newer version of the module.
Dan
On 7/7/05, Edin Kadribasic <[EMAIL PROTECTED]> wrote:
> Just download regular php-5.0.4-Win32.zi
Just download regular php-5.0.4-Win32.zip
The download page clearly states that there are no extension bundled with
the installer.
Edin
- Original Message -
From: "Dan Scott" <[EMAIL PROTECTED]>
To: "Christopher Kings-Lynne" <[EMAIL PROTECTED]>
Cc: "php-dev"
Sent: Thursday, July 07, 20
Try http://snaps.php.net/ for the "PECL extensions for the Stable 5.0 branch".
Dan.
On 7/6/05, Christopher Kings-Lynne <[EMAIL PROTECTED]> wrote:
> Where do you get php_pgsql.dll for the PHP for windows 5.0.4 installer?
>
> I installed the PECL package - no pgsql.
>
> I searched the PECL site -
[...]
> - All imports are done at compile time.
So:
== Object.php ==
== script.php ==
...will not work. You'll need an opcode for this.
- Timm
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Oh and to those who are just about to shout "clashes with ternary operator":
$bar = new $foo ? Foo : Bar;
doesn't work in PHP.
- David
> -Original Message-
> From: David Zülke [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 07, 2005 9:32 AM
> To: internals@lists.php.net
> Subject: RE: [
Sounds sweet. However, I already found a problem there, it has to do with
aliasing. Lots of code (libraries) will, even inside the same class, use the
class name for method calls instead of the "self" keywords for various
reasons. This will break if the user decides to alias the class and use it,
I
31 matches
Mail list logo