[PHP-DEV] Re: Internal properties

2004-07-21 Thread Andi Gutmans
At 11:01 PM 7/21/2004 -0700, Andrei Zmievski wrote: Hi, I saw this in zend_opcode.c zend_cleanup_class_data(): /* Note that only run-time accessed data need to be cleaned up, * pre-defined data can not contain objects and thus are not probelmatic */ Which lead me to look in

[PHP-DEV] Internal properties

2004-07-21 Thread Andrei Zmievski
Hi, I saw this in zend_opcode.c zend_cleanup_class_data(): /* Note that only run-time accessed data need to be cleaned up, * pre-defined data can not contain objects and thus are not probelmatic */ Which lead me to look into zend_declare_property() and I noticed that you

[PHP-DEV] php classes testcase issues

2004-07-21 Thread Kamesh Jayachandran
Hi All, Following test case was failing. ZE2 ArrayAccess::offsetGet ambiguties [testsuite/tests/classes/array_access_003.phpt] If I drill down to the testcase I could see the following For array_access_003.phpt Test case expects the following Strict Standards: Only variable references should be r

Re: [PHP-DEV] Re: how to post my contribution

2004-07-21 Thread Kamesh Jayachandran
Hi All, I tried to apply for a CVS account in the URL given below. But I got a following warning message. Can someone look in to this? Warning: fsockopen(): php_hostconnect: connect failed in /local/Web/sites/phpweb/include/posttohost.inc on line 29 Warning: fsockopen(): unable to connect to mast

Re: [PHP-DEV] [PATCH] 5.0 ISAPI cookie string free fix (#28929)

2004-07-21 Thread Edin Kadribasic
Hi Micheal, I have applied the fix to the CVS. Edin - Original Message - From: "Michael Sisolak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 20, 2004 11:55 PM Subject: [PHP-DEV] [PATCH] 5.0 ISAPI cookie string free fix (#28929) > I believe that a bug was introduced

Re: [PHP-DEV] Re: Overriding PHP file operations - Extended access control

2004-07-21 Thread Wez Furlong
Dunno. Probably depends on your OS. --Wez. On Wed, 21 Jul 2004 14:23:38 -0700, Sara Golemon <[EMAIL PROTECTED]> wrote: > > If you're wondering what kinds of assumptions, the biggest one that > > springs to mind is the (probably now infamous) greedy fread/fgets > > handling, where the behaviour i

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Andrey Hristov
Andi Gutmans wrote: I suggest to make those #define's bit flags and then change: } else if (behavior == INTERSECT_ASSOC || behavior == INTERSECT_KEY) to (behavior & (INTERSECT|INTERSECT_KEY)) This idea came to my mind too. I have already commited a working version without bitflags but in the next d

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Andrey Hristov
Cristiano Duarte wrote: Andrey Hristov wrote: Hallo Cristiano, these 2 function will be added to HEAD in few minutes. I see that the patch is kind of trivial and won't hurt anything :) (INTERSECT_KEY is just INTERSECT_ASSOC but no data comparison performed). I will add also array_diff_key() and a

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Andi Gutmans
I suggest to make those #define's bit flags and then change: } else if (behavior == INTERSECT_ASSOC || behavior == INTERSECT_KEY) to (behavior & (INTERSECT|INTERSECT_KEY)) Change: #define INTERSECT_NORMAL 0 #define INTERSECT_ASSOC1 +#define INTERSECT_KEY

Re: [PHP-DEV] Re: Overriding PHP file operations - Extended access control

2004-07-21 Thread Sara Golemon
> If you're wondering what kinds of assumptions, the biggest one that > springs to mind is the (probably now infamous) greedy fread/fgets > handling, where the behaviour is greedy for local files, but packet > based for everything else. > Thanks Wez, I had a lingering suspicion such shortcuts would

Re: [PHP-DEV] Re: Overriding PHP file operations - Extended access control

2004-07-21 Thread Wez Furlong
Yeah, what she said ;) But with one additional note: some places in the streams internals make assumptions by comparing the wrapper for the stream with the address of the plain_files_wrapper, so if you do hook it, you'll either need to poke the methods from your extension or patch the PHP sources

