[PHP-DEV] Bug #13224 Updated: pb with exec function

2001-09-10 Thread vcaron
ID: 13224 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Program Execution Operating System: win98 PHP Version: 4.0.5 New Comment: i've found a workaround by using a .bat file i've create a file called "lirezip.bat" where i put the following code @pku

[PHP-DEV] Bug #13224 Updated: pb with exec function

2001-09-10 Thread vcaron
ID: 13224 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Program Execution Operating System: win98 PHP Version: 4.0.5 Previous Comments: [2001-09-10 04:04:26]

Re: [PHP-DEV] Versioning, again (was: RE: [Zend Engine 2] Re: PHPis not case sensitive?)

2001-09-10 Thread Derick Rethans
On Mon, 10 Sep 2001, Jani Taskinen wrote: > Proposals: > > My proposal is that first we come up with a versioning scheme > with which everybody can agree on. Then we can release this > scheme to 'public' and hopefully not have to discuss/fight > about this again. > > > Examples: > > >h

[PHP-DEV] Bug #13239 Updated: server child crashes during use of mcrypt...

2001-09-10 Thread derick
ID: 13239 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: mcrypt related Operating System: Linux 2.4.2 (SuSE 7.1 / 7.2) PHP Version: 4.0CVS-2001-09-10 Old Assigned To: Assigned To: derick Edit this bug report at http://bugs.php.net/?id=13239&edit=1

[PHP-DEV] Bug #13243 Updated: Error when using 2D array

2001-09-10 Thread swm
ID: 13243 Updated by: swm Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Arrays related Operating System: Windows 98 SE PHP Version: 4.0.6 New Comment: I cannot recreate this on Unix systems. Could you please give a short script, illustrating how the 2d array is being

[PHP-DEV] Bug #13243: Error when using 2D array

2001-09-10 Thread jiri . vaja
From: [EMAIL PROTECTED] Operating system: Windows 98 SE PHP version: 4.0.6 PHP Bug Type: Arrays related Bug description: Error when using 2D array if (empty($pokoj[1][9])): ... this part of 2D array is realy empty. If I use 1D array, everything is OK, but i need 2D array. Wh

[PHP-DEV] Bug #13165 Updated: Definate problem with classes and included files

2001-09-10 Thread colin
ID: 13165 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Class/Object related Operating System: RedHat 7.1 PHP Version: 4.0.6 New Comment: Just wondering if there has been any progress on this report? Thanks. Previous Comments: -

Re: [PHP-DEV] delete (was: Re: [PHP-DEV] Woah)

2001-09-10 Thread Zeev Suraski
*Phew* :) At 06:18 11-09-01, Chuck Hagenbuch wrote: >Quoting Zeev Suraski <[EMAIL PROTECTED]>: > > > Oh yummy, we have delete()?! > >Zeev: in this case, you can relax. From >http://www.php.net/manual/en/function.delete.php: > >This is a dummy manual entry to satisfy those people who are looking

Re: [PHP-DEV] Woah

2001-09-10 Thread Chuck Hagenbuch
Quoting Steve Langasek <[EMAIL PROTECTED]>: > So I'm all for removing _() from the gettext extension... but I think the > people who are so eager for this have a responsibility to make sure PHP has a > good option for user-aliasing of functions in place before it goes away. I think if something

[PHP-DEV] delete (was: Re: [PHP-DEV] Woah)

2001-09-10 Thread Chuck Hagenbuch
Quoting Zeev Suraski <[EMAIL PROTECTED]>: > Oh yummy, we have delete()?! Zeev: in this case, you can relax. From http://www.php.net/manual/en/function.delete.php: This is a dummy manual entry to satisfy those people who are looking for unlink () or unset() in the wrong place. It's not actuall

Re: [PHP-DEV] Re: _

2001-09-10 Thread Zeev Suraski
At 06:21 11-09-01, Rodent of Unusual Size wrote: >* On 2001-09-10 at 23:18, > Zeev Suraski <[EMAIL PROTECTED]> excited the electrons to say: > > > > The smilie does make it a good natured poke, but at least as far as my > > email parser works, it still means that you mean it, and that stings :)

[PHP-DEV] Re: _

2001-09-10 Thread Rodent of Unusual Size
* On 2001-09-10 at 23:18, Zeev Suraski <[EMAIL PROTECTED]> excited the electrons to say: > > The smilie does make it a good natured poke, but at least as far as my > email parser works, it still means that you mean it, and that stings :) Well, I *don't* mean it, and I apologise. No ad homine

