From: [EMAIL PROTECTED]
Operating system: any
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: string compare with "==" does not work correctly
First the test script:
?
$a = '012345678901234567';
$b = '012345678901234568';
echo ($a == $b) ? "a
Simple answer, you were randomly selected from our recently purchased
opt-in lists. OK so why are we giving away money you ask?
Another simple answer. We want you to discover what 10,000's of other
people just like you already know... our Casino is fast-paced, interactive
and just plain old fun.
From: [EMAIL PROTECTED]
Operating system: windows
PHP version: 4.0.4pl1
PHP Bug Type: Sockets related
Bug description: unable to use socket
when trying to create a Socket i get a undefined function error
i think it has something to do with --enable-sockets
and not being
From: [EMAIL PROTECTED]
Operating system: Linux (k:2.2.16)
PHP version: 4.0.4pl1
PHP Bug Type: MySQL related
Bug description: it seems that mysql-module doesn't support any charsets except
latin1
./configure --with-mysql --with-apxs=/var/lib/apache/bin/apxs
make make
What I'm trying to do is get the following php-script to work... (the only
thing about this that doesn't work is in the fourth 'echo' line...)
$db = dbx_connect("mysql", "localhost", "username", "password"); // works
$result = dbx_query($db, "use dbname"); // works
$q = dbx_query($db, "select
**
¯Â°Ó·~¿ì¤½«Ç¥X¯²
**
±MªùªA°È°Ó¥Î¿ì¤½«Ç¤§©Ó¯²¤H¡C
¥x¥_¦Uµ¥¯Å°Ó¥Î¿ì¤½«Ç®×¥ó¡A¾A¦X¦UºØ°Ó·~»Ý¨D¡I¡I
ID: 9076
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Calendar related
Description: GregorianToJD function returns incorrect values
I found more thoroughly-researched algorithms for
calculating to and from Gregorian/Julian calender dates
to Julian Day Count values:
From: [EMAIL PROTECTED]
Operating system: Linux Mandrake 7.2
PHP version: 4.0.4pl1
PHP Bug Type: *Session related
Bug description: Problems when rejecting cookies
In all instances I am using a simple templete class that prints the html.
Instance 1
=
1 script which
From: [EMAIL PROTECTED]
Operating system: Solaris (irrelevant)
PHP version: 4.0.4pl1
PHP Bug Type: *Install and Config
Bug description: configure script needs "-lxml2" for XML-DOM
For XML-DOM support, the PHP docs say you need libxml 2.00. These are known as
"libxml2", and
hi ng
For file upload i compare temp file with "none".
It's OK.
From yesterday, the string tha corresponding at null file is null string
? why ??
Manuele
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
ID: 9186
Updated by: zak
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Actually, this is a feature - it is described in the manual. Strings that look like
numbers are converted to numbers. Large numbers - like the ones
This list is for discussing issues that relate to the development of the PHP
language. For mailing lists that discuss development with PHP, see
www.php.net/support.php
Also, even though [0] and ['id'] initially contain the same value, they are
not bound together in any way. You may be able to
From: [EMAIL PROTECTED]
Operating system: Slackware Linux
PHP version: 4.0.4pl1
PHP Bug Type: Class/Object related
Bug description: Objects not properly stored as session variables
Look at
http://mail2.anduin.net/index.phps for sourcecode of failing page.
ID: 9186
User Update by: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Scripting Engine problem
Description: string compare with "==" does not work correctly
I think there is no reason to convert any type if both
operands of the comparision are of the same type. It costs
time and it's completely
ID: 9186
Updated by: zak
Reported By: [EMAIL PROTECTED]
Old-Status: Bogus
Status: Open
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Incorrectly flagged as bogus.
Previous Comments:
---
[2001-02-09 10:59:10]
Alan van den Bosch wrote:
[snip]
This issue arises from the loose typing in PHP with the introduction of
first class boolean type (the true and false keywords), from my
understanding the sematics being applied here are as follows (poetic
license
applied liberally);
== is (has become?) a
At 17:59 9/2/2001, [EMAIL PROTECTED] wrote:
ID: 9186
User Update by: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Scripting Engine problem
Description: string compare with "==" does not work correctly
I think there is no reason to convert any type if both
operands of the comparision are of the same
At 19:34 9/2/2001, Hartmut Holzgraefe wrote:
Alan van den Bosch wrote:
== is (has become?) a boolean logic operator, dealing in terms of 'true'
and 'false' values, so its terms are type cast to either 'true' or 'false'.
When applied to strings, a 'false' string is zero length or contains
Zeev Suraski wrote:
At 17:59 9/2/2001, [EMAIL PROTECTED] wrote:
ID: 9186
User Update by: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Scripting Engine problem
Description: string compare with "==" does not work correctly
I think there is no reason to convert any type if both
operands of
Yep, we should. It came up many times over the years, this behavior
haven't changed since early PHP 3.0.0...
Zeev
At 19:47 9/2/2001, Zak Greant wrote:
Zeev Suraski wrote:
At 17:59 9/2/2001, [EMAIL PROTECTED] wrote:
ID: 9186
User Update by: [EMAIL PROTECTED]
Status: Bogus
Bug Type:
From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.0.2
PHP Bug Type: Feature/Change Request
Bug description: Default class function arguments
I'm requesting that the default function arguments for a class method be able to
reference the class variable members
Hi all,
I'm building a PHP extension that I'd like to be able to build both as
fully external and embedded into PHP. I include some apache headers
si I need the build environment to either tell me where apxs is
or have the include directories 'handed to me' in the php-provided
build environment.
Default function arguments have to be static, non dynamic values. The way
to do it is
function foo($bar=unset)
{
if (!isset($bar)) {
$bar = ...;
}
}
At 20:00 9/2/2001, [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED]
Operating system: Linux
PHP
After doing a few tests and some reading, it looks like the rule is pretty
simple:
If either expression on either side of a == operator looks like a number,
then the value of the expression is converted to a number.
--zak
- Original Message -
From: "Zeev Suraski" [EMAIL PROTECTED]
To:
From: [EMAIL PROTECTED]
Operating system: Win2K Winnt4
PHP version: 4.0.4pl1
PHP Bug Type: COM related
Bug description: Cannot create ADO objects with MDAC 2.6
The code snippet below fails on the line which sets the Active Connection of the
Command Object. It works OK
No, it's more complicated than that. Actually, it's not that complicated
if you explain it the other way around:
- The only case in which a char-by-char comparison is made, is if both
arguments are strings, and at least one of them doesn't "look" like a number.
Or, in other words:
- If at
How is this? I modified what Zeev said a wee bit:
== is a 'loose' comparison operator [1].
In most cases, this is more convenient - the operator does the right thing
without needing any coaxing. In some cases, things will happen that are
confusing - particularly when comparing values that have
ID: 9079
User Update by: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Description: PHP seg faults in alloca() at first PHP request to Apache
We undefined HAS_ALLOCA from all the makefiles, recompiled and this fixed our problem.
One of our compiler gurus
I've been working on sapi/nsapi/nsapi.c to get it to work properly under
the iPlanet 4.1 server (there are several problems with the version
shipped with PHP 4.0.4pl1). What should I do with my patch file (~300
lines long) to get these changes incorporated?
- Andrew
--
Every great idea appears
If you think you are going to be making more changes then you should
probably get CVS access.
http://bugs.php.net/cvs-php.php
Otherwise post the patch to the list, the maintainer will review it.
(eventually)
Chris Newbill
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
I think this would be nice. To be able to pull a multi-dimentional array
from a mysql result.
For instance, if I do this:
Select field1,field2 from mytable
Calling something like:
$alldata = mysql_fetch_all($dbpointer)
Would give me:
$alldata["field1"] as an array with values, i.e.:
From: [EMAIL PROTECTED]
Operating system: Debian/GNU Linux 2.2
PHP version: 4.0.0
PHP Bug Type: *Session related
Bug description: ocassional session blackouts
My application used to run PHPLIB for the sake of session variables. After migrating
to PHP4, I made it use the
From: [EMAIL PROTECTED]
Operating system: OpenBSD 2.8
PHP version: 4.0.4pl1
PHP Bug Type: Compile Failure
Bug description: 'ld: No reference to __DYNAMIC' error
I configured with './configure --with-apxs --with-mysql' successfully.
I type 'gmake', and most of it builds.
ID: 9198
Updated by: cnewbill
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: *Session related
Assigned To:
Comments:
Can you include the [Session] section from your php.ini file?
Previous Comments:
---
[2001-02-09
ID: 9199
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Description: 'ld: No reference to __DYNAMIC' error
This also occurs with only './configure --with-apxs'.
Previous Comments:
---
[2001-02-09
Has anyone had a change to check out ReportLab ( http://www.reportlab.com )
? what i wouldn't do to have this puppy ported to a PHP extension
--
_
"Fried Ice-Cream is a reality !" - George Clinton
--
PHP Development Mailing List http://www.php.net/
To
Is there a short script (independent of other scripts) that reproduces this
problem? Can you try to cut it down to the smallest piece of code that
still produces a crash?
Zeev
At 23:45 9/2/2001, [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:
From: [EMAIL PROTECTED]
Operating system: linux
PHP version: 4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description: strtolower handle arrays in addition to strings
It would be nice to have strtolower() accept arrays as arguments (or just make a
function such as
Hey, instead of putting patches in PHP for THTTPD, is there anything
against putting it into future builds?
Just curious...
-Szii
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Hi all,
This is my first post to this list, so please bear with me ;)
Anyway, I've been running/developing a PHP application (fairly simple
content management system) for some time now and it has been running
pretty well. I'm using Apache 1.3.14, PHP 3.0.16 and PostgreSQL 6.5.3.
The problem is
From: [EMAIL PROTECTED]
Operating system: Linux 2.4
PHP version: 4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description: automatically inserted HTML with --trans-sid breaks page compliance
to w3c std
I'm trying to use the latest w3c recommendation (xhtml 1.0)
in
From: [EMAIL PROTECTED]
Operating system: Linux 2.2.14-5.0smp
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: Parse error when using terniary (?:) and unset()
?
$avariable = "test";
$avariable=="test" ? $avariable .=" No problem with is_bool" :
Title: FOLLOW ME TO FINANCIAL FREEDOM
FOLLOW ME TO FINANCIAL FREEDOM!!
NO SPECIAL SKILLS OR EXPERIENCE
REQUIRED
100% LIFE TIME SUPPORT AND TRAINING
LEGITIMATE HOME-BASED INCOME OPPORTUNITY
CALL
1-800-587-9046
ext. 9160
TO LISTEN TO A 1 MINUTE
MESSAGE!
THIS IS DIFFERENT
unset() is not a function, but a statement. It returns no value, and thus,
you can't use it as an expression for the ? operator.
Zeev
At 03:29 10/2/2001, [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED]
Operating system: Linux 2.2.14-5.0smp
PHP version: 4.0.3pl1
PHP Bug Type:
Mathijs-
It would seem that a better model is to simply state that there are resources
that would like to be persisted outside of PHP threads of execution, possibly
outside of a webserver's process space, perhaps even outside of a physical
machine or network. Many people will agree with you.
ID: 9202
User Update by: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: Scripting Engine problem
Bug Type: Documentation problem
Description: Parse error when using terniary (?:) and unset()
The documentation for Unset() states:
Description
int unset (mixed var [, mixed var [, ...]])
unset()
OK, I was way off base in my reasoning... :-)
Thanks for the clarification Zeev and Zak.
Alan.
How is this? I modified what Zeev said a wee bit:
== is a 'loose' comparison operator [1].
In most cases, this is more convenient - the operator does the right thing
without needing any
From: [EMAIL PROTECTED]
Operating system: NT
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: flock doesn't work properly on Windows 2000
#Dummy initial filehandle to obtain lock via
$fd = fopen('c:/temp/php_flock_test', 'a');
$locked =
ID: 9187
Updated by: chrisv
Reported By: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: Sockets related
Bug Type: Feature/Change Request
Assigned To:
Comments:
The sockets extension is not currently supported on Win32 (9x/ME/NT/2k). Changing to
feature request.
(Something to add to my to-do
49 matches
Mail list logo