[PATCH] fix mbregex for VPATH builds

2003-10-27 Thread Joe Orton
Hi, mbregex breaks a VPATH build in the 4.3 branch currently, here is a fix: Index: ext/mbstring/config.m4 === RCS file: /repository/php-src/ext/mbstring/config.m4,v retrieving revision 1.28.2.4 diff -u -r1.28.2.4 config.m4 ---

Re: cvs: php4 /ext/standard basic_functions.c

2003-04-03 Thread Jan Schneider
Sascha Schumann wrote: sas Tue Apr 1 05:02:29 2003 EDT Modified files: /php4/ext/standard basic_functions.c Log: Fix segfault in register_shutdown_function Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.599

Re: [PHP-DEV] Question for Zeev, Zak or Georg - mysql_query andpossible integer overflow?

2003-03-26 Thread Matt Flaherty
Thanks guys for your feedback. With regard to PEAR, I've had to patch PEAR::DB::mysql to solve another problem I've had with the prepared_queries field growing steadily. I'm sure this is also a problem with the either DB subclasses. I'll post my patch to pear-dev as I don't have a CVS account yet.

[PHP-DEV] Question for Zeev, Zak or Georg - mysql_query and possible integeroverflow?

2003-03-25 Thread Matt Flaherty
Hi, I have a question for the authors of the mysql extension. I'm sure you gentlemen are very busy, but I'd appreciate your insight if you can spare a moment. I'm developing a stand-alone php application running in an infinite loop from the command line interface. A mysql database is polled

Re: [PHP-DEV] Question for Zeev, Zak or Georg - mysql_query andpossible integer overflow?

2003-03-25 Thread Wez Furlong
Hi Matt, Yes, there is a risk of overflow. From my understanding, the id is signed, so you will hit overflow at 2G rather than 4G resources. This applies to any/all PHP/ZE resources. I'm not sure what happens when it overflows; it seems like the query would fail. You could design your

Re: [PHP-DEV] Question for Zeev, Zak or Georg - mysql_query andpossible integer overflow?

2003-03-25 Thread Matt Flaherty
Thanks Wez, If all that happens is the query will fail, I can live with that. It's a simple SELECT query called over and over again. If the integer wraps around negative, I'm guessing that would probably have undesirable effects. If not, then I can let it run forever. What I don't want is

Re: [PHP-DEV] Question for Zeev, Zak or Georg - mysql_query and possible integer overflow?

2003-03-25 Thread Zak Greant
On Tue, Mar 25, 2003 at 01:50:17PM +, Matt Flaherty wrote: Hi, I have a question for the authors of the mysql extension. I'm sure you gentlemen are very busy, but I'd appreciate your insight if you can spare a moment. I'm developing a stand-alone php application running in an infinite

[PHP-DEV] Is this a bug?

2003-03-25 Thread Tony Bibbs
Are there instances you all can think of where doing a header('location: $url'); causes a loss of all session data? I have a case I can reproduce consistently where doing a header() refresh or echoing out an HTML page with a meta refresh both cause resulting page to lose session. My hunch is

Re: [PHP-DEV] Is this a bug?

2003-03-25 Thread Chris Shiflett
--- Tony Bibbs [EMAIL PROTECTED] wrote: Are there instances you all can think of where doing a header('location: $url'); causes a loss of all session data? This is most likely not a bug. You can (hopefully) find more people to help with this type of question on [EMAIL PROTECTED] Good luck.

Re: [PHP-DEV] Question for Zeev, Zak or Georg - mysql_query and possible integer overflow?

2003-03-25 Thread Zeev Suraski
I believe he meant the query id's that the engine uses, and not the auto increment id's. Wez's response was accurate, we'll overflow at some point. This is basically because PHP was designed with short requests in mind. We could probably fix it relatively easily for ZE2. Zeev At 13:15

Re: [PHP-DEV] Question for Zeev, Zak or Georg - mysql_query and possible integer overflow?

2003-03-25 Thread Zak Greant
D'oh - read too little, too fast. :) On Tue, Mar 25, 2003 at 05:55:42PM -0800, Zeev Suraski wrote: I believe he meant the query id's that the engine uses, and not the auto increment id's. Wez's response was accurate, we'll overflow at some point. This is basically because PHP was designed

[PHP-DEV] locale bug from php4.3.0