[PHP-DEV] Re: _

2001-09-10 Thread Zeev Suraski
At 06:12 11-09-01, Rodent of Unusual Size wrote: >* On 2001-09-10 at 23:09, > Zeev Suraski <[EMAIL PROTECTED]> excited the electrons to say: > > > > > Please do not dismiss those > > >inputs unless you think they do not count, in which case I > > >suppose we should just accept that you are inf

Re: [PHP-DEV] Woah

2001-09-10 Thread Chuck Hagenbuch
Quoting Joey Smith <[EMAIL PROTECTED]>: > I would rather see something to the effect of "use strict;" (as in > perl) that can be defined (per site/directory/namespace/SOMETHING...) > to mean "use gettext on all calls to print" than to see _() stay. That would not provide the same functionality

Re: [PHP-DEV] Woah

2001-09-10 Thread Zeev Suraski
At 04:37 11-09-01, Egon Schmid wrote: >To automatically generate lists of functions and/or a separate alias >list is no problem. The problem is the alphabetically sorting of lists >with the current DSSSL stylesheets. I hope Hartmut or Jouni will have >enough free time to play with it. Guys, Plea

[PHP-DEV] Re: _

2001-09-10 Thread Rodent of Unusual Size
* On 2001-09-10 at 23:09, Zeev Suraski <[EMAIL PROTECTED]> excited the electrons to say: > > > Please do not dismiss those > >inputs unless you think they do not count, in which case I > >suppose we should just accept that you are inflexible and > >consider your opinion better than anyone els

[PHP-DEV] Re: _

2001-09-10 Thread Zeev Suraski
At 03:42 11-09-01, Egon Schmid wrote: >The _() alias is no function. If someone build-in gettext, he or she >should read the gettext documentation. The manual can be only a better >function reference and if every alias would have a description just like >the real functions, newbies will never find

Re: [PHP-DEV] Woah

2001-09-10 Thread Zeev Suraski
Oh yummy, we have delete()?! There goes our delete operator, but hey, what a nice little messy namespace do we have! It's gotta be worth it, it's so much shorter than delete_file() :) Zeev At 02:10 11-09-01, Egon Schmid wrote: >Wez Furlong wrote: > > > > What about delete()? > > Thats not even

Re: [PHP-DEV] Woah

2001-09-10 Thread Zeev Suraski
At 01:30 11-09-01, Egon Schmid wrote: >Wez Furlong wrote: > > > So it's never going to collide with anything else > > You say that if you come across it and wonder what it does, the manual > > doesn't tell you what it is. Lets solve that by putting it in the manual. > >It is mentioned in the PHP

[PHP-DEV] Re: _

2001-09-10 Thread Zeev Suraski
At 22:18 10-09-01, Rodent of Unusual Size wrote: >Zeev Suraski wrote: > > > > Ken - see my point? :) > >I have seen it all along. I just do not think that removing >it is better than leaving it forever but discouraging it. What I was trying to point out was that you were arguing something compl

[PHP-DEV] Bug #13155 Updated: PEAR HTML/Common.php Warning: Undefined offset

2001-09-10 Thread cox
ID: 13155 Updated by: cox Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Closed Bug Type: Unknown/Other Function Operating System: All I guess PHP Version: 4.0CVS-2001-09-05 New Comment: no feedback, so close it Previous Comments:

Re: [PHP-DEV] Woah

2001-09-10 Thread Egon Schmid
Wez Furlong wrote: > > On 11/09/01, "Egon Schmid" <[EMAIL PROTECTED]> wrote: > > The _() alias is no function. If someone build-in gettext, he or she > > should read the gettext documentation. The manual can be only a better > > function reference and if every alias would have a description just

Re: [PHP-DEV] Woah

2001-09-10 Thread Steve Langasek
On Mon, 10 Sep 2001, Joey Smith wrote: > The point that *I* have been trying to get at is that this has *ALWAYS* > been a bad idea, no matter what langague you are using. > You all talk an awful lot about how _ decreases the "contextual > overhead". What I'm trying to express is that THIS IS BAD

[PHP-DEV] Bug #2: ;k

2001-09-10 Thread test2
From: [EMAIL PROTECTED] Operating system: ds PHP version: 4.0.6 PHP Bug Type: *General Issues Bug description: ;k ,mn,mn,n,m n,m n, n -- Edit bug report at: http://bugs.php.net/?id=2&edit=1 -- PHP Development Mailing List To unsubscri

