From: [EMAIL PROTECTED]
Operating system: windows NT4.0
PHP version: 4.0.6
PHP Bug Type: Date/time related
Bug description: mktime bug
mktime(0,0,0,1,1,1969);
is return -1.
but in linux renturn valid value;
maybe before 1970 bug in win32 version.
--
Edit bug report
From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version: 4.0.6
PHP Bug Type: *Math Functions
Bug description: Call to undefined function: floatval()
source code:
?php
$fl = pi();
echo $fl, 'br';
$fl = floatval($fl);
echo $fl, 'br';
?
return to
ID: 13727
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: *Math Functions
Operating System: Windows 2000
PHP Version: 4.0.6
New Comment:
As the docs at php.net/floatval state right at the top. This function is only in CVS.
Just use $fl = (float)$foo;
ID: 13728
Updated by: rasmus
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: *Compile Issues
Operating System: slackware 7.0
PHP Version: 4.0.6
New Comment:
An rm config.cache; make clean and a full rebuild should take care of that. Let us
know.
Previous Comments:
WARNING: Too Controversial for the public Web! Must be 18
or older to continue! We are not responsible for your
actions! SHOCKING CONTENT!
http://206.47.217.53/pta/index.html
C-ya inside sexy!
XoXoXoXoXoX
Tonya
Hey Sexy!
*** NEVER PAY FOR XXX AGAIN! TOTALLY FREE-4-LIFE
No way, I still have the error...
- Original Message -
From: Bug Database [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 10:31 AM
Subject: Bug #13728 Updated: --with-png-dir does not set the include dir
ID: 13728
Updated by: rasmus
Reported By: [EMAIL
Sebastian Bergmann wrote:
Is this a known problem?
Okay, having just read
Message-ID: [EMAIL PROTECTED]
I know now that the API has changed. Any guess on when MySQL 4.0.0
will be supported by PHP?
--
Sebastian Bergmann
http://sebastian-bergmann.de/
Get rid of the libpng 1.0.3 header files. Since they are on your include
path PHP will pick them up first and use them. No real way around that.
-Rasmus
On Thu, 18 Oct 2001, Jean-Francois LE CAM wrote:
No way, I still have the error...
- Original Message -
From: Bug Database
ID: 13728
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: *Compile Issues
Operating System: slackware 7.0
PHP Version: 4.0.6
New Comment:
User reported:
No way, I still have the error...
Please use the webform to add comments to your report the
On Wed, Oct 17, 2001 at 12:03:44PM -0400, lo-tek wrote:
A new OOP database abstraction layer (in C) is in the works.
Should be ready
in 2 or so months...
how is that going to be different from PEARs or the dbx one?
tc
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...
From: [EMAIL PROTECTED]
Operating system: Any
PHP version: 4.0.6
PHP Bug Type: *Web Server problem
Bug description: PHP Outputs #! line
When running PHP either as a CGI or through mod_php,
including the #! line causes it to be included in the
output. When running as CGI
On Wed, 17 Oct 2001, Rasmus Lerdorf wrote:
This code in session.c looks odd to me:
if (!PS(use_cookies) send_cookie) {
PS(apply_trans_sid) = 1;
send_cookie = 0;
}
Basically what this says is that if session.use_cookies is off, trans_sid
will be automatically
On Thu, Oct 18, 2001 at 11:04:22AM +0200, Sterling Hughes wrote:
On Wed, 17 Oct 2001, Rasmus Lerdorf wrote:
This code in session.c looks odd to me:
if (!PS(use_cookies) send_cookie) {
PS(apply_trans_sid) = 1;
send_cookie = 0;
}
Basically what this says
It could be a bug introduced by my patches from a couple of months ago
(even though this behavior may have existed before, I'm not sure). I, at
least, wasn't giving any thought to people who want to emit out SID's on
their own.
At 03:42 18-10-01, Rasmus Lerdorf wrote:
This code in session.c
From: [EMAIL PROTECTED]
Operating system: Linux/Red Hat 7.1
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: StrPos is deficient
re StrPOS, I suggest that you do the following.
Make another function with a different name, e.g. StrFind, that is
1)
From: [EMAIL PROTECTED]
Operating system: linux 2.4.10
PHP version: 4.0.5
PHP Bug Type: Feature/Change Request
Bug description: strtotime does not see things like '7th'
I was doing 'echo strtotime(October 12th 2001 - 02:52:51 AM);' and
unfortunately, it returned '-1'.
I
ID: 13726
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Date/time related
Operating System: windows NT4.0
PHP Version: 4.0.6
New Comment:
behaviour of unix timestamp functions for dates
before 1.1.1970 is simply undefined and depends
on the
ID: 13727
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: *Math Functions
Operating System: Windows 2000
PHP Version: 4.0.6
New Comment:
floatval is a new function available in current
CVS only, the old (and still available) name
is doubleval()
see the manual
ID: 13731
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Assigned
Bug Type: Feature/Change Request
Operating System: linux 2.4.10
PHP Version: 4.0.5
Old Assigned To:
Assigned To: derick
New Comment:
I'll check if this is possible.
Derick
Previous Comments:
ID: 13713
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Compile Failure
Operating System: linux 2.4.12
PHP Version: 4.0.6
New Comment:
The latest CVS build of Apache 2 (pulled from the dev.apache.org site as file
httpd-2.0_20011018041211.tar.gz) and
ID: 12595
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Old Operating System: win2k (prob. all win's)
Operating System: win2k (prob. all win\'s)
PHP Version: 4.0.6
New Comment:
with 'C:\php\php.exe -q %1 %2 %3 %4 %5 %6 %7 %8 %9'
Hi jeroen!
On Wed, 17 Oct 2001, [EMAIL PROTECTED] wrote:
Brian Moon [EMAIL PROTECTED] wrote in message
news:00c601c15725$d00cf0c0$[EMAIL PROTECTED]...
This is a huge compatibility breaker. The sad part is that you did not
properly fix the bug in 9884. The bug is that the compiler looks
How can I link my extension to a statical linked library?
If I use this config file my extension is compiled but
when run my test I get (in apache error_log):
/mnt/disk1/home/edejanu/apache/aps/bin/httpd: error while loading shared
libraries:
ID: 13689
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: IIS related
Operating System: win2k adv SP2
PHP Version: 4.0.4
New Comment:
although it was running as CGI, not isapi?
Previous Comments:
From: [EMAIL PROTECTED]
Operating system: Windows 2000 Professional
PHP version: 4.0.6
PHP Bug Type: Session related
Bug description: Session variables not Saved
It has been reported in Bug id #12679 before.
But I'm using a local network to test scripts, so I leave the
From: [EMAIL PROTECTED]
Operating system: Windows 2000 Professional
PHP version: 4.0.6
PHP Bug Type: Session related
Bug description: Session variables not Saved
It has been reported in Bug id #12679 before.
But I'm using a local network to test scripts, so I leave the
ID: 13733
Updated by: cynic
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Duplicate
Bug Type: Session related
Operating System: Windows 2000 Professional
PHP Version: 4.0.6
New Comment:
submitted twice
Previous Comments:
ID: 13733
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Duplicate
Status: Bogus
Bug Type: Session related
Operating System: Windows 2000 Professional
PHP Version: 4.0.6
New Comment:
Submitted twice = bogus
Previous Comments:
ID: 13733
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Bogus
Status: Duplicate
Bug Type: Session related
Operating System: Windows 2000 Professional
PHP Version: 4.0.6
Previous Comments:
ID: 13733
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Duplicate
Status: Bogus
Bug Type: Session related
Operating System: Windows 2000 Professional
PHP Version: 4.0.6
New Comment:
Submitted twice = BOGUS
Derick
Previous Comments:
ID: 13732
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Session related
Operating System: Windows 2000 Professional
PHP Version: 4.0.6
Edit this bug report at http://bugs.php.net/?id=13732edit=1
--
PHP Development Mailing List
From: [EMAIL PROTECTED]
Operating system: WIndows 2000
PHP version: 4.0.6
PHP Bug Type: *Directory/Filesystem functions
Bug description: function file() returns error
related bug:
#9567
script:
---
?
$fcontents = file ('http://www.php.net');
if
On Wed, Oct 17, 2001 at 05:58:45PM +0200 , Stig S. Bakken wrote:
The two remaining critical bugs are not a reason to not roll 4.1.0RC1
what about setcookie(bla) returning
Set-Cookie: bla=
instead of
Set-Cookie: bla=deleted; expires=Wed, 18-Oct-00 13:35:14 GMT
From: [EMAIL PROTECTED]
Operating system: soliars,win2000
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: exec sybase procedure in .php but only ' 0 'returns!
I defined the sybase procedure as following:
From: [EMAIL PROTECTED]
Operating system: soliars,win2000
PHP version: 4.0.4pl1
PHP Bug Type: Unknown/Other Function
Bug description: exec sybase procedure in .php but only ' 0 'returns!
I defined the sybase procedure as following:
ID: 13736
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: soliars,win2000
PHP Version: 4.0.4pl1
New Comment:
Submitted twice, status: bogus
Previous Comments:
guys i want to develop or iether to put a discussion forum on my web site
how best can i do this.is there some one with an alredy running module for
this.
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 18 October 2001 15:55
To: [EMAIL PROTECTED]
ID: 13718
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.6
New Comment:
I do understand that if you were in the middle of a php script, this would be a simple
reassigning of the variable.
From: [EMAIL PROTECTED]
Operating system: Solaris 2.6
PHP version: 4.0.5
PHP Bug Type: *General Issues
Bug description: #!/usr/local/bin/php shell script line is shown first at the result
page
If I run the following example:
#!/usr/local/bin/php
?
print
ID: 13718
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.6
New Comment:
the simple problem with auto-generating arrays is:
form fields without input do not generate output
so if you have a form like
From: Simba Pangeti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Tue, 16 Oct 2001 16:01:24 +0200
Subject: [PHP-DEV] discussion forum using php, mysql and apache
guys i want to develop or iether to put a discussion forum on my web site
how best can i do this.is there some one with an
On Thu, 18 Oct 2001, Brian Moon wrote:
Ok,
I played with the code in zend_compile.c last night and came up with this
solution. The attached file will only issue a NOTICE for duplicate
functions from the same line and file. It will still issue an ERROR for
duplicate functions of a
ID: 13718
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.6
New Comment:
I do understand that if you were in the middle of a php script, this would be a simple
reassigning of the variable.
ID: 13718
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.6
New Comment:
sorry, I refreshed the page, and it reposted. Thank you for your help, I hope that
you will consider my suggestion
From: [EMAIL PROTECTED]
Operating system: Win 2000 server
PHP version: 4.0.6
PHP Bug Type: MSSQL related
Bug description: cant connect to external db with dns name
I am running php 4.0.6 on IIS 5 on a windows 2000 server
My database runs ms sql 2000 on a windows 2000
ID: 13718
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.6
New Comment:
wow, I just noticed that you are suggesting that php actually generate an array! I
posted two example html files,
From: [EMAIL PROTECTED]
Operating system: Solaris 2.6
PHP version: 4.0.6
PHP Bug Type: iPlanet related
Bug description: NS Enterprise 4.1 aborts on NSAPI module load
same bug as #13042 - truss output functionally identical,
gdb unavailable
Compiled cleanly, kills
BM I played with the code in zend_compile.c last night and came up with this
BM solution. The attached file will only issue a NOTICE for duplicate
BM functions from the same line and file. It will still issue an ERROR for
BM duplicate functions of a different file or line number. In either
I'm using the latest snap from snaps.php.net: 200110180600.
4.0.7RC3 compiled fine...
CGI compiles fine, Apache module failes.
I'm using VC6 and Apache 1.3.22.
Configuration: php4apache - Win32
Release_TS
Compiling...
mod_php4.c
See bug 13616.
Brian.
- Original Message -
From: Stanislav Malyshev [EMAIL PROTECTED]
To: Brian Moon [EMAIL PROTECTED]
Cc: PHP Development [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 10:01 AM
Subject: Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate
function
Hold off on that file. I made an error. Let me fix it.
Brian.
- Original Message -
From: Andrei Zmievski [EMAIL PROTECTED]
To: Brian Moon [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 9:53 AM
Subject: Re: [PHP-DEV] New zend_compile.c to
BM See bug 13616.
I see. I think you should really use include_once - I just do not see the
reason why not to do it and why patch the code instead. Could you explain?
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115
--
PHP
ID: 13720
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: FTP related
Operating System: Windows 2000 Advance Server
PHP Version: 4.0.6
New Comment:
The version in which I tested it before was PHP 4.0.5
PHP was the only changed part.
include_once as i have already stated is useless inside of a function.
Variables in the file are not global. And, I cannot include it again with
include_once. The example I gave is not acurate to how we use it. We
actually use a variable, not a define to control the inclusion of a file.
The
BM include_once as i have already stated is useless inside of a
BM function. Variables in the file are not global. And, I cannot
Why include_once inside a function is different from include inside a
function?
BM include it again with include_once. The example I gave is not
BM acurate to how
ID: 13718
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.6
New Comment:
no, i didn't ;)
i just tried to describe what would happen
*if* we would follow your suggestion
and that it is a not so good
BM include_once as i have already stated is useless inside of a
BM function. Variables in the file are not global. And, I cannot
Why include_once inside a function is different from include inside a
function?
Because once include_once is used on a file, include_once won't include the
file
ID: 13718
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.6
New Comment:
Oh, I'm sorry, I missunderstood you. I understand what you are getting at, ambiguity
can be a problem. I guess I'll
Ok, here is the _diff_ that will do it right.
Brian.
- Original Message -
From: Brian Moon [EMAIL PROTECTED]
To: Andrei Zmievski [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 10:11 AM
Subject: Re: [PHP-DEV] New zend_compile.c to solve all of
Can someone help me out with this one, - I'm sure that I've not acheived what I was
aiming at - adding the Resource, myresource to the array prior to calling the callback
function
the code below is from the url_request callback wrapper for gtkhtml - if this works -
you can build a working
I don't understand the problem, can you rephrase?
On Thu, 18 Oct 2001, Alan Knowles wrote:
Can someone help me out with this one, - I'm sure that I've not acheived what I was
aiming at - adding the Resource, myresource to the array prior to calling the
callback function
the code below
BM It is not a matter of the functions. If everything were a function or class
BM ( like Java ) this would not be an issue. But, we have variables and such
BM in these files that prevent us from be able to trust include_once.
Ah. Now I see what you mean. Then the solution would be or use
Is gs really a newly allocated resource so you have to register
it? Or is it arleady an existing one? If it does already exist
(what I assume) you should fetch it from the resource lirst (quick
look , could be wrong).
Btw, it would help telling what exactly does not work.
And, with the extra
Probably worth continuing on php-gtk-dev only...
I was getting a bit further with
MAKE_STD_ZVAL(myresource);
ZVAL_RESOURCE(myresource, gs) ;
/*ZEND_REGISTER_RESOURCE(myresource, gs, le_gtkhtmlstream); */
now the function does not segfault, but does not appear to pass
On Thu, 18 Oct 2001, Alan Knowles wrote:
Probably worth continuing on php-gtk-dev only...
I was getting a bit further with
MAKE_STD_ZVAL(myresource);
ZVAL_RESOURCE(myresource, gs) ;
/*ZEND_REGISTER_RESOURCE(myresource, gs, le_gtkhtmlstream); */
now the function
An earlier thread with the following subject makes some of our points:
[PHP-DEV] Bug #13616 Updated: Compiler complains about function declaration
after return is calle
Essentially, to answer your question. include_once() is a very poor way to
write modular code that will be used across
- Original Message -
From: Stanislav Malyshev [EMAIL PROTECTED]
To: Brian Moon [EMAIL PROTECTED]
Cc: PHP Development [EMAIL PROTECTED]
Sent: Thursday, October 18, 2001 10:53 AM
Subject: Re: [PHP-DEV] New zend_compile.c to solve all of the duplicate
function problems
BM And my fix will
Hi
I have a patch ready for this. I, and also some others I know, would
like to send mail from PHP without help of sendmail or other external
programs on UNIX, similar to what is done on windows. I have made a
patch that makes the sendmail.c for windows, also work with unix, with
relatively
Thies
how is that going to be different from PEARs or the dbx one?
i was actually inspired in part by PEAR, so ALISON (Abstraction Layer In
Search Of a Name) is a superset of PEAR functionality. in addition to
current PEAR functionality i've added the following (not exhaustive, and in
no
ID: 11043
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Suspended
Status: Feedback
Bug Type: Compile Failure
Operating System: Linux (severely modified Redhat
PHP Version: 4.0 Latest CVS (2001-05-23)
New Comment:
Any news on this yet?
Previous Comments:
ID: 8440
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Suspended
Status: Feedback
Bug Type: HTTP related
Operating System: Debian Linux 2.2.14
PHP Version: 4.0.4pl1
New Comment:
Any news on this yet?
Previous Comments:
ID: 12046
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Linux 2.4
PHP Version: 4.0.6
New Comment:
Works fine for me... unable to reproduce...
Previous Comments:
ID: 12452
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux 2.4.3 (Mandrake)
PHP Version: 4.0.6
New Comment:
Not a bug in PHP. Short tags (?) are known to cause problems with XML. You should
disable them.
ID: 12590
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4.0.5
New Comment:
What would you expect to get? On my machine, it prints out 255 twice.
Previous Comments:
ID: 12590
Updated by: jeroen
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux
PHP Version: 4.0.5
New Comment:
On most platforms (including i386), PHP does not support integers of 2**31 (0x80 00 00
00) and higher.
See
Resent. The discussion isn't closed yet, and this is important, since it
will be already in 4.1.0
--Jeroen
- Original Message -
From: Jeroen van Wolffelaar [EMAIL PROTECTED]
To: Andi Gutmans [EMAIL PROTECTED]
Cc: PHP cvs [EMAIL PROTECTED]
Sent: Wednesday, October 10, 2001 8:46 PM
Resent due to lack of feedback.
- Original Message -
From: [EMAIL PROTECTED]
Newsgroups: php.dev
Sent: Wednesday, October 10, 2001 5:28 PM
Subject: heredoc: change of behavoiur?
Currently, heredoc as a bit of strange behaviour in syntax of terminating
it.
I think it's a good idea to
Resent due to lack of feedback.
Objections against me changing it to the behaviour I described below?
--Jeroen
- Original Message -
From: Jeroen van Wolffelaar [EMAIL PROTECTED]
To: PHP Developers Mailing List [EMAIL PROTECTED]
Sent: Monday, October 15, 2001 9:45 PM
Subject: Re: Bug
Resent, due to lack of feedback from my side ;)
Andi replied:
Why is it more correct to convert it to min/max values? I can't think of a
case where this would make more sense to the developer.
Also, there is a reason for the cast to unsigned int if the value is bigger
that LONG_MAX.
I think
(you'd already have expected this, i guess...)
I still have hardly no feedback on proposal 3b of random change:
http://www.a-eskwadraat.nl/~jeroen/rand/
The main issue - inconsistent and duplicate functions for random, no way
to explicitly and portably get reproducable results - isn't solved by
From: [EMAIL PROTECTED],
Operating system: Free BSD
PHP version: 4.0.6
PHP Bug Type: Unknown/Other Function
Bug description: Call to undefined function: dbmopen()
I'm new to php. Got the following error when trying to open a DBM:
Installation of PHP was with the defaults,
ID: 13740
Updated by: jeroen
Reported By: [EMAIL PROTECTED],
Old Status: Open
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Free BSD
PHP Version: 4.0.6
New Comment:
You probably didn't compile with dbm support.
Ask support questions on www.php.net/support.php (php-install
I really don't know, forwarding to php-dev...
That bug hasn't yet been looked after, it contains a reproducing script
(dba-related).
--Jeroen
- Original Message -
From: Pierre-Alain Joye [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 19, 2001 12:40 AM
Subject: Re:
I apologize for the late reply, my time for the last month has been consumed by
employer issues. Things should be getting back to normal again soon. I am
a major +1 on the cli, though I have some concerns about pcntl being enabled by
default.
Currently, my signal trapping method uses a handler
version_compare() with two args returns -1 / 0 / 1 today, if you want to
use it that way please do. I think the third arg is useful, and it's
not exactly bothering people who don't need it. I consider this
discussion as closed.
(Just for the record: version_compare is the only function now,
In cases like these I think PHP should do whatever C does. There's no
point in trying to be clever when casts overflow.
- Stig
Jeroen van Wolffelaar wrote:
Resent, due to lack of feedback from my side ;)
Andi replied:
Why is it more correct to convert it to min/max values? I can't
version_compare() with two args returns -1 / 0 / 1 today, if you want to
use it that way please do. I think the third arg is useful, and it's
not exactly bothering people who don't need it. I consider this
discussion as closed.
Hm, I did miss something :(.
I consider the discussion closed
On Fri, 19 Oct 2001, Stig S. Bakken wrote:
In cases like these I think PHP should do whatever C does. There's no
point in trying to be clever when casts overflow.
In C, when you doe int i;, i will contain random data.
In PHP, a variable will always be cleared (to null).
In C, when you cast
ID: 13728
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Old Bug Type: *Compile Issues
Bug Type: Compile Failure
Operating System: slackware 7.0
PHP Version: 4.0.6
New Comment:
Please ask support questions on the mailing lists:
http://www.php.net/support.php
ID: 13729
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Duplicate
Old Bug Type: *Web Server problem
Bug Type: *General Issues
Operating System: Any
PHP Version: 4.0.6
New Comment:
Duplicate of #9041
Previous Comments:
Below is the result of your feedback form. It was submitted by
([EMAIL PROTECTED]) on Thursday, October 18, 2001 at 21:11:36
---
message:
In addition to the information you selected, we thought you might be Interested in
AFAICT, it behaved like this before your patches.
At least lxr said so. :)
Then lxr is wrong. If you look at session.c in 4.0.6 you will see that it
doesn't do that. So we do not have a released version of PHP out there
with that behaviour.
-Rasmus
--
PHP Development Mailing List
ID: 13737
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Duplicate
Bug Type: *General Issues
Operating System: Solaris 2.6
PHP Version: 4.0.5
New Comment:
Duplicate of #9041
Previous Comments:
ID: 13465
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: IMAP related
Operating System: Red Hat 7.1 (Seawolf)
PHP Version: 4.0.6
New Comment:
Nobody knows how to solve this problem???
Previous Comments:
Have you measured the performance impact? This should be a solvable
problem, and if it takes a while to find a nice solution, we could just
disable signal handling by default but leave the rest of pcntl enabled
by default?
IMHO using ticks isn't a very good solution (it's basically another hack
ID: 13737
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Duplicate
Bug Type: *General Issues
Operating System: Solaris 2.6
PHP Version: 4.0.5
New Comment:
I have solved it by making the changes recomended in bug id 9040.
Locate the
I just did some checking, this behaviour is not defined in C, and even
in C99 it's in the twilight zone if you can define this at all.
The common thing seems to be throwing an exception if an overflow
occurs. Since PHP doesn't have exceptions yet that's a notice or maybe
even warning for us
Hm, another way to deal with overflows could be returning null, if it's
acceptable to return a different type than expected at least. With 0 or
max/min, it won't be possible for a program to detect overflows. With
null it would be.
- Stig
Jeroen van Wolffelaar wrote:
On Fri, 19 Oct 2001,
ID: 9938
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Suspended
Status: Closed
Bug Type: Documentation problem
Operating System: LINUX
PHP Version: 4.0.4pl1
New Comment:
Should we just close this bug... it is reverted now.
There are still lot's of pages that should be
Help!
Erratic Behaviour with PHP 4.06 on Apache 1.3.20: in unreproduceable
intervals (1 out of 10 page requests), all PHP output will have single
and double quotes escaped by backslashes - no matter if the output is
produced by echo, readfile, include, or any other PHP command. No
special
100 matches
Mail list logo