2003-03-24 Thread Giuseppe Tanzilli - CSF
Hi, just porting big 4.2.3 application to 4.3.2rc, I see something changed from 4.3.0 about locale settings. Before 4.3.0 locale was used to print out numbers in string format and to read numbers from string formats. I mean php uses the decimal delimiter definied in the locale settings. From 4.3.0

[PHP-DEV] PHP 4 Bug Summary Report

2003-03-22 Thread php-dev
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (904 total including feature requests) ===[*Configuration Issues] 20490 Analyzed enable versioning not supported on OSX 21195 Verified Configure warnings/errors 21973

Re: [PHP-DEV] [PATCH] OCI8 link failure (Tru64/AIX) (#22324)

2003-03-22 Thread Jani Taskinen
Attached is patch for ext/oci8/config.m4, please try it out. --Jani On Tue, 11 Mar 2003, Michael Mauch wrote: Jani Taskinen [EMAIL PROTECTED] wrote: I still don't think we should be linking with libocijdbc8 in any case. Can you ask some Oracle support why their libs differ

[PHP-DEV] segfault with ze2/php5-cvs

2003-03-21 Thread Sterling Hughes
?php class sheep { var $name; } $start = new sheep; $start-name = Dolly; $new = $start-__clone(); $new-name = Molly; var_dump($start); ? BOOM! -Sterling -- Good judgement comes from experience, and experience comes from bad judgement. - Fred Brooks -- PHP Development Mailing List

Re: [PHP-DEV] segfault with ze2/php5-cvs

2003-03-21 Thread Joey Smith
Very nice. What about: ?php class person { var $name; } $start = new person; $start-name = 'Eve'; $new = $start-__clone(); ? Does it come back with 'Call to a member function on a non-object'? On Fri, Mar 21, 2003 at 02:47:06PM -0500,

Re: [PHP-DEV] segfault with ze2/php5-cvs

2003-03-21 Thread Sterling Hughes
On Fri, 2003-03-21 at 15:12, Joey Smith wrote: Very nice. What about: ?php class person { var $name; } $start = new person; $start-name = 'Eve'; $new = $start-__clone(); ? Does it come back with 'Call to a member function on a

[PHP-DEV] ze2 segfault #2

2003-03-21 Thread Sterling Hughes
When running the following example through pres2 (apache 1.3.27), I get a segfault.. Sample pres2 file. slide titleInterfaces Suck/title blurbThey really do/blurb example filename=interface2.php result=1 / /slide interface2.php:: ?php interface ISerializable { function sleep();

Re: [PHP-DEV] ze2 segfault #2

2003-03-21 Thread Sterling Hughes
Nevermind, I found the bug, and I have a fix that I'm testing right now. -Sterling On Fri, 2003-03-21 at 16:53, Sterling Hughes wrote: When running the following example through pres2 (apache 1.3.27), I get a segfault.. Sample pres2 file. slide titleInterfaces Suck/title blurbThey really

Re: [PHP-DEV] Language Auto Detection / www.php.net

2003-03-19 Thread Stig S. Bakken
On Wed, 2003-03-12 at 11:31, James Cox wrote: Gabor Hojtsy [EMAIL PROTECTED] wrote: is there any chance that we can revert this annoying feature? The translated documentation is always behind and partly lacks important information from the english version. I want to read the

[PHP-DEV] Re: cvs: php4 /ext/tokenizer tokenizer.c

2003-03-19 Thread Jani Taskinen
It really doesn't matter anyhow, the HEAD of php4 only works with ZE2 anyway. --Jani On Wed, 19 Mar 2003, Greg Beaver wrote: Hi, shouldn't the first REGISTER_LONG_CONSTANT(T_DOC_COMMENT, etc. etc.) be within the #ifdef ZEND_ENGINE2 at the end of the list of

Re: [PHP-DEV] Pb : access control

2003-03-18 Thread Fabrice Le Coz
here a code to test private variables ?php // test private variables class foo { private $name = foo; function __construct() { $this-name = foo2; } } class baz extends foo { function show() { echo name : $this-name \n; } } $test = new baz(); $test-show();

[PHP-DEV] add SMTP authentication to php.mail() function

2003-03-18 Thread John M. Calvert
Hello, I'm interested to add SMTP authentication to the php.mail() function. Is this something that the PHP dev community would endorse? I'm told that as a newbie contributor I wouldn't have direct access to the CVS, that I'd have to post my diffs to this list or get an existing developer to

[PHP-DEV] __call for the namespaces

2003-03-17 Thread Brad LaFountain
This idea spawned from playing with ext/rpc and the ability to declare class types on the fly Since zend_namespaces is really _zend_class_entry I think it would be cool to implement __call at the namespace level. namespace java { function __call($classname) { // this will be called every

[PHP-DEV] curl multi

2003-03-17 Thread Wico de Leeuw
Hiya, If someone has some spare time could he look at curl_multi_info_read() i'd like to use (test) the curl_multi functions, but without the curl_multi_info_read it isn't really usefull (and when i look at the source i thing it's almost finished) P.S. when i test them i'll report back to you

[PHP-DEV] Re: [PHP-CVS] curl multi

2003-03-17 Thread Sterling Hughes
On Mon, 2003-03-17 at 10:29, Wico de Leeuw wrote: sorry for writing to the wrong list should have been phpdev offcourse At 16:28 17-3-03 +0100, Wico de Leeuw wrote: Hiya, If someone has some spare time could he look at curl_multi_info_read() i'd like to use (test) the curl_multi functions,

[PHP-DEV] Pb : access control

2003-03-17 Thread Fabrice Le Coz
Hi, I'm playing with PHP5 and have some trouble wtith access control, here's the code I run with last php5 from snaps.php.net under windows XP : ?php class pere { private $var3; public$var1; protected $var2; function __construct() { $this-var1 = public;

[PHP-DEV] Re: [PHP-CVS] curl multi

2003-03-17 Thread Wico de Leeuw
At 11:15 17-3-03 -0500, Sterling Hughes wrote: On Mon, 2003-03-17 at 10:29, Wico de Leeuw wrote: sorry for writing to the wrong list should have been phpdev offcourse At 16:28 17-3-03 +0100, Wico de Leeuw wrote: Hiya, If someone has some spare time could he look at curl_multi_info_read()

Re: [PHP-DEV] Pb : access control

2003-03-17 Thread Andi Gutmans
Can you cut down the script to like 10 lines and say what your result is and what you'd expect? At 05:37 PM 3/17/2003 +0100, Fabrice Le Coz wrote: Hi, I'm playing with PHP5 and have some trouble wtith access control, here's the code I run with last php5 from snaps.php.net under windows XP :

Re: [PHP-DEV] 4.3.2RC1: patch to compile with libgd 2

2003-03-17 Thread Jani Taskinen
Please try the latest STABLE cvs snapshot from http://snaps.php.net as this seems to be fixed already. --Jani On Sat, 15 Mar 2003, Roberto Biancardi wrote: --- ext/gd/gdttf.c.orig Sat Mar 15 22:38:28 2003 +++ ext/gd/gdttf.c Sat Mar 15 22:42:42 2003 @@ -744,9

Re: [PHP-DEV] 4.3.2RC1: patch to compile with libgd 2

2003-03-17 Thread Roberto Biancardi
nope. Was introduced by this late fix: http://cvs.php.net/diff.php/php4/ext/gd/gdttf.c?login=2r1=1.17r2=1.18ty=h and merged into 4.3.2RC1. Jani Taskinen wrote: Please try the latest STABLE cvs snapshot from http://snaps.php.net as this seems to be fixed already. -- -- Roberto

[PHP-DEV] Apache2 as service, php4.3.1 and Interbase 6.0

2003-03-16 Thread Dr. I. Schueler
Hi! I am trying to setup Apache2, php4.3.1 and Interbase 6.0 to work together on a Windows 2000 Professional system. When I use Apache2 as a console application, everything seems to work ok, but when I use it as a service it does not see the the Interbase database anymore (php errror - Warning:

[PHP-DEV] RPC Extension

2003-03-16 Thread Brad LaFountain
I was just playing with the RPC extension. Don't you think that the rpc layer should pass along TSRMLS_CC to all of the callbacks? rpc_call(rpc_string, void *, zval *, int, zval *** TSRMLS_CC); - Brad __ Do you Yahoo!? Yahoo! Web Hosting -

Re: [PHP-DEV] RPC Extension

2003-03-16 Thread Brad LaFountain
Other issues: 1) Passing This to callbacks Also I think we should pass getThis() to the handlers too rpc_call(zval *this, rpc_string, void *, zval *, int, zval *** TSRMLS_DC); 2) Return object types I see that the rpc layer is actually trying to register a new zend class for every new

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-15 Thread Wez Furlong
On Sat, 15 Mar 2003, James Devenish wrote: Regardless of what you personally understand (and what I personally understand), my point would be that the problems are simply unfixed by *anyone*. This is the first time that anyone has brought this issue to my attention. Index: main/streams.c

RE: [PHP-DEV] Possible problem in the parser

2003-03-15 Thread Marcus Börger
At 13:01 14.03.2003, Ford, Mike [LSS] wrote: Just to make this completely clear, in left-associative PHP b = a==1? 4:a==2? 5:6; is equivalent to b = (a==1? 4:a==2)? 5:6; NO it is not equal. Either '==' has higher precedence OR '?:' has. See one of my previous

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-15 Thread David Hill
Even so, I don't know what would be hard for anyone to understand about my patches (and no-one has asked me in the past). If you think there simply too many of them, most of them are probably whitespace disagreements between what you committed and what the PHP style appears to be. The basis

[PHP-DEV] PHP 4 Bug Summary Report

2003-03-15 Thread php-dev
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (1030 total including feature requests) ===[*Configuration Issues] 19282 Wont fix Place php4ts.dll into \sapi 20490 Analyzed enable versioning not supported on OSX

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-15 Thread Chris Field
For my own education, is there a reason they were passed as void* to begin with? On Fri, 2003-03-14 at 23:43, James Devenish wrote: In message [EMAIL PROTECTED] on Fri, Mar 14, 2003 at 05:22:11PM +, Wez Furlong wrote: Please coordinate with me on streams issues; if some 64bit oses

[PHP-DEV] php-4.3.2RC1 interbase/firebird config.m4 problem

2003-03-15 Thread Daniela Mariaschi
Let's spend few words about Firebird first. Firebird it's a fork of Interbase 6.0 source code, and its development is managed by a team of independent developers, not from Borland itself. Only Interbase 6.0 has been released as open source code instead Firebird is an open source project

[PHP-DEV] 4.3.2RC1: patch to compile with libgd 2

2003-03-15 Thread Roberto Biancardi
--- ext/gd/gdttf.c.orig Sat Mar 15 22:38:28 2003 +++ ext/gd/gdttf.c Sat Mar 15 22:42:42 2003 @@ -744,9 +744,13 @@ if (tweencolorkey.pixel 0) { x3 = x2 + col; if (x3 = im-sx || x3 0) continue; +#if

RE: [PHP-DEV] Possible problem in the parser

2003-03-14 Thread Ford, Mike [LSS]
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 19:33 To: Ford, Mike [LSS] Cc: 'Andrey Hristov'; [EMAIL PROTECTED] Subject: RE: [PHP-DEV] Possible problem in the parser At 14:58 13.03.2003, Ford, Mike [LSS] wrote: Just to

RE: [PHP-DEV] Possible problem in the parser

2003-03-14 Thread Andi Gutmans
You are right that it doesn't behave the same as C. However, personally although it might have been better for it to work like C I don't think it's a good idea to change it now. First of all it would break backwards compatibility in a way which would be hard for people to find where the bug is

RE: [PHP-DEV] Possible problem in the parser

2003-03-14 Thread Jani Taskinen
On Fri, 14 Mar 2003, Andi Gutmans wrote: You are right that it doesn't behave the same as C. However, personally although it might have been better for it to work like C I don't think it's a good idea to change it now. First of all it would break backwards compatibility in a way which would be

RE: [PHP-DEV] Possible problem in the parser

2003-03-14 Thread Ford, Mike [LSS]
-Original Message- From: Andi Gutmans [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 14:50 You are right that it doesn't behave the same as C. However, personally although it might have been better for it to work like C I don't think it's a good idea to change it now. First of

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
CRIPES, people! I posted patches in November 2002 (admittedly, it was a large patch and probably no one got to check it all out). Then, I reposted them (and sent then directly to you, Dave!) a few days ago. And I got all but the three files merged that are probably causing his problem too -

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread Wez Furlong
Please coordinate with me on streams issues; if some 64bit oses declare descriptors as longs rather than ints, then we could have a bigger job on our hands (similar to the mess with socket types under win32). --Wez. On Fri, 14 Mar 2003, David Hill wrote: CRIPES, people! I posted patches in

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
CRIPES, people! I posted patches in November 2002 (admittedly, it was a large patch and probably no one got to check it all out). Then, I reposted them (and sent then directly to you, Dave!) a few days ago. And I got all but the three files merged that are probably causing his problem too -

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
Please coordinate with me on streams issues; if some 64bit oses declare descriptors as longs rather than ints, then we could have a bigger job on our hands (similar to the mess with socket types under win32). Tru64 HP-UX (and I would guess Solaris and the rest) - the descriptor is an int,

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread Wez Furlong
On Fri, 14 Mar 2003, David Hill wrote: Please coordinate with me on streams issues; if some 64bit oses declare descriptors as longs rather than ints, then we could have a bigger job on our hands (similar to the mess with socket types under win32). Tru64 HP-UX (and I would guess Solaris

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread David Hill
Which part of please coordinate with me on streams issues didn't you get? ;-) If there are long vs int issues in streams, please let me know where they are and I will fix it. Thanks :) Forgive me if I am a bit dense tonight :-) My 15 yr old son is having a lan party in the basement with

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-14 Thread James Devenish
In message [EMAIL PROTECTED] on Fri, Mar 14, 2003 at 05:22:11PM +, Wez Furlong wrote: Please coordinate with me on streams issues; if some 64bit oses declare descriptors as longs rather than ints, then we could have a bigger job on our hands (similar to the mess with socket types under

Re: [PHP-DEV] compiling PHP_4_3

2003-03-13 Thread Corne' Cornelius
Nevermind, stupid me made stupid mistake Rasmus Lerdorf wrote: Did you actually check out version 4.3? cvs co -r PHP_4_3 php4 Check your CVS/Entries file. You should see the branch name after each file. -Rasmus On Thu, 13 Mar 2003, Corne' Cornelius wrote: Hi, I compiled CLI version of

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-13 Thread Hartmut Holzgraefe
Sterling Hughes wrote: In what country can you walk onto the floor of the congress (parliament) without sponsorship? OTOH in which country do you *trust* your parliament? -- Six Offene Systeme GmbH http://www.six.de/ i.A. Hartmut Holzgraefe Email: [EMAIL PROTECTED] Tel.:

Re: [PHP-DEV] Scope and namespace

2003-03-13 Thread Zeev Suraski
At 23:48 12/03/2003, Andrei Zmievski wrote: Seeing as how we now have only one-level deep namespaces and classes (which is another topic), does it make sense to have both 'scope' and 'ns' fields in zend_op_array structure? I would think they can be merged into one. Not really, we can't. You can

RE: [PHP-DEV] Possible problem in the parser

2003-03-13 Thread Ford, Mike [LSS]
-Original Message- From: Andrey Hristov [mailto:[EMAIL PROTECTED] Sent: 12 March 2003 17:26 On Wed, 12 Mar 2003, Andrey Hristov wrote: Few minutes ago I found the following behaviour somehow wierd for me : Known bug, the associativity of the ternary operator has been

Re: [PHP-DEV] Scope and namespace

2003-03-13 Thread Zeev Suraski
At 15:54 13/03/2003, Andrei Zmievski wrote: On Thu, 13 Mar 2003, Zeev Suraski wrote: Not really, we can't. You can have functions inside a namespace, that don't have a class entry attached to them. I guess we could create some hybrid of the namespace and ce, but it would end up being ugly,

[PHP-DEV] CVS Account Request: jorton

2003-03-13 Thread Joe Orton
Commit of autoconf code cleanups to php4 (4_3 branch) needed for systems which have system libraries in /usr/lib64 rather than /usr/lib. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CVS Account Request: jorton

2003-03-13 Thread Sascha Schumann
On Thu, 13 Mar 2003, Joe Orton wrote: Commit of autoconf code cleanups to php4 (4_3 branch) needed for systems which have system libraries in /usr/lib64 rather than /usr/lib. Please post patches. - Sascha -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] CVS Account Request: jorton

2003-03-13 Thread Joe Orton
On Thu, Mar 13, 2003 at 04:18:51PM +0100, Sascha Schumann wrote: On Thu, 13 Mar 2003, Joe Orton wrote: Commit of autoconf code cleanups to php4 (4_3 branch) needed for systems which have system libraries in /usr/lib64 rather than /usr/lib. Please post patches. I have done, Sascha

[PHP-DEV] 64bit PHP on solaris

2003-03-13 Thread Chris Field
We have been attempting to run php on a brand new sun v880, and have had a number of problems. first file_get_contents readfile both core dump with bus errors b/c the file descriptors are typed as int's when they should be longs (steams.c lines 1020/1156) second, and far stranger is when you

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-13 Thread Wez Furlong
Make sure that you are using the latest stable snapshot from http://snaps.php.net; a number of 64bit issues have already been addressed. --Wez. On Thu, 13 Mar 2003, Chris Field wrote: We have been attempting to run php on a brand new sun v880, and have had a number of problems. first

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-13 Thread Chris Field
I am working off a checkout from about three days ago... On Thu, 2003-03-13 at 11:21, Wez Furlong wrote: Make sure that you are using the latest stable snapshot from http://snaps.php.net; a number of 64bit issues have already been addressed. --Wez. On Thu, 13 Mar 2003, Chris Field

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-13 Thread Wez Furlong
Of the PHP_4_3 branch? Could you open a bug report for each of these three issues at bugs.php.net? --Wez. On Thu, 13 Mar 2003, Chris Field wrote: I am working off a checkout from about three days ago... On Thu, 2003-03-13 at 11:21, Wez Furlong wrote: Make sure that you are using the

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-13 Thread David Hill
Chris, some of these changes went in a few days ago, so you want to: cvs co -r PHP_4_3 php4 or grab the release candidate. first file_get_contents readfile both core dump with bus errors b/c the file descriptors are typed as int's when they should be longs (steams.c lines

RE: [PHP-DEV] Possible problem in the parser

2003-03-13 Thread Marcus Börger
At 14:58 13.03.2003, Ford, Mike [LSS] wrote: Just to make this completely clear, in left-associative PHP b = a==1? 4:a==2? 5:6; is equivalent to b = (a==1? 4:a==2)? 5:6; NO it is not equal. Either '==' has higher precedence OR '?:' has. See one of my previous mails where

Re: [PHP-DEV] 64bit PHP on solaris

2003-03-13 Thread James Devenish
In message [EMAIL PROTECTED] on Thu, Mar 13, 2003 at 02:05:45PM -0500, David Hill wrote: first file_get_contents readfile both core dump with bus errors b/c the file descriptors are typed as int's when they should be longs (steams.c lines 1020/1156) The lines don't match up to the

RE: [PHP-DEV] Re: Segmentation violation

2003-03-13 Thread NAIK,ROSHAN (HP-Cupertino,ex1)
what is your platform ? -Original Message- From: Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:03 PM To: [EMAIL PROTECTED] Subject: [PHP-DEV] Re: Segmentation violation J, I will post an issue, but as far as I can tell the error is very intermittent. I

Re: [PHP-DEV] iterating objects with interfaces

2003-03-12 Thread Zeev Suraski
At 02:48 12/03/2003, Stephen Thorne wrote: How soon till ('pre'.($_GET['textArea']-strip_tags()).'/pre')-print(); ? Considering $_GET is an array of strings, infinity :) Zeev -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] iterating objects with interfaces

2003-03-12 Thread Derick Rethans
On Wed, 12 Mar 2003, Zeev Suraski wrote: At 02:48 12/03/2003, Stephen Thorne wrote: How soon till ('pre'.($_GET['textArea']-strip_tags()).'/pre')-print(); ? Considering $_GET is an array of strings, infinity :) Is that before or after hell freezes? :) Derick --

Re: [PHP-DEV] Re: php4 /ext/fam fam.c /ext/fbsql php_fbsql.c /ext/hwapi hwapi.cpp /ext/hyperwave hw.c /ext/informix ifx.ec /ext/ingres_ii ii.c /ext/interbase interbase.c /ext/ircg ircg.c /ext/ldap

2003-03-12 Thread moshe doron
Jani Taskinen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Your cvs checkout is broken: # cvs -d :pserver:[EMAIL PROTECTED]:/repository co php5 while php5 and php4 PHP_4_3 works fine *php4* is broken. may i missing somthing but why not do the default php4

Re: [PHP-DEV] Re: php4 /ext/fam fam.c /ext/fbsql php_fbsql.c /ext/hwapi hwapi.cpp /ext/hyperwave hw.c /ext/informix ifx.ec /ext/ingres_iiii.c /ext/interbase interbase.c /ext/ircg ircg.c /ext/

2003-03-12 Thread Derick Rethans
On Wed, 12 Mar 2003, moshe doron wrote: Jani Taskinen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Your cvs checkout is broken: # cvs -d :pserver:[EMAIL PROTECTED]:/repository co php5 while php5 and php4 PHP_4_3 works fine *php4* is broken. It's

Re: [PHP-DEV] Language Auto Detection / www.php.net

2003-03-12 Thread Gabor Hojtsy
is there any chance that we can revert this annoying feature? The translated documentation is always behind and partly lacks important information from the english version. I want to read the documentation in english (and I am not the only one). This is only possible if I change the url after

Re: [PHP-DEV] Language Auto Detection / www.php.net

2003-03-12 Thread James Cox
Gabor Hojtsy [EMAIL PROTECTED] wrote: is there any chance that we can revert this annoying feature? The translated documentation is always behind and partly lacks important information from the english version. I want to read the documentation in english (and I am not the only one). This

Re: [PHP-DEV] Language Auto Detection / www.php.net

2003-03-12 Thread Gabor Hojtsy
is there any chance that we can revert this annoying feature? The translated documentation is always behind and partly lacks important information from the english version. I want to read the documentation in english (and I am not the only one). This is only possible if I change the

Re: [PHP-DEV] How to Connect remote DB server?

2003-03-12 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Wed, 12 Mar 2003, Patrick LOK wrote: It is possible to connect a remote db server using x_connect? e.g. a PostgreSQL in server PSQLDB,

Re: [PHP-DEV] Segfault with latest CVS

2003-03-12 Thread Sebastian Bergmann
Derick Rethans wrote: uhm, this will be fixed ... some time :) Zeev fixed it. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/ -- PHP Development Mailing List

Re: [PHP-DEV] Is PHP designed (have the capability) to access remote DB?

2003-03-12 Thread Patrick LOK
DON'T YOU THINK IT IS ABOUT THE DEVELOPMENT OF PHP ITSELF? Derick Rethans [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Stop posting user questions to the php-dev and php5-dev list, as I explained before. Derick On Wed, 12 Mar 2003, Patrick LOK wrote: Is PHP designed (have

Re: [PHP-DEV] Is PHP designed (have the capability) to access remoteDB?

2003-03-12 Thread Derick Rethans
On Wed, 12 Mar 2003, Patrick LOK wrote: DON'T YOU THINK IT IS ABOUT THE DEVELOPMENT OF PHP ITSELF? NO (and stop shouting, we're not in a market here) Derick -- my other box is your windows PC

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt interface_instantiate.phpt interface_member.phpt interface_method.phpt interface_method_final.phpt interface_method_private.phpt interface_must_be_implemented.phpt

2003-03-12 Thread Andrei Zmievski
On Wed, 12 Mar 2003, Marcus Boerger wrote: helly Tue Mar 11 19:10:00 2003 EDT Added files: /php4/tests/classes interface_class.phpt interface_doubled.phpt interface_implemented.phpt

[PHP-DEV] PHP - PDF on the fly

2003-03-12 Thread Bev
Hi, BACKGROUND I am looking to create a series of Certificates and Brouchures etc and then using the products Print/Acrobat Distiller option save the documents as PDF(with some pre-built in Name1, address1, address2 variables that can be automatically resolved on-the fly using a

Re: [PHP-DEV] PHP - PDF on the fly

2003-03-12 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Wed, 12 Mar 2003, Bev wrote: Hi, BACKGROUND I am looking to create a series of Certificates and Brouchures etc and then

[PHP-DEV] PHP - PDF ...hmm is this the correct way??

2003-03-12 Thread Bev
Hi, BACKGROUND I am looking to create a series of Certificates and Brouchures etc and then using the products Print/Acrobat Distiller option save the documents as PDF(with some pre-built in Name1, address1, address2 variables that can be automatically resolved on-the fly using a

Re: [PHP-DEV] PHP - PDF ...hmm is this the correct way??

2003-03-12 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Wed, 12 Mar 2003, Bev wrote: Hi, BACKGROUND I am looking to create a series of Certificates and Brouchures etc and

[PHP-DEV] Need some ZE2 functions exported.

2003-03-12 Thread l0t3k
im trying to do some namespace related experimentation but im getting the following link errors : i18n_util.obj : error LNK2001: unresolved external symbol _zend_init_namespace i18n_util.obj : error LNK2001: unresolved external symbol _zend_initialize_class_data i18n_util.obj : error LNK2001:

[PHP-DEV] Re: Segmentation violation

2003-03-12 Thread J Smith
How about providing a short example script that reproduces the segfault? Posting a backtrace is all well and good, but it's not very useful if nobody can see what initiated it. J Matt wrote: Hi, i've never posted to this newsgroup b4 so pls don't shoot me down if this is not protocol. But

[PHP-DEV] Re: PHP Startup Error In Apache

2003-03-12 Thread J Smith
Looks like a problem with your php.ini file. There should be some lines in there that read something like extension=xslt.so extension=xmlrpc.so extension=xml.so There should also be a line that reads extension_dir=/some/path Make sure the path in extension_dir actually leads to the extension

[PHP-DEV] function to read fixed length text

2003-03-12 Thread Frederic . Hahn
Hi Devs, as this is the first time I post to this list, I hope I do the right thing. I programmed a nice little function, that is not very nitty but might be useful for other users as well. See the script below. Cheers! -- {Bis bald Frederic;} ? // function to read a 'fixed

Re: [PHP-DEV] function to read fixed length text

2003-03-12 Thread didou
Hi, You should post this to [EMAIL PROTECTED], this one is for development OF PHP. Cheers, Hi Devs, as this is the first time I post to this list, I hope I do the right thing. I programmed a nice little function, that is not very nitty but might be useful for other users as well.

Re: [PHP-DEV] function to read fixed length text

2003-03-12 Thread Derick Rethans
On Wed, 12 Mar 2003 [EMAIL PROTECTED] wrote: as this is the first time I post to this list, I hope I do the right thing. It's the wrong list, user questions/additions/usefullness should go to [EMAIL PROTECTED], only if you are developing the PHP language or have bugs you can post here.

[PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Jani Taskinen
Of about 20 emails today, 6 were posted to wrong mailing list. And one of those generated a 5 email thread about not posting to wrong mailing list. (counting this one :) So I suggest we finally make this list MODERATED. --Jani -- PHP Development Mailing List

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Derick Rethans
On Wed, 12 Mar 2003, Jani Taskinen wrote: Of about 20 emails today, 6 were posted to wrong mailing list. And one of those generated a 5 email thread about not posting to wrong mailing list. (counting this one :) So I suggest we finally make this list MODERATED. +1

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Andrey Hristov
I think this is just a bad day :) Andrey - Original Message - From: Jani Taskinen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 6:59 PM Subject: [PHP-DEV] Moderate PHP-DEV Of about 20 emails today, 6 were posted to wrong mailing list. And one of

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Sascha Schumann
On Wed, 12 Mar 2003, Jani Taskinen wrote: Of about 20 emails today, 6 were posted to wrong mailing list. And one of those generated a 5 email thread about not posting to wrong mailing list. (counting this one :) So I suggest we finally make this list MODERATED. -1.

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Sterling Hughes
On Wed, 2003-03-12 at 12:01, Derick Rethans wrote: On Wed, 12 Mar 2003, Jani Taskinen wrote: Of about 20 emails today, 6 were posted to wrong mailing list. And one of those generated a 5 email thread about not posting to wrong mailing list. (counting this one :)

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Jani Taskinen
It was a 7 hour period. And not only today, this happens daily. (maybe not in this scale) For me, even 1 OT email is too much. (But it's propably just me, who is stupid enough to read EVERY email coming here.) --Jani On Wed, 12 Mar 2003, Andrey Hristov

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Brian Moon
| -1. | | The list could be renamed so that it is less confusing for | newbie PHP developers. | | - Sascha I agree. Brian. dealnews.com -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Andrey Hristov
Okay Jani, I also read every mail here but a non-related to this mail is easily recognizable in 2-3 secs. Most time loses Derick who answers (thanks). May be the change of the list name is good idea. Andrey - Original Message - From: Jani Taskinen [EMAIL PROTECTED] To: Andrey Hristov

Re: [PHP-DEV] Moderate PHP-DEV

2003-03-12 Thread Jani Taskinen
On Wed, 12 Mar 2003, Andrey Hristov wrote: Okay Jani, I also read every mail here but a non-related to this mail is easily recognizable in 2-3 secs. Whatever. It's still noise. Most time loses Derick who answers (thanks). Yeah, as I don't bother replying to those. :) May be the

[PHP-DEV] Possible problem in the parser

2003-03-12 Thread Andrey Hristov
Few minutes ago I found the following behaviour somehow wierd for me : ?php $a = 1; $b = $a==1? 4:$a==2? 5:6; printf(a[%d]b[%d]\n, $a, $b); ? Prints : a[1]b[5] Similar C program : main() { int a,b; a = 1; b = a==1? 4:a==2? 5:6; printf(a[%d]b[%d]\n, a, b); } Prints :

  1   2   3   4   5   6   7   8   9   10   >