Re: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
On 11/09/01, "Egon Schmid" <[EMAIL PROTECTED]> wrote: > The _() alias is no function. If someone build-in gettext, he or she > should read the gettext documentation. The manual can be only a better > function reference and if every alias would have a description just like > the real functions, new

[PHP-DEV] Bug #1: lkjlkjlkjlkjlkjlkj

2001-09-10 Thread xxx
From: [EMAIL PROTECTED] Operating system: sas PHP version: 4.0.6 PHP Bug Type: *General Issues Bug description: lkjlkjlkjlkjlkjlkj sdmsa.,m sad -- Edit bug report at: http://bugs.php.net/?id=1&edit=1 -- PHP Development Mailing List To unsubscribe,

[PHP-DEV] openssl (was Re: [PHP-DEV] Woah)

2001-09-10 Thread Wez Furlong
On 11/09/01, "Egon Schmid" <[EMAIL PROTECTED]> wrote: > PS1: I'm editing openssl to fix some prototypes, so don't touch it in > the next couple of minutes. > PS2: Sorry, will start again after an update. Please be patient until > you see my commit. Too late... I'm done for now though. --Wez.

RE: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
On 11/09/01, "Cristopher Daniluk" <[EMAIL PROTECTED]> wrote: > Still, the option of > introducing runtime function aliases and/or compiler directives was brought > up. I personally prefer this solution, its not a bad idea for PHP to have > anyway, and gives users a ONE LINE solution, while giving

Re: [PHP-DEV] Woah

2001-09-10 Thread Egon Schmid
Wez Furlong wrote: > > On 11/09/01, "Egon Schmid" <[EMAIL PROTECTED]> wrote: > > This dummy entry in the documentation was done by Kristian Kí¹¢í¾´opp If you don't use the ISO 8859-1 language I have to rewrite the name with: Kristian Koehntopp. > > because most Windows lusers wouldn't find the

RE: [PHP-DEV] Woah

2001-09-10 Thread Cristopher Daniluk
Seems like we have a trend of conventions and their exceptions in PHP :) Regards, Cristopher Daniluk President & CEO email: [EMAIL PROTECTED] direct: 330/530-2373 Digital Services Network, Inc Unleashing Your Potential voice: 800/845-4822 web: http://www.dsnet.net/ -Original Message

[PHP-DEV] Bug #13242: Issues compiling with IMAP support

2001-09-10 Thread shane
From: [EMAIL PROTECTED] Operating system: Redhat Linux 7.0 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: Issues compiling with IMAP support Having issues compiling PHP with IMAP 4.7 with Redhat 7.0 When I use the --with-imap=/usr/lib I get the same pro

Re: [PHP-DEV] Regarding the code audit

2001-09-10 Thread Sterling Hughes
On Mon, 10 Sep 2001, Joey Smith wrote: > There are quite a few warnings generated which are semi-bogus, because > the tool being used is picking up PHP function names like chmod() and > chown()while there *are* potential problems here > (see TSRM/tsrm_virtual_cwd.h), the situation is not as b

RE: [PHP-DEV] Woah

2001-09-10 Thread Cristopher Daniluk
At least can we create a reference? User wants to know what the hell _ is, he goes to www.php.net/_ and gets an answer - of course that may be a problem since _ is such a goofy url, most people will assume it doesn't work. Another reason _ is bad! :) Regards, Cristopher Daniluk President & CEO

RE: [PHP-DEV] Woah

2001-09-10 Thread Cristopher Daniluk
I think that the point Zeev, Joey, I, and maybe one other person in the world are trying to make is not that _() is the best way to call gettext, our point is that being a nifty shortcut doesn't land its home in the heart of our fabulous language. We have a billion modules in php now, everything f

Re: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
On 11/09/01, "Egon Schmid" <[EMAIL PROTECTED]> wrote: > This dummy entry in the documentation was done by Kristian Kí¹¢í¾´opp > because most Windows lusers wouldn't find the real unlink() function. > Sure it may be anoying some Unix users, but it is very helpfull for > Windows users because they a

[PHP-DEV] Regarding the code audit

2001-09-10 Thread Joey Smith
There are quite a few warnings generated which are semi-bogus, because the tool being used is picking up PHP function names like chmod() and chown()while there *are* potential problems here (see TSRM/tsrm_virtual_cwd.h), the situation is not as bad as it appears... On the other hand, the sug

RE: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RC2

