[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring mbfilter.c mbfilter.h mbregex.cmbstring.c mbstring.h /main rfc1867.c

2002-08-03 Thread Yasuo Ohgaki
Marcus, Don't forget to create patch against development version :) cvs.php.net is _NOT_ for development new encoding/feature. http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/php-i18n/ -- Yasuo Ohgaki -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Alan Knowles
Ok, had a play with this updated copy on http://docs.akbkhome.com/threads.tgz added a few of pthreads calls to TSRM.c did most of the testing without this abstraction layer - just to see if I could get it to work. used php_exectute_script, rather than getting clever and copying the

[PHP-DEV] sigs for php sources

2002-08-03 Thread Christian Stocker
Hi Are there any plans to provide any kind of verification for the tar-balls from php.net (md5, gpg, whatever)? Due to the latest incidents (openssh et al..) more people are aware of the fact, that changed sources could be a problem. I know, you're talking about providing this stuff to pear,

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Andi Gutmans
At 04:29 PM 8/3/2002 +0800, Alan Knowles wrote: Ok, had a play with this updated copy on http://docs.akbkhome.com/threads.tgz added a few of pthreads calls to TSRM.c did most of the testing without this abstraction layer - just to see if I could get it to work. used php_exectute_script,

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Andi Gutmans
By the way, if we do end up making this kind of thing mainstream we should probably use APR (or another library) for thread abstraction. I wouldn't want to do all of that work over. Andi At 04:29 PM 8/3/2002 +0800, Alan Knowles wrote: Ok, had a play with this updated copy on

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_compile.c zend_compile.h zend_execute.c zend_language_parser.y zend_language_scanner.l zend_operators.c zend_operators.h

2002-08-03 Thread Andi Gutmans
At 02:43 AM 7/30/2002 -0400, Andrei Zmievski wrote: On Tue, 30 Jul 2002, Andi Gutmans wrote: Hey, Can't you share the patch before you just go ahead and just commit it? I still have the same issue I used to have. Hey, the patch has been available for a long while now. :-) I think

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Andi Gutmans
At 05:43 PM 8/1/2002 +0800, Alan Knowles wrote: It's not about looking at the perl code, that will tell you nothing unless you know perl internals. It's about the way the interpreter works, some of the architecture, that is simular to PHP. In PHP, threads are isolated, kind of like seperate

Re: [PHP-DEV] HANDLE_BLOCK_INTERRUPTIONS

2002-08-03 Thread Andi Gutmans
Theoretically these should be used when the engine is not in a stable state (i.e. would crash on shutdown). As this can also include PHP's code and PHP extensions I'm not really sure how much this really helps. Andi At 08:04 AM 8/2/2002 -0700, Brad LaFountain wrote: Thanks.. I figured it out

Re: [PHP-DEV] Weird?!?!

2002-08-03 Thread Andi Gutmans
I think this is a good question. I'm not quite sure that casting dval to long is the same as multiplying the two longs. Anyone know the answer? Andi At 02:28 PM 7/31/2002 +0200, Stefan Esser wrote: Hi, Could someone tell me why the Zend Engine calculates every multiplication 2 times???

Re: [PHP-DEV] [ZE2] clone_obj function and __clone method

2002-08-03 Thread Andi Gutmans
clone_obj is the C handler for overloaded objects. In case of PHP objects clone_obj calls __clone. Andi At 12:37 AM 7/18/2002 -0400, l0t3k wrote: A quick question about the above... what is the relationship between the clone_obj handler and the __clone method. For instance, if i define the

Re: [PHP-DEV] Error in zend2_example.phps

2002-08-03 Thread Andi Gutmans
Thanks. I've fixed this. Andi At 05:51 PM 7/18/2002 +0200, Sander Steffann wrote: I think zend2_example.phps has a little error in example 6: The display function is defined as: function display() { print $this-name; print \n; } But then it is called with:

Re: [PHP-DEV] New FTP extension functionality

2002-08-03 Thread Andi Gutmans
At 02:05 PM 7/30/2002 -0400, Joao Prado Maia wrote: So are we going to rename these functions because of this ? It seems kind of weird of having ftp_async_get() when the function is not really asynchronous ;) If what Sterling just said is really accurate, _please_ don't release 4.3.0 with the

[PHP-DEV] Global Server Variables

2002-08-03 Thread Sascha Braun
Hello, since the last Releases of PHP there is the possibility to switch on and off the transmitting of Variables thru URLs. In the php.ini is written, that its more secure to use Global Server Vars. But I must say, that i have forgotten how to use these. It was something about

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/mbstring mbfilter.c mbfilter.h mbregex.c mbstring.c mbstring.h /main rfc1867.c

2002-08-03 Thread Marcus Börger
At 10:38 03.08.2002, Yasuo Ohgaki wrote: Marcus, Don't forget to create patch against development version :) cvs.php.net is _NOT_ for development new encoding/feature. http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/php-i18n/ -- Yasuo Ohgaki O.k. when i am through i will commit changes to

[PHP-DEV] make test broken?