Re: [PHP-DEV] [PATCH] tests/classes/array_access001.phpt

2004-07-21 Thread Derick Rethans
On Wed, 21 Jul 2004, Kamesh Jayachandran wrote: > Hi All, > Sorry for the patch. > I found the cause of the problem to be error_reporting directive > Now set it to E_ALL. Well, the test should work regardless of your error_reporting settings so the test is still broken. Derick -- PHP Internals

[PHP-DEV] Re: Overriding PHP file operations - Extended access control

2004-07-21 Thread Sara Golemon
> main/safe_mode.c: php_checkuid() > That's one good place as all local file system operations *SHOULD* go through this point (if we've done our jobs right). But anytime you change PHP versions you'll need to reapply your patch, possibly rewrite parts of it if the internals have changed noticably.

[PHP-DEV] Re: how to post my contribution

2004-07-21 Thread Sara Golemon
> i want to praticipate in development of php, can you help me to post my > contribution, how cab i do it. > First review the Coding Standards guidelines available at: http://cvs.php.net/co.php/php-src/CODING_STANDARDS Checkout a copy of the PHP sources following the instructions available at: htt

Re: [PHP-DEV] What is MFH?

2004-07-21 Thread Marcus Boerger
Hello Gordon, Wednesday, July 21, 2004, 2:16:57 PM, you wrote: > On a somewhat-related note, I've always wondered what "BFN" means Bug Fixing News and before you ask: MFB: Merge From Branch (the patch was developed in a branch and is now merged to Head, this should be avoided!) regards ma

Re: [PHP-DEV] Spammer on Bugs page

2004-07-21 Thread Derick Rethans
On Wed, 21 Jul 2004, Jakub Vrana wrote: > Olivier Hill wrote: > > Perhaps limiting the number of bug report by IP per day and/or limiting > > the number of bugs with the same words should be implemented. > > I agree. No one likes "Write here the text from image". IPs can be easily spoofed; we wan

Re: [PHP-DEV] catch of object operations __set and __invoke

2004-07-21 Thread Marcus Boerger
Hello Leonardo, Wednesday, July 21, 2004, 4:03:09 PM, you wrote: > Hi all. > I have just messed around with the php 5 code so to find a way to implement > some way to make objects call some magic method when there is an invocation > of a non existent method Just use: __call() regards marcus --

[PHP-DEV] New member of the community - Diana Coggeshall

2004-07-21 Thread Andrey Hristov
Hello all, John is since 2 days a father of a nice baby girl : http://blog.coggeshall.org/archives/129_Welcome_Diana_Katheryn_Coggeshall.html congrats, andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Andrey Hristov
Well, i think I have found a buggie (not related to these functions and I want to investigate it). Thus I will delay the commit. Cristiano Duarte wrote: Andrey Hristov wrote: Hallo Cristiano, these 2 function will be added to HEAD in few minutes. I see that the patch is kind of trivial and won't

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Cristiano Duarte
Andrey Hristov wrote: > Hallo Cristiano, > these 2 function will be added to HEAD in few minutes. I see that the > patch is kind of trivial and won't hurt anything :) (INTERSECT_KEY > is just INTERSECT_ASSOC but no data comparison performed). > I will add also array_diff_key() and array_diff_uke

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Cristiano Duarte
Andrey Hristov wrote: > Hallo Cristiano, > these 2 function will be added to HEAD in few minutes. I see that the > patch is kind of trivial and won't hurt anything :) (INTERSECT_KEY > is just INTERSECT_ASSOC but no data comparison performed). > I will add also array_diff_key() and array_diff_uke

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Andrey Hristov
Hallo Cristiano, these 2 function will be added to HEAD in few minutes. I see that the patch is kind of trivial and won't hurt anything :) (INTERSECT_KEY is just INTERSECT_ASSOC but no data comparison performed). I will add also array_diff_key() and array_diff_ukey() cheers, andrey P.S. Andi: I th

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Cristiano Duarte
Andrey Hristov wrote: > is "make test" showing problems? (i am just currious). > I will try to review the patch later today (atm i am sick). Nope. Make test shows the same errors before and after the patch. I decided to attach the patch since it will keep tabs... Cristiano Duarte --- array.c 200