2001-09-10 Thread Nael Mohammad
Will PHP work with Apache 2.0beta2, Tomcat 4.0b7, and Solaris 8? I have yet to get this combo working using apache filters. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, September 10, 2001 4:34 PM To: Sascha Schumann Cc: Alexander Wirtz; Jani Taskine

Re: [PHP-DEV] Woah

2001-09-10 Thread Joey Smith
No, actually. I find syntax highlighting both annoying and distracting. I hope you're not terribly surprised by my answer. :) I would rather see something to the effect of "use strict;" (as in perl) that can be defined (per site/directory/namespace/SOMETHING...) to mean "use gettext on all calls

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV]RC2

2001-09-10 Thread Alexander Wirtz
>The latest CVS configures and builds properly for me as a CGI >with IBMJava2-13 now. Please give it a try. CVS is working with JDK-1.3.1 as cgi. Thanks for the fix! Regards, Alex -- | Alexander Wirtz | eMail: [EMAIL PROTECTED] | | web@ctive GmbH|

Re: [PHP-DEV] Woah

2001-09-10 Thread Egon Schmid
Wez Furlong wrote: > > What about delete()? > Thats not even a real alias ? > strpos and strchr? This dummy entry in the documentation was done by Kristian Köhntopp because most Windows lusers wouldn't find the real unlink() function. Sure it may be anoying some Unix users, but it is very helpfu

[PHP-DEV] Bug #13241 Updated: round() failed elementary level math

2001-09-10 Thread jeroen
ID: 13241 Updated by: jeroen Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Math related Operating System: Linux 2.4.x PHP Version: 4.0.6 New Comment: The language-monster has eaten up my verbs, sorry for that ;-) --Jeroen Previous Comments: -

[PHP-DEV] Bug #13241 Updated: round() failed elementary level math

2001-09-10 Thread jeroen
ID: 13241 Updated by: jeroen Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Math related Operating System: Linux 2.4.x PHP Version: 4.0.6 New Comment: Floats are inaccurate, by doing some math on them, you ended up with 7.664 or something, which is correc

[PHP-DEV] Re: Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason T . Greene
> > From: "Jeroen van Wolffelaar" <[EMAIL PROTECTED]> > Date: 2001/09/10 Mon PM 01:58:03 CDT > To: "Vlad Krupin" <[EMAIL PROTECTED]>, > "Alexander Wirtz" <[EMAIL PROTECTED]> > CC: "Jason Greene" <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]>, > <[EMAIL PROTECTED]>, > "Andrei

RE: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
What about delete()? Thats not even a real alias ? strpos and strchr? Let's put in the alias for _(); it removes the wtf factor. --Wez. > It is mentioned in the PHP manual. See http://php.net/gettext. We have a > convention, not to document aliases as a function. This means _() is > mentioned w

[PHP-DEV] RISC OS port

2001-09-10 Thread Alex Waugh
Hi A while ago I port PHP to the RISC OS operating system, and now I've finally got things in a reasonable state, and would like to merge some of the changes into the main source tree. There's only a handful of small patches to various files, and a new SAPI module. Should I post the changes to

Re: [PHP-DEV] Woah

2001-09-10 Thread Egon Schmid
Wez Furlong wrote: > So it's never going to collide with anything else > You say that if you come across it and wonder what it does, the manual > doesn't tell you what it is. Lets solve that by putting it in the manual. It is mentioned in the PHP manual. See http://php.net/gettext. We have a co

[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Alexander Wirtz
Hi Jeroen, to give a little bit background, as a student of computersciences I happen to work with bitshift not as a means of having a "quick" multiplication or division, but as using it to "manipulate" bit-patterns. The distinction between signed and unsigned rightshift is nothing strange, obscu

[PHP-DEV] Bug #13241: round() failed elementary level math

2001-09-10 Thread cnewbill
From: [EMAIL PROTECTED] Operating system: Linux 2.4.x PHP version: 4.0.6 PHP Bug Type: Math related Bug description: round() failed elementary level math [Post from PHP-DEV] Produces [cnewbill@storm cnewbill]$ php -q t.php Discounted price = 7.665 float(7.665) f

Re: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
On 10/09/01, "Joey Smith" <[EMAIL PROTECTED]> wrote: > I would love if every C developer in the world would stop using this. I > doubt that's going to happen anytime soon...but at least I can voice my > opinion here, what people at least hear me out, if they don't exactly > *hear* me. :) I hear y

[PHP-DEV] Bug #13240: Getting cgi timeout error

