[PHP-DEV] Bug #15293: Incorrect brackets in strlen crashes server

2002-01-30 Thread phil . whittaker

From: [EMAIL PROTECTED]
Operating system: Linux 2.2.14-5.0 (RedHat 6.2)
PHP version:  4.0.5
PHP Bug Type: Reproducible crash
Bug description:  Incorrect brackets in strlen crashes server

Using an apache linux box if the brackets are in the wrong place, (see
below) the box spawns hundreds of processes eventually crashing the
server.

(strlen($local[1]  3))
[INCORRECT BRACKETS]

Rather than:

(strlen($local[1])  3)
[CORRECT BRACKETS]

[Basic php install with sigchild enabled and Oracle support]
-- 
Edit bug report at: http://bugs.php.net/?id=15293edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #15293 Updated: Incorrect brackets in strlen crashes server

2002-01-30 Thread phil . whittaker

ID: 15293
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Reproducible crash
Operating System: Linux 2.2.14-5.0 (RedHat 6.2)
PHP Version: 4.0.6
New Comment:

'./configure' '--with-oracle=/u01/app/oracle/product/8.1.6'
'--with-oci8=/u01/app/oracle/product/8.1.6'
'--with-apache=/usr/local/apache_1.3.20' '--enable-sigchild' 

Unfortunately, the server is a live and very active server and I can
not get approval to change to config to add --enable-debug.

Sorry.

Quite interestingly the server runs with 10 httpd processes however
when the script is executed this dramatically increases to approx 70
processes then gradually dies back to 31 processes before hanging. The
time scale for the whole call to hang is round one minute.


Previous Comments:


[2002-01-30 14:52:58] [EMAIL PROTECTED]

Can you provide a backtrace (see
http://bugs.php.net/bugs-generating-backtrace.php) and your
configure-line?



[2002-01-30 03:41:25] [EMAIL PROTECTED]

Using an apache linux box if the brackets are in the wrong place, (see
below) the box spawns hundreds of processes eventually crashing the
server.

(strlen($local[1]  3))
[INCORRECT BRACKETS]

Rather than:

(strlen($local[1])  3)
[CORRECT BRACKETS]

[Basic php install with sigchild enabled and Oracle support]





Edit this bug report at http://bugs.php.net/?id=15293edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #10184 Updated: Define and empty multi line string fault

2001-04-05 Thread phil . whittaker

ID: 10184
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Strings related
Description: Define and empty multi line string fault



Previous Comments:
---

[2001-04-05 10:16:52] [EMAIL PROTECTED]
CODE USED-
$var = EOF
EOF;

define("CONSTANT", $var) ;

ERROR PRODUCED -
Warning: Constants may only evaluate to scalar values in 
/home/sites/site5/cnf/lib2.cnf on line 26

The empty multi-line string does not evaluate to the same thing as:
$var = "";

Bug? Fault? User just being thick?

---


Full Bug description available at: http://bugs.php.net/?id=10184


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]