Re: [PHP-DEV] 4.3.8 patches not yet applied to PHP_4_3 ?

2004-07-21 Thread Moriyoshi Koizumi
On 2004/07/22, at 0:50, Stefan Esser wrote: What patches are you speaking about? Those which are likely intended for CAN-2004-0594. For instance, hallmark:~/Documents/Sources/php-src-4 moriyoshi$ cvs diff -r 1.512.2.53.2.1 main/main.c Index: main/main.c ===

Re: [PHP-DEV] 4.3.8 patches not yet applied to PHP_4_3 ?

2004-07-21 Thread Stefan Esser
Hello, What patches are you speaking about? As far as I know all those patches are in. Stefan -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Using my php.net e-mail address...

2004-07-21 Thread George Schlossnagle
On Jul 21, 2004, at 11:31 AM, Ben Ramsey wrote: So, what do I edit my entry to? I've removed spam protection and the "verify?" thing, whatever that does, and it still sends an authorization request. I've also changed my e-mail address on there to another one in the past, but it never updated.

[PHP-DEV] 4.3.8 patches not yet applied to PHP_4_3 ?

2004-07-21 Thread Moriyoshi Koizumi
Hi, It seems 4.3.8 patches are not merged to PHP_4_3 yet. Is there any reason to refrain from doing so? Regards, Moriyoshi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Using my php.net e-mail address...

2004-07-21 Thread Ben Ramsey
So, what do I edit my entry to? I've removed spam protection and the "verify?" thing, whatever that does, and it still sends an authorization request. I've also changed my e-mail address on there to another one in the past, but it never updated. E-mail sent to ramsey at php dot net always go

Re: [PHP-DEV] Using my php.net e-mail address...

2004-07-21 Thread shimi
Use your CVS username and password here: http://master.php.net/manage/users.php On Wed, 2004-07-21 at 17:39, Ben Ramsey wrote: > I want to use my php.net e-mail address for certain things which require > authorization sent back to the e-mail address. However, this is > impossible, as a human m

Re: [PHP-DEV] Using my php.net e-mail address...

2004-07-21 Thread Curt Zirzow
* Thus wrote Ben Ramsey: > I want to use my php.net e-mail address for certain things which require > authorization sent back to the e-mail address. However, this is > impossible, as a human must respond to the bounceback message in order > for the message to actually reach me. > > Is there a

[PHP-DEV] how to post my contribution

2004-07-21 Thread mostapha31
Hi, i want to praticipate in development of php, can you help me to post my contribution, how cab i do it. thanks. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Using my php.net e-mail address...

2004-07-21 Thread Ben Ramsey
I want to use my php.net e-mail address for certain things which require authorization sent back to the e-mail address. However, this is impossible, as a human must respond to the bounceback message in order for the message to actually reach me. Is there a way to turn off this feature or to al

[PHP-DEV] catch of object operations __set and __invoke