2001-09-10 Thread vmannem
From: [EMAIL PROTECTED] Operating system: w2k PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: Getting cgi timeout error I am running a .exe program as part of the php script. This .exe runs fine, but it does not come to stop(even though it finished it's job).

Re: [PHP-DEV] Woah

2001-09-10 Thread George Schlossnagle
Here's a functional alias_function call which duplicates a functions entry in the global function table (ripped from APD with minor mods). PHP_FUNCTION(alias_function) { zval **z_orig_fname, **z_new_fname; zend_function *func, *dummy_func; if( ZEND_NUM_ARGS() != 2 || zend_get_parameter

[PHP-DEV] Bug #13228 Updated: Document contains no data but nothing in Apache logs and no core

2001-09-10 Thread sniper
ID: 13228 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: *General Issues Operating System: IRIX64 6.5 PHP Version: 4.0.6 New Comment: Please ask support questions on the mailing lists: http://www.php.net/support.php Previous Comments:

[PHP-DEV] Bug #13238 Updated: Reproducible segfault on large page using objects and expat

2001-09-10 Thread jeichorn
ID: 13238 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Linux 2.4.5-0.4 PHP Version: 4.0CVS-2001-09-10 New Comment: Looking at backtrace i noticed array_walk, and since my script an array walk to run macro functions

Re: [PHP-DEV] Woah

2001-09-10 Thread Joey Smith
The point that *I* have been trying to get at is that this has *ALWAYS* been a bad idea, no matter what langague you are using. You all talk an awful lot about how _ decreases the "contextual overhead". What I'm trying to express is that THIS IS BAD! gettext() is deep magic. When you are doing de

Re: [PHP-DEV] Woah

2001-09-10 Thread Chuck Hagenbuch
Quoting Wez Furlong <[EMAIL PROTECTED]>: > 2. Create a php config directive that allows you to do the same thing -1. Config directives are a huge headache for people who distribute code (and for projects like PEAR). Let's not encourage adding more of them, when there are much better solutions.

[PHP-DEV] Bug #13224 Updated: pb with exec function

2001-09-10 Thread sniper
ID: 13224 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Old Bug Type: Reproducible crash Bug Type: Program Execution Operating System: win98 Old PHP Version: 4.0.6 PHP Version: 4.0.5 New Comment: Does a development build from http://www.php4win.com/ work?

[PHP-DEV] Bug #13222 Updated: system does not seem to work on 98

2001-09-10 Thread sniper
ID: 13222 Updated by: sniper Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Program Execution Operating System: windows 98 PHP Version: 4.0.6 New Comment: IIRC, there were some more fixes for this applied after the release of 4.0.6. Please try the development build from http://www.ph

[PHP-DEV] Bug #13239: server child crashes during use of mcrypt...

2001-09-10 Thread ivo
From: [EMAIL PROTECTED] Operating system: Linux 2.4.2 (SuSE 7.1 / 7.2) PHP version: 4.0CVS-2001-09-10 PHP Bug Type: Reproducible crash Bug description: server child crashes during use of mcrypt... i'm trying out a groupware in php (downloaded from http://www.horde.org/, la

Re: [PHP-DEV] Woah

2001-09-10 Thread Hartmut Holzgraefe
Wez Furlong wrote: > Are you really serious when you say that you want to deprecate _()?? > Just think how many of the "bigger guys" will be affected and seriously > pissed that their nicely localized enterprise application suddenly doesn't > work or drops its performance several notches ? > > Ye

[PHP-DEV] Bug #12022 Updated: limitations of php://stdout

2001-09-10 Thread sniper
ID: 12022 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Output Control Operating System: linux PHP Version: 4.0.2 New Comment: First update to more recent version before submiting any bug reports. 4.0.2 is just too old. --Jani Previous Comment

Re: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
On 08/09/01, "James Moore" <[EMAIL PROTECTED]> wrote: > I think that echo is used > a lot more so lets make echo aliased as ^(.) oh and perhaps we should > have sprintf as *() and dont forget while.. I bet perople get bored of > typing that so lets make it >(conditional expreesion) { .

[PHP-DEV] Bug #13238 Updated: Reproducible segfault on large page using objects and expat

2001-09-10 Thread jeichorn
ID: 13238 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Linux 2.4.5-0.4 PHP Version: 4.0CVS-2001-09-10 New Comment: Php was compiled with ./configure --with-apache=../apache_1.3.20 --enable-debug Program receive

[PHP-DEV] Bug #13238: Reproducible segfault on large page using objects and expat

2001-09-10 Thread jeichorn
From: [EMAIL PROTECTED] Operating system: Linux 2.4.5-0.4 PHP version: 4.0CVS-2001-09-10 PHP Bug Type: Reproducible crash Bug description: Reproducible segfault on large page using objects and expat I have a reproducible segfault involving a large project I am working on. I

Re: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
On 08/09/01, "Zeev Suraski" <[EMAIL PROTECTED]> wrote: > At least give the user the option to decide whether he wants to pollute his > namespace. At least give the code readers a chance to figure out what's > going on by grepping the PHP source code. Sending them to the C source > code or to

RE: [PHP-DEV] Woah

2001-09-10 Thread Wez Furlong
On 08/09/01, "Cristopher Daniluk" <[EMAIL PROTECTED]> wrote: > Again, as mentioned before, this is suitable: > function _($string) { return gettext($string); } Yes, but if you use gettext on any large site, you will be using it a helluva lot; and this would slow it down. I would adopt this if the

[PHP-DEV] round() Fubar

2001-09-10 Thread Chris Newbill
Produces [cnewbill@storm cnewbill]$ php -q t.php Discounted price = 7.665 float(7.665) float(7.66) Rounded Price = 7.66 Working example of round = 7.67 [cnewbill@storm cnewbill]$ php -v 4.0.6 Which is wrong, it should be 7.67. If I don't do the multiplication and simply send round 7.665 it wo

Re: [PHP-DEV] Woah

2001-09-10 Thread Rodent of Unusual Size
Joey Smith wrote: > > Ken, I whole-heartedly apologize for my rude statments...it is > simply a measure of my frustration with _() that led to me behave so > poorly, and I hope you'll forgive me. Thank you for apologising. Forgiven. :-) -- #kenP-)} Ken Coar, Sanagendamgagwedweinini http:

Re: [PHP-DEV] Woah

2001-09-10 Thread Rodent of Unusual Size
Chuck Hagenbuch wrote: > > Zeev: were it being added now, no, I wouldn't argue for it. > My argument is based on it having been there for years and > being in heavy use in some people's code. Likewise MHO. -- #kenP-)} Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ Author, develo

Re: [PHP-DEV] Woah

2001-09-10 Thread Rodent of Unusual Size
Zeev Suraski wrote: > > > Did/do you use gettext in other languages? > > No > > >If the answer to the latter, at least, is 'no' then I think the > >experience of people like Rasmus and Chuck -- who *do* use gettext > >a lot, and in other languages -- carries a helluva lot more weight > >than

Re: Fwd: Re: [PHP-DEV] Woah

2001-09-10 Thread Rodent of Unusual Size
Zeev Suraski wrote: > > Ken - see my point? :) I have seen it all along. I just do not think that removing it is better than leaving it forever but discouraging it. And you cannot say that 'ugliness is not a metric' for anyone except yourself. Multiple people have brought that aspect up, so o

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jeroen van Wolffelaar
> FWIW: > Signed shift seems to make little sense to me personally, since we are > just dealing with a row of bits, and if you really want to do a quick > multiplication/division, you might just as well use a * or / operator - > it is not going to hurt that much:). I completely agree > *However*