2002-08-03 Thread Thies C. Arntzen
if i do make test i get: = CWD : /home/thies/devel/cgi PHP : /home/thies/devel/cgi/sapi/cli/php PHP_SAPI: cli PHP_VERSION : 4.3.0-dev PHP_OS : Linux INI actual : INI wanted :

Re: [PHP-DEV] make test broken?

2002-08-03 Thread Marcus Börger
Not really - for me everything is fine - see below. Check your Makefile, it should contain the follwoing lines: test: sapi/cli/php TEST_PHP_EXECUTABLE=$(top_builddir)/sapi/cli/php \ $(top_builddir)/sapi/cli/php -c php.ini-dist $(top_srcdir)/run-tests.php IF

[PHP-DEV] [PATCH] ext/standard/tests/general_functions/proc_open.phpt

2002-08-03 Thread Melvyn Sopacua
Self explanatory: Index: ext/standard/tests/general_functions/proc_open.phpt === RCS file: /repository/php4/ext/standard/tests/general_functions/proc_open.phpt,v retrieving revision 1.1 diff -u -r1.1 proc_open.phpt ---

Re: [PHP-DEV] [PATCH] ZEND_* instead of PHP_*

2002-08-03 Thread Sterling Hughes
The CODING_STANDARDS document recommends the use of the ZEND_* macros instead of the PHP_* ones (point 7). Use ZEND_* macros instead of PHP_* macros. This patch makes the CODING_STANDARDS, README.EXT_SKEL, and skeleton directory use the ZEND_FE and ZEND_FUNCTION in place of the PHP_

Re: [PHP-DEV] [PATCH] ext/standard/tests/general_functions/proc_open.phpt

2002-08-03 Thread James E. Flemer
Committed. Thanks! -James On Sat, 3 Aug 2002, Melvyn Sopacua wrote: Self explanatory: Index: ext/standard/tests/general_functions/proc_open.phpt === RCS file:

[PHP-DEV] CVS Account Request: bader

2002-08-03 Thread Bader Abanmi
Translating the documentation To Arabic. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Shane Caraveo
Alan Knowles wrote: Ok, had a play with this updated copy on http://docs.akbkhome.com/threads.tgz added a few of pthreads calls to TSRM.c did most of the testing without this abstraction layer - just to see if I could get it to work. used php_exectute_script, rather than getting

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Shane Caraveo
Andi Gutmans wrote: By the way, if we do end up making this kind of thing mainstream we should probably use APR (or another library) for thread abstraction. I wouldn't want to do all of that work over. Andi That would be nice, but not sure how realistic at this point. Idealy, we

Re: [PHP-DEV] Weird?!?!

2002-08-03 Thread Zeev Suraski
I don't think it's identical. Casting to long truncates, which means you may have an answer which is off by one. At 11:28 03/08/2002, Andi Gutmans wrote: I think this is a good question. I'm not quite sure that casting dval to long is the same as multiplying the two longs. Anyone know the

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Shane Caraveo
I've cleaned things up a bit, removed code from tsrm and added it to a new file, and commited to pecl. This way those interested can start playing with and developing the module. Shane -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] New mbstring

2002-08-03 Thread Yasuo Ohgaki
Marcus Börger wrote: At 10:38 03.08.2002, Yasuo Ohgaki wrote: Marcus, Don't forget to create patch against development version :) cvs.php.net is _NOT_ for development new encoding/feature. http://cvs.sourceforge.jp/cgi-bin/viewcvs.cgi/php-i18n/ -- Yasuo Ohgaki O.k. when i am

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Andi Gutmans
At 12:40 PM 8/3/2002 -0700, Shane Caraveo wrote: Andi Gutmans wrote: By the way, if we do end up making this kind of thing mainstream we should probably use APR (or another library) for thread abstraction. I wouldn't want to do all of that work over. Andi That would be nice, but not sure how

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Brad LaFountain
This isn't always ideal. I would rather see the threads as a function not a separate file. Forcing threads to a file would be pretty limited. -brad --- Andi Gutmans [EMAIL PROTECTED] wrote: I still think that if you're going to implement such a thread extension it shouldn't try and copy it's

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Andi Gutmans
At 09:20 PM 8/3/2002 -0700, Brad LaFountain wrote: This isn't always ideal. I would rather see the threads as a function not a separate file. Forcing threads to a file would be pretty limited. I don't think it's that limited. I also don't think that duping the whole thread's address space is a

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Shane Caraveo
Andi Gutmans wrote: At 12:40 PM 8/3/2002 -0700, Shane Caraveo wrote: Andi Gutmans wrote: By the way, if we do end up making this kind of thing mainstream we should probably use APR (or another library) for thread abstraction. I wouldn't want to do all of that work over. Andi That

Re: [PHP-DEV] phpthreads - hints anyone...

2002-08-03 Thread Shane Caraveo
Andi Gutmans wrote: I still think that if you're going to implement such a thread extension it shouldn't try and copy it's parents data-structures. It'd be very slow and prone to errors. Andi, Currently only the thread_include function that Alan wrote works. I have idea's for doing the