2004-07-21 Thread Leonardo Pedretti
Hi all. I have just messed around with the php 5 code so to find a way to implement some way to make objects call some magic method when there is an invocation of a non existent method, or a setting of a non existent data member (this last may not be neccesary by now for what i am implementint,

[PHP-DEV] [Calendar] Implemetation of Islamic calendar

2004-07-21 Thread mostapha31
Hi, Here you will find the implimentation of islamic (hijri) calendar for the extension CALENDAR. But some modifications are required, please help me Thanks. /* $selId: hijri.c,v 1.0 2004/07/20 14:50:00 lees Exp $ * Copyright 2004-2004, Mostapha ([EMAIL PROTECTED]), all rights reserved. * Permi

[PHP-DEV] Overriding PHP file operations - Extended access control

2004-07-21 Thread Øyvind Stegard
Hi, Short story I need to patch PHP to allow me to override all file operations done from PHP scripts. I need this to do some extended access control on the files in the environment where PHP will be running. Looking for hints on wise places to put this functionality. Longer story I am currently

Re: [PHP-DEV] What is MFH?

2004-07-21 Thread Jacques Marneweck
BFN stands for 'Bug Fixing News'. Regards --jm On Wed, 21 Jul 2004 08:16:57 -0400, Gordon P. Hemsley <[EMAIL PROTECTED]> wrote: > > > On a somewhat-related note, I've always wondered what "BFN" means > > On Wed, 21 Jul 2004 13:12:08 +0200, Jacques Marneweck > <[EMAIL PROTECTED]> wrote: > >

[PHP-DEV] TEST - ignore

2004-07-21 Thread Øyvind Stegard
Sorry, if my tests have all gotten to the list, I haven't seen any of them and I'm therefore sending another one. Please ignore. Thank you. -- < Øyvind Stegard <[EMAIL PROTECTED]> < USIT, University of Oslo -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://

Re: [PHP-DEV] What is MFH?

2004-07-21 Thread Gordon P. Hemsley
On a somewhat-related note, I've always wondered what "BFN" means On Wed, 21 Jul 2004 13:12:08 +0200, Jacques Marneweck <[EMAIL PROTECTED]> wrote: > MFH stands for Merge From HEAD. HEAD is the main development branch > and when features / bug fixes get applied to other branches it's > called

Re: [PHP-DEV] What is MFH?

2004-07-21 Thread Jacques Marneweck
MFH stands for Merge From HEAD. HEAD is the main development branch and when features / bug fixes get applied to other branches it's called MFH. Regards --jm On Wed, 21 Jul 2004 04:03:55 -0700, Kamesh Jayachandran <[EMAIL PROTECTED]> wrote: > Hi All, > > I have seen in the ChangeLog mails the w

Re: [PHP-DEV] What is MFH?

2004-07-21 Thread Sebastian Bergmann
Kamesh Jayachandran wrote: I have seen in the ChangeLog mails the word 'MFH'. What is the meaning of it? "Merge from HEAD" means that changes from the HEAD branch are merged to another branch. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch

[PHP-DEV] What is MFH?

2004-07-21 Thread Kamesh Jayachandran
Hi All, I have seen in the ChangeLog mails the word 'MFH'. What is the meaning of it? With regards Kamesh Jayachandran -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Spammer on Bugs page

2004-07-21 Thread Paul G
- Original Message - From: "Jakub Vrana" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 21, 2004 5:17 AM Subject: Re: [PHP-DEV] Spammer on Bugs page > Olivier Hill wrote: > > Perhaps limiting the number of bug report by IP per day and/or limiting > > the number of bug

Re: [PHP-DEV] Spammer on Bugs page

2004-07-21 Thread Jakub Vrana
Olivier Hill wrote: > Perhaps limiting the number of bug report by IP per day and/or limiting > the number of bugs with the same words should be implemented. I agree. No one likes "Write here the text from image". Jakub Vrana -- PHP Internals - PHP Runtime Development Mailing List To unsubscrib

Re: [PHP-DEV] [PATCH] tests/classes/array_access001.phpt

2004-07-21 Thread Kamesh Jayachandran
Hi All, Sorry for the patch. I found the cause of the problem to be error_reporting directive Now set it to E_ALL. Everything is working. Sorry again. With regards Kamesh Jayachandran On Wed, 21 Jul 2004 01:16:06 -0700, "Kamesh Jayachandran" <[EMAIL PROTECTED]> said: > Hi All, > I found the fol

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Lukas Smith
Andrey Hristov wrote: is "make test" showing problems? (i am just currious). I will try to review the patch later today (atm i am sick). Which also reminds me that we still dont have a function to merge a multi dimensional array without messing with the array structures (which array_merge_recursi

[PHP-DEV] [PATCH] tests/classes/array_access001.phpt

2004-07-21 Thread Kamesh Jayachandran
Hi All, I found the following unit test failing in PHP-5.0.0. And later found that Testcase was old enough. tests/classes/array_access001.phpt I am attaching my patch. Hope I am correct. With regards Kamesh Jayachandran array_access_001.phpt.patch Description: application/unknown array_acce

Re: [PHP-DEV] array_intersect_key

2004-07-21 Thread Andrey Hristov
is "make test" showing problems? (i am just currious). I will try to review the patch later today (atm i am sick). andrey Cristiano Duarte wrote: Hi all, I needed to intersect an array with database records indexed by the primary key, with an array with keys and there is no php function that will d