Re: [PHP-DEV] mktime() and (dates < 1970 || dates > 2037) (fwd)

2001-09-10 Thread Hartmut Holzgraefe
Derick Rethans wrote: > I've read a lot of people are having problems using the function mktime() > in combination with dates before 1970 and after 2037. I also have been > reading about time_t and it being 32 bit, 64 bit signed or unsigned. In al > the responses I read it's not an PHP problem but

Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Vlad Krupin
FWIW: Signed shift seems to make little sense to me personally, since we are just dealing with a row of bits, and if you really want to do a quick multiplication/division, you might just as well use a * or / operator - it is not going to hurt that much:). *However*, it's been possible in diffe

[PHP-DEV] mktime() and (dates < 1970 || dates > 2037) (fwd)

2001-09-10 Thread Derick Rethans
-- Forwarded message -- Date: Sun, 09 Sep 2001 23:05:53 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: mktime() and (dates < 1970 || dates > 2037) Derick, I've read a lot of people are having problems using the function mktime() in combination with dates before 1970

[PHP-DEV] Bug #13237: Installing PHP4 with Proxy/IIS server causes Proxy to fail.

2001-09-10 Thread smithd
From: [EMAIL PROTECTED] Operating system: Windows NT 4.0 SP6 PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: Installing PHP4 with Proxy/IIS server causes Proxy to fail. When installing PHP 4.0.6 on a system with IIS 3 and Proxy Server 2.0, the proxy server will

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RC2

2001-09-10 Thread Sascha Schumann
The latest CVS configures and builds properly for me as a CGI with IBMJava2-13 now. Please give it a try. - Sascha Experience IRCG http://schumann.cx/http://schumann.cx/ircg -- PHP Development Mailing List

[PHP-DEV] Bug #13230 Updated: PDF functions leak

2001-09-10 Thread derick
ID: 13230 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: PDF related Operating System: Linux 2.4.5/RedHat PHP Version: 4.0CVS-2001-09-10 New Comment: Fixed it myself. Derick Previous Comments: ---

[PHP-DEV] Bug #13236: Cycles in object references are not restored correctly

2001-09-10 Thread cwalstad
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Session related Bug description: Cycles in object references are not restored correctly If you use session_register on an object that contains references to other objects, that each contain a re

[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jeroen van Wolffelaar
> Is there anyone out there who uses >> on negative numbers? > There is the discussion on the engine2 list about whether to > make >> an unsigned right shift, or to introduce a new operator > >>>. In my opinion, << and >> should consider integers as a row of bits, thus do not treat the msb differ

[PHP-DEV] Bug #13235: include() fails unpredictable

2001-09-10 Thread thim
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Scripting Engine problem Bug description: include() fails unpredictable Since my Provider upgraded to 4.0.6 some of my scripts don't work as exspected anymore... I use include() with URL's wher

[PHP-DEV] Bug #13234: memory leak (see also bug 12507)

2001-09-10 Thread jpeeters
From: [EMAIL PROTECTED] Operating system: linux kernel-2.2.19 PHP version: 4.0.6 PHP Bug Type: Performance problem Bug description: memory leak (see also bug 12507) Hello, I got the same problem as bug http://www.php.net/bugs.php?id=12507 . Also, with php-4.0.4pl1 i ha

Re: [PHP-DEV] Syntax error

2001-09-10 Thread Walter Franzini
Alexander Wagner <[EMAIL PROTECTED]> writes: > Zeev Suraski wrote: > > >for ($sz=1; $sz < 6; sz++) { >> >> You're missing a $ on the last sz in this line > > He knows that. He want a better error-message. :-) Yes, and I'm offering my help if someone can give me some hints. Ciao. -- Walter Fra

Re: [PHP-DEV] Syntax error

2001-09-10 Thread Zeev Suraski
At 18:27 10-09-01, Alexander Wagner wrote: >Zeev Suraski wrote: > > >for ($sz=1; $sz < 6; sz++) { > > > > You're missing a $ on the last sz in this line > >He knows that. He want a better error-message. Ah, missed that. Zeev -- PHP Development Mailing List To unsubscribe

Re: [PHP-DEV] Syntax error

2001-09-10 Thread Zeev Suraski
At 18:09 10-09-01, Walter Franzini wrote: >How can I help improving messages reported for syntax errors? This can be improved in the parser. Try reading the error recovery documentation for bison, about error rules. There's quite a bit of work that can be done in that front, we'll welcome con

[PHP-DEV] Bug #13233: exec function finishes it's job and returns unsuccess value..

2001-09-10 Thread vreddy
From: [EMAIL PROTECTED] Operating system: w2k PHP version: 4.0.6 PHP Bug Type: IIS related Bug description: exec function finishes it's job and returns unsuccess value.. I am trying to use the the exec function to run a .exe file. The .exe file runs , and finishes it's jo

[PHP-DEV] Bug #13230 Updated: PDF functions leak

2001-09-10 Thread rjs
ID: 13230 Updated by: rjs Reported By: [EMAIL PROTECTED] Status: Open Bug Type: PDF related Operating System: Linux 2.4.5/RedHat PHP Version: 4.0CVS-2001-09-10 New Comment: You should call PDF_delete($); at the end of a script containing PDF functions. This will cleanup the resources allocated b

Re: [PHP-DEV] Syntax error

2001-09-10 Thread Alexander Wagner
Zeev Suraski wrote: > >for ($sz=1; $sz < 6; sz++) { > > You're missing a $ on the last sz in this line He knows that. He want a better error-message. regards Wagner -- "Never attribute to malice what can as easily be the result of incompetence." -- PHP Development Mailing List

Re: [PHP-DEV] Syntax error

2001-09-10 Thread Zeev Suraski
At 18:09 10-09-01, Walter Franzini wrote: >for ($sz=1; $sz < 6; sz++) { You're missing a $ on the last sz in this line -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administ

[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason Greene
Alexander, Thanks for the input. If you are interested in other language changes subscribe to [EMAIL PROTECTED] Everyone, Well guys we have one person so far who spoke up, and you know what they say for every one there is a hundred : ) Due to the existing users out there I would think the n

[PHP-DEV] Syntax error

2001-09-10 Thread Walter Franzini
The following code contains a syntax error: the reported error is: Parse error: parse error, expecting `')'' in test.php on line 5 Obviously sz++ is not a valid expression. But php-4.0.6 report a misleading message in my opinion. The following code give the same error but for a very diff

Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Alexander Wirtz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jason et al., On Monday 10 September 2001 16:24, Jason Greene wrote: > Is there anyone out there who uses >> on negative numbers? > There is the discussion on the engine2 list about whether to > make >> an unsigned right shift, or to introduce a n

[PHP-DEV] Bug #13232: PEAR messes up with simultaneous connections.

2001-09-10 Thread fidian
From: [EMAIL PROTECTED] Operating system: Linux 2.2.16 PHP version: 4.0.6 PHP Bug Type: *Database Functions Bug description: PEAR messes up with simultaneous connections. PEAR seems to not be able to handle multiple connections to different databases. To illustrate, create

[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Jason Greene
Good Idea Is there anyone out there who uses >> on negative numbers? There is the discussion on the engine2 list about whether to make >> an unsigned right shift, or to introduce a new operator >>>. Speak-up or potential loose your negative shift-ability : ) -Jason - Original Message

[PHP-DEV] Security Audit 4.0.7RC2

2001-09-10 Thread Hellekin O. Wolf
Hello people, this is a security audit of PHP-4.0.7RC2 (4.0.6 is also available) where you can find : - Potential threats such as buffer Overflows, Race Conditions, Format Strings and Temporary files. - Which functions are dangerous and how to replace them. - Where (fil

[PHP-DEV] CVS Account Request

2001-09-10 Thread CVS Account Request
Full name: Mariano Neves da Rocha Email: [EMAIL PROTECTED] ID:mariano Purpose: Maintaining www.php.net -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

[PHP-DEV] Bug #13231: failure to compile with Roxen

2001-09-10 Thread jryden
From: [EMAIL PROTECTED] Operating system: Red Hat 7.1 PHP version: 4.0.6 PHP Bug Type: Compile Failure Bug description: failure to compile with Roxen PHP fails to compile with Roxen 2.2.198. ./configure --with-roxen=/usr/local/roxen/server-2.2.198 --with-mysql=/usr --e

[PHP-DEV] Bug #13230: PDF functions leak

2001-09-10 Thread derick
From: [EMAIL PROTECTED] Operating system: Linux 2.4.5/RedHat PHP version: 4.0CVS-2001-09-10 PHP Bug Type: PDF related Bug description: PDF functions leak This piece of code: Gives these leaks: pdf.c(306) : Freeing 0x0820B324 (65536 bytes), script=3pdf.php Last leak

[PHP-DEV] Bug #13229: sess vars doesn't saved when value assigned to $HTTP_SESSION_VARS (reg_glob=on)

2001-09-10 Thread vovik
From: [EMAIL PROTECTED] Operating system: Win98SE PHP version: 4.0.6 PHP Bug Type: Session related Bug description: sess vars doesn't saved when value assigned to $HTTP_SESSION_VARS (reg_glob=on) Session vars doesn't saved when register_globals=on and value assigned to $HTT

[PHP-DEV] Bug #13228: Document contains no data but nothing in Apache logs and no core

2001-09-10 Thread page
From: [EMAIL PROTECTED] Operating system: IRIX64 6.5 PHP version: 4.0.6 PHP Bug Type: *General Issues Bug description: Document contains no data but nothing in Apache logs and no core php doesn't do a core dump, but always return Document contains no data Apache 1.3.12 UR

[PHP-DEV] Re: Note added to rand

2001-09-10 Thread Jeroen van Wolffelaar
> No number is truly random. That is the nature of computers. You > can only generate a sequence of numbers, based on a seed. True (of course, I knew that already long ago...), but 1) You can obscure that by using time-varying seeds in order to get seemingly random numbers 2) You can re

  1   2   >