Re: [PHP-DEV] please give this a little care

2005-03-09 Thread Alawi Albaity
that may be work with linux but with windows is not work that will , I already have it and I am in contact with his developer who is the hard work man by the way , but the problem its not work with me in windows , its have problem. if its work with you please explain to me how its works with you .

Re: [PHP-DEV] please give this a little care

2005-03-09 Thread Andrey Hristov
Alawi Albaity wrote: http://bugs.php.net/bug.php?id=32215 please only we want it work until JSR work in 2008 Hi, you may try PHP-Java bridge. I have tried it few months ago (with PHP 4) and it worked. I have tested RMI over it and no problems. Looks like it already supports PHP 5. http://php-java-b

[PHP-DEV] please give this a little care

2005-03-09 Thread Alawi Albaity
http://bugs.php.net/bug.php?id=32215 please only we want it work until JSR work in 2008 -- Alawi Albaity Jeddah - KSA Mobile : +966506660442 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
SM>>Do you know _any_ external extension that relies on the fact that SM>>file_handle is only STREAM - taking into account this is false - SM>>file-handle can perfectly well be anything else prior to calling fixup SM>>- and probably after too, since dtor does have switch? Can you explain BTW, afte

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
MB>>were partly public when Wez did the whole streams infrastructure. MB>>Renabling pure fp's now will now break any external extension that MB>>relies on that fact. And thus we must not change anything because of MB>>any other unknown extension. Do you know _any_ external extension that relies on

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Marcus Boerger
Hello Stanislav, Wednesday, March 9, 2005, 6:23:01 PM, you wrote: DR so we list it as a feature". Nice, eh? So please let's discuss it to the DR matter. DR>>> DR>>>But that's exactly what happens, otherwise we break BC. > BC is very important, but in this case it's irrelevant unless we h

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
DR>>> so we list it as a feature". Nice, eh? So please let's discuss it to the DR>>> matter. DR>> DR>>But that's exactly what happens, otherwise we break BC. BC is very important, but in this case it's irrelevant unless we have some functions beside zend_stream_read that expect file_handle to be

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Derick Rethans
On Wed, 9 Mar 2005, Stanislav Malyshev wrote: > WF>>there for quite a long time now; you've had plenty of time to raise > WF>>issues. > > That's one hell of an argument. If I didn't notice it was broken before, > then it stops being broken now? Try this with bug reports: "this bug was > in PHP for

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
WF>>Bitching about code breakage for something that is not in public CVS WF>>isn't going to win you any points. Calling discussion about code "bitching" is not going to win you any points either. I do not see why code that is not in public CVS is worse than code that is or how breaking it is nicer

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Wez Furlong
Bitching about code breakage for something that is not in public CVS isn't going to win you any points. This code was added specifically so that include and require will operate correctly on all php streams. Not only that, but it has been there for quite a long time now; you've had plenty of time

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
WF>>Yes, you missed that a stream can be any stream from PHP land. If it's the PHP stream that's ok for it to be STREAM. PHP streams have own operators for foing things, so if I know STREAM type refers to PHP stream it is completely OK. What I do not understand is why you convert FP to STREAM. O

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Wez Furlong
Yes, you missed that a stream can be any stream from PHP land. Which code in the engine does more than read/close? --Wez. On Wed, 9 Mar 2005 18:00:11 +0200 (IST), Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > WF>>You can't rely on stat working. > > Why not? What's so special in stat that it c

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
WF>>You can't rely on stat working. Why not? What's so special in stat that it can not work on file handle? And why this STREAM type at all - if the only places it is used is where you have switch on type anyway or in zend_stream.c where you could have the switch as well? What did you achive by

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Wez Furlong
Why do you need to stat it? You can't rely on stat working. --Wez. On Wed, 9 Mar 2005 17:47:13 +0200 (IST), Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > WF>>What are you trying to do exactly? > > For example, I try to stat a file_handle (in case it's possible - i.e. > either it's a file or s

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
WF>>What are you trying to do exactly? For example, I try to stat a file_handle (in case it's possible - i.e. either it's a file or stream operator allows doing stat on it). Current way of doing things guarantees crash on STREAM handle whatever I do, since there's no way to know is this STREAM

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Wez Furlong
What are you trying to do exactly? The engine only needs to read from such a file handle and feed that data into its lexer and parser. --Wez. On Wed, 9 Mar 2005 17:22:58 +0200 (IST), Stanislav Malyshev <[EMAIL PROTECTED]> wrote: > WF>>The idea is that the zend engine should only call the function

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
WF>>The idea is that the zend engine should only call the functions in WF>>zend_stream.c to access the script input. The fixup function is But file_handle is not used only for input. There are a lof of other things that can be done with handle. Getting stat, for example, or seeking. It's possib

Re: [PHP-DEV] Simple idea for ERP - please help

2005-03-09 Thread Wez Furlong
This is not the list you are looking for, you want [EMAIL PROTECTED] --Wez. On Wed, 09 Mar 2005 10:37:43 +0100, morty <[EMAIL PROTECTED]> wrote: > Heloo > > I'm starting project.First stage is for my school work, but i want to > develop it to the end. > > I want to create a ERP based on php f

Re: [PHP-DEV] zend_stream_fixup

2005-03-09 Thread Wez Furlong
The idea is that the zend engine should only call the functions in zend_stream.c to access the script input. The fixup function is designed to promote FILE* or file descriptors up to something compatible with its stdio stream reading functions. Filenames are handed out to PHP and opened up using

[PHP-DEV] Simple idea for ERP - please help

2005-03-09 Thread morty
Heloo I'm starting project.First stage is for my school work, but i want to develop it to the end. I want to create a ERP based on php for small company's I want to use as many as possible created opensource applications. First i need to choose some framework, maybye someone think that php is no

[PHP-DEV] zend_stream_fixup

2005-03-09 Thread Stanislav Malyshev
Can somebody explain me what zend_stream_fixup() function does? I see that it I give it ZEND_HANDLE_FP it converts it to ZEND_HANDLE_STREAM, but the handle of the stream does not become php_stream *, it still is FILE *. Does it mean that when I have ZEND_HANDLE_STREAM, the handle basically can