[PHP-DEV] Bug #12841 Updated: ++, -- operators does not conert the type of variable.

2001-09-05 Thread stas
ID: 12841 Updated by: stas Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Closed Bug Type: Scripting Engine problem Operating System: FreeBSD 4.3 PHP Version: 4.0.6 Assigned To: jeroen New Comment: Fixed in CVS. Previous Comments

[PHP-DEV] Bug #13150 Updated: sprintf(%08x,131) generates -80000000

2001-09-05 Thread stas
ID: 13150 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old Bug Type: Output Control Bug Type: Scripting Engine problem Operating System: linux PHP Version: 4.0.6 New Comment: BTW: there's no such interer as 0x8000 in PHP. PHP is limited by signed long. Previous Comments

[PHP-DEV] Bug #12018 Updated: curl_exec() kills script

2001-07-18 Thread stas
ID: 12018 Updated by: stas Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Closed Bug Type: cURL related Operating System: Debian (2.4.5) PHP Version: 4.0.6 Assigned To: stas New Comment: Fix committed to the CVS Previous Comments

[PHP-DEV] Bug #12018 Updated: curl_exec() kills script

2001-07-17 Thread stas
ID: 12018 Updated by: stas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: cURL related Operating System: Debian (2.4.5) PHP Version: 4.0.6 Old Assigned To: Assigned To: stas New Comment: I think I know what's the problem. Previous Comments

[PHP-DEV] Bug #12030 Updated: function pass by reference isn't consistent.

2001-07-17 Thread stas
ID: 12030 Updated by: stas Reported By: [EMAIL PROTECTED] Old Status: Status: Closed Bug Type: Variables related Operating System: Linux redhat 7.1 PHP Version: 4.0.4pl1 New Comment: No, it should not work this way. When you pass the variable array_push in push_doesnt, you are actually passing

[PHP-DEV] Bug #12158 Updated: EVAL code not working correctly if IF block

2001-07-17 Thread stas
ID: 12158 Updated by: stas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Strings related Operating System: Win2K PHP Version: 4.0.6 New Comment: The code you get is: strstr($filename,.htm) || strstr($filename,.asp) this is not a valid code block for eval. If you

[PHP-DEV] Bug #11684 Updated: Header() causes PHP to hang

2001-07-17 Thread stas
ID: 11684 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: Windows 2000/IIS4 PHP Version: 4.0.5 New Comment: BTW: header(http://foo.com/bar.html;) does not make a valid HTTP header. Didn't you mean something like: header(Location

[PHP-DEV] Bug #11591 Updated: implode()

2001-07-17 Thread stas
ID: 11591 Updated by: stas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Old Bug Type: Scripting Engine problem Bug Type: Strings related Operating System: Windows 98 PHP Version: 4.0.5 New Comment: Try using just \n for the delimiter. Previous Comments

[PHP-DEV] Bug #11990 Updated: defined constants getting corrupted

2001-07-17 Thread stas
ID: 11990 Updated by: stas Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: Scripting Engine problem Operating System: RedHat Linux 6.2 PHP Version: 4.0.5, 4.0.6 New Comment: I get a crash too, but in different place. I fear it might be just you getting out of memory

[PHP-DEV] Bug #11666 Updated: While searching 'icons' in your very own homepage.

2001-06-26 Thread stas
ID: 11666 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Operating system: PHP Version: 4.0.6 Assigned To: Comments: not a PHP bug. Please report to [EMAIL PROTECTED] Previous Comments

[PHP-DEV] Bug #11657 Updated: Why is port 8000 used on your webserver for downloads

2001-06-25 Thread stas
ID: 11657 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Operating system: PHP Version: 4.0.6 Assigned To: Comments: Previous Comments: --- [2001-06-25 07:57:56

[PHP-DEV] PHP 4.0 Bug #9807 Updated: ereg_replace returns Warning: Invalid content of \{\}

2001-03-29 Thread stas
ID: 9807 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Function Specific Assigned To: Comments: Works for me in 4.0.4. Please re-check with latest version and if it still happens, please supply values of all ereg_replace arguments. Previous

[PHP-DEV] PHP 4.0 Bug #9300 Updated: Having an array and other variables as parameters to a fonction

2001-03-29 Thread stas
ID: 9300 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Arrays related Assigned To: Comments: Could you please give the isolated self-contained piece of code that demonstrates the problem, and describe what it should do, on your thinking, and what

[PHP-DEV] PHP 4.0 Bug #9645 Updated: usort, uasort, uksort fail every other time

2001-03-29 Thread stas
ID: 9645 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Arrays related Assigned To: Comments: Could you please provide short self-contained script demonstrating the problem (including data sample)? Previous Comments

[PHP-DEV] PHP 4.0 Bug #9643 Updated: Variable member value gets lost from object during use

2001-03-29 Thread stas
ID: 9643 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Class/Object related Assigned To: Comments: Could you please describe in more detail what happens and what the problem is? Also note that when you are using foreach, it operates on the copy

[PHP-DEV] PHP 4.0 Bug #9771 Updated: Passing Multilayered Objects, by Reference, to Independent Sub-Objects

2001-03-29 Thread stas
ID: 9771 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Class/Object related Assigned To: Comments: You should use: $oTest0 = new Test0_t(); (new PHP 4.0.4 syntax) to do what you want. Generally, if you reference $this from the constructor

[PHP-DEV] PHP 4.0 Bug #9884 Updated: Using a return in an included file causes a major abnormality.

2001-03-29 Thread stas
ID: 9884 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Using return stops _running_ the script. However, in PHP 4, scrips are _compiled_ in full before running. That means, all functions, which

[PHP-DEV] PHP 4.0 Bug #9963 Updated: strtr behaves differently than unix tr

2001-03-29 Thread stas
ID: 9963 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Strings related Assigned To: Comments: The function works just like it's defined to work, so it's not a bug. You can use any of the replace functions (fastest would be str_replace, I guess

[PHP-DEV] PHP 4.0 Bug #9596 Updated: All the php executable text I see is blurred beyond recognition

2001-03-29 Thread stas
ID: 9596 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Bogus Bug Type: Unknown/Other Function Assigned To: Comments: Previous Comments: --- [2001-03-07 00:58:22] [EMAIL PROTECTED

[PHP-DEV] PHP 4.0 Bug #10031 Updated: Stange behaviour in for loop with negative values

2001-03-29 Thread stas
ID: 10031 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Variables related Assigned To: Comments: Your mistake is that you regard $start_day as number. In most cases it's OK, but ++ acts differently on strings. So use $itchy = $start_day+0 or any

[PHP-DEV] PHP 4.0 Bug #9884 Updated: Using a return in an included file causes a major abnormality.

2001-03-29 Thread stas
ID: 9884 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Scripting Engine problem Assigned To: Comments: reopened - double function definition still there. Previous Comments

[PHP-DEV] PHP 4.0 Bug #10028 Updated: chinese

2001-03-27 Thread stas
ID: 10028 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: URL related Assigned To: Comments: Not a PHP bug. Previous Comments: --- [2001-03-27 12:22:39] [EMAIL PROTECTED] When

[PHP-DEV] PHP 4.0 Bug #8998 Updated: htmlspecialchars() DONT convert a string/array ONCE

2001-03-20 Thread stas
ID: 8998 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Strings related Assigned To: Comments: Works for me. Most proboaly syntax error on user's side. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9168 Updated: unpack 'h' and 'H' formats don't work

2001-03-20 Thread stas
ID: 9168 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Strings related Assigned To: Comments: H and h doesn't work by nibbles, only by bytes (i.e., you cannot really do unpack("Hnz") when n is not even. Otherwise, if you write unpack(&quo

[PHP-DEV] PHP 4.0 Bug #9437 Updated: Function stripslashes works not correct, as i think

2001-03-20 Thread stas
ID: 9437 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Strings related Assigned To: Comments: The function works right. Meaning of stripslashes is reverse of addslashes. Addslashes "escapes" the special characters, i.e. adds slash to ea

[PHP-DEV] PHP 4.0 Bug #9120 Updated: unexpected behavior of chop(), ltrim(), rtrim(), and trim()

2001-03-20 Thread stas
ID: 9120 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Strings related Assigned To: Comments: Works for me perfectly - except that \v is not recognized by PHP. Who needs it anyway?. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9835 Updated: problems with multiple /* comments

2001-03-19 Thread stas
ID: 9835 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Yes, PHP does not support nested comments. Previous Comments: --- [2001-03

[PHP-DEV] PHP 4.0 Bug #9156 Updated: stripslashes doesn't work as expected

2001-03-15 Thread stas
ID: 9156 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Function Specific Assigned To: Comments: For me, doing addslashes and then stripslashes on the string, it comes out exactly as it was. Please provide example of the code where it doesn't work

[PHP-DEV] PHP 4.0 Bug #9673 Updated: Relative paths in require(), require_once(), include(), include_once()

2001-03-15 Thread stas
ID: 9673 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Scripting Engine problem Assigned To: Comments: First, PHP include() is in no way related or was promised to relate to C preprocessor directives, so no wonder it behaves differently. Now

[PHP-DEV] PHP 4.0 Bug #9725 Updated: Zend Optimizer 1.0

2001-03-15 Thread stas
ID: 9725 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Unknown/Other Function Assigned To: Comments: Please report Zend Optimizer problems to [EMAIL PROTECTED] You most probably will not be able to use Zend Optimizer with -dev versions. Previous

[PHP-DEV] PHP 4.0 Bug #9451 Updated: Core maths problem with incrementation

2001-03-15 Thread stas
ID: 9451 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Math related Assigned To: Comments: You are working with $variable as a string. Convert it to integer with (int) or with adding 0 to it. Previous Comments

[PHP-DEV] PHP 4.0 Bug #8661 Updated: a copy of the internal array elements is sometimes not made

2001-03-15 Thread stas
ID: 8661 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Scripting Engine problem Assigned To: Comments: Zend copies arrays and objects "shallow" (for performance reasons). The workaround is to implement "clone" method. This prob

[PHP-DEV] PHP 4.0 Bug #9641 Updated: get_required_files()/get_included_files() does not work as docuemented

2001-03-15 Thread stas
ID: 9641 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Scripting Engine problem Bug Type: Documentation problem Assigned To: Comments: Now, get_required_files and get_included_files are the same. Documentation should be changed. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9365 Updated: Problem with muiti-byte char code set (serious)

2001-03-08 Thread stas
ID: 9365 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: Could you please provide a short code demonstrating the problem? Previous Comments

[PHP-DEV] PHP 4.0 Bug #9453 Updated: Reference issue

2001-03-08 Thread stas
ID: 9453 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: Works for me. What are the results in your case? Previous Comments

[PHP-DEV] PHP 4.0 Bug #9477 Updated: Object is destroyed before references all released

2001-03-08 Thread stas
ID: 9477 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: Could you please describe more in detail what the problem is and provide a short scipt reproducing the behaviour? Previous Comments

[PHP-DEV] PHP 4.0 Bug #9481 Updated: Passing out class property by reference problem

2001-03-08 Thread stas
ID: 9481 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: This is not a bug. Please read the "References explained" part in the manual. When you have $a = $b and you do $a = $c, you don't ma

[PHP-DEV] PHP 4.0 Bug #9618 Updated: Strange behaviour initialing extended class

2001-03-08 Thread stas
ID: 9618 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: PHP is not C++, you cannot have two functions with same names and different parameters. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9623 Updated: zboard13

2001-03-08 Thread stas
ID: 9623 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: Please report bugs in english. Previous Comments: --- [2001-03-08 10:08:26] [EMAIL

[PHP-DEV] PHP 4.0 Bug #9624 Updated: Problem when searching your site...

2001-03-08 Thread stas
ID: 9624 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: Please report website bugs to [EMAIL PROTECTED] Previous Comments: --- [2001-03-08

[PHP-DEV] PHP 4.0 Bug #9416 Updated: ereg_replace returns Warning: Invalid content of \{\}

2001-03-08 Thread stas
ID: 9416 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: Variables related Bug Type: Regexps related Assigned To: Comments: Could you please provide an example of the string where it happens? Also, could you post a ereg call you are using

[PHP-DEV] PHP 4.0 Bug #8794 Updated: preg_grep changed behavior by design?

2001-03-08 Thread stas
ID: 8794 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: PCRE related Assigned To: Comments: Manual says that the behaviour of preg_grep is exaclty what it is. You can use each() or foreach() to go through the array, count() is not sacred in any way

[PHP-DEV] PHP 4.0 Bug #9223 Updated: recode_string leaks memory

2001-03-08 Thread stas
ID: 9223 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Recode related Assigned To: Comments: Seems that this is a recode memory leak, not PHP's. At least Insure says that recode library is leaking memory all over the place. You may want to contact

[PHP-DEV] PHP 4.0 Bug #8972 Updated: Referenced variables and unset()

2001-03-08 Thread stas
ID: 8972 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: See, the PHP references work the certain way. You may like it or not like it, but there's the way it works. If it doesn't work as you expected

[PHP-DEV] PHP 4.0 Bug #9223 Updated: recode_string leaks memory

2001-03-08 Thread stas
ID: 9223 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Closed Status: Analyzed Bug Type: Recode related Assigned To: Comments: Better be in 'Analyzed', to know the problem still exists. Previous Comments

[PHP-DEV] PHP 4.0 Bug #8937 Updated: unset() in context with GLOBAL

2001-03-08 Thread stas
ID: 8937 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: "the program dosn't do, what I expect" is not a bug. A bug is "the program doesn't do what the programmer expected". If '

[PHP-DEV] PHP 4.0 Bug #9631 Updated: if(condition); works without warning/error!!

2001-03-08 Thread stas
ID: 9631 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Old-Bug Type: Compile Warning Bug Type: Scripting Engine problem Assigned To: Comments: Yes, this is a valid construct. The syntax of if operator is: 'if(' expression ')' statement ';' alone is a valid

[PHP-DEV] PHP 4.0 Bug #9632 Updated: A bug in you web, see description

2001-03-08 Thread stas
ID: 9632 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: Please report website bugs to [EMAIL PROTECTED] Previous Comments: --- [2001-03-08

[PHP-DEV] PHP 4.0 Bug #9587 Updated: obj-method()-method2() doesn't work!!

2001-03-08 Thread stas
ID: 9587 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Class/Object related Assigned To: Comments: Yes, this is a known problem. Previous Comments: --- [2001-03-06 15:31:04

[PHP-DEV] PHP 4.0 Bug #8222 Updated: Objects are not automatically destroyed when reference count=0

2001-03-08 Thread stas
ID: 8222 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Class/Object related Assigned To: Comments: If you compile PHP in debug mode (--enable-debug) does it report any memory leaks? If not, the leak is probably not in PHP code, but in external

[PHP-DEV] PHP 4.0 Bug #9406 Updated: if you don't have PHPRC set, php will try to load /php.ini

2001-03-06 Thread stas
ID: 9406 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Configuration Issues Assigned To: Comments: fixed in CVS. Previous Comments: --- [2001-02-22 12:00:13] [EMAIL PROTECTED

[PHP-DEV] PHP 4.0 Bug #9567 Updated: Warning: file(http://www.php.net) - Bad file descriptor in /usr/........

2001-03-06 Thread stas
ID: 9567 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Directory/Filesystem functions Assigned To: Comments: Works for me. Are you sure it still happens for the latest CVS? Previous Comments

[PHP-DEV] PHP 4.0 Bug #9043 Updated: popen returns a 'Resource id #' (non null) when process cannot be created.

2001-03-06 Thread stas
ID: 9043 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Directory/Filesystem functions Assigned To: Comments: popen runs "sh -c your command". This command does succeed. The fact that sh was unable to run your command should be checked by

[PHP-DEV] PHP 4.0 Bug #8489 Updated: Function empty() does not work

2001-03-06 Thread stas
ID: 8489 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: *Function Specific Assigned To: Comments: No feedback, closing. Previous Comments: --- [2001-01-08 13:52:53] [EMAIL

[PHP-DEV] PHP 4.0 Bug #8514 Updated: function returning references changes other vars

2001-03-06 Thread stas
ID: 8514 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No feedback, closing. Previous Comments: --- [2001-01-09 10:25:24

[PHP-DEV] PHP 4.0 Bug #8283 Updated: Impossible to connect to socket made by other unix daemon...

2001-03-06 Thread stas
ID: 8283 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: Sockets related Assigned To: Comments: No feedback, closing. Previous Comments: --- [2000-12-19 06:34:40] [EMAIL

[PHP-DEV] PHP 4.0 Bug #6982 Updated: disable_functions option don't works in Apache config

2001-03-06 Thread stas
ID: 6982 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: *General Issues Bug Type: Feature/Change Request Assigned To: Comments: I guess it's intended - they work only for php.ini, otheriwse user could easyliy override this with .htaccess, for example. So

[PHP-DEV] PHP 4.0 Bug #9561 Updated: @unset() causes parse error

2001-03-06 Thread stas
ID: 9561 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: unset is an operator, not a function. @ is for functions. Previous Comments

[PHP-DEV] PHP 4.0 Bug #7706 Updated: HTML PHP documents return Document contains no data

2001-03-06 Thread stas
ID: 7706 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: Scripting Engine problem Bug Type: Apache related Assigned To: Comments: You probably have some version incompatibility or build problem between PHP and Apache. Are you sure apxs is from

[PHP-DEV] PHP 4.0 Bug #8506 Updated: CGI PHP doesn't erase the #!/path/to/php

2001-03-06 Thread stas
ID: 8506 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Old-Bug Type: Scripting Engine problem Bug Type: *Web Server problem Assigned To: Comments: What is your apache configuration for PHP scripts? Previous Comments

[PHP-DEV] PHP 4.0 Bug #8768 Updated: 'continue' inside of 'switch' statement acts like 'break' instead of 'continue'

2001-03-06 Thread stas
ID: 8768 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: switch is a looping structure in PHP, just like for, but one-time. Use "continue 2;" if you want to continue the outer loop. Previou

[PHP-DEV] PHP 4.0 Bug #8937 Updated: unset() in context with GLOBAL

2001-03-06 Thread stas
ID: 8937 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: So, what's the problem with your latest code? I do not see any. Previous Comments

[PHP-DEV] PHP 4.0 Bug #8972 Updated: Referenced variables and unset()

2001-03-06 Thread stas
ID: 8972 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: No, it won't work that way (your first example). Unset breaks the reference. Please read the "References explained" part in the manual.

[PHP-DEV] PHP 4.0 Bug #9109 Updated: Comments and regular expressions make problems

2001-03-06 Thread stas
ID: 9109 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Right. Engine cannot parse your comments as if they were PHP code (because they are not), so be careful. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9152 Updated: undefined function not signaled

2001-03-06 Thread stas
ID: 9152 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: That's not a bug, that's a feature. Since you have no constructor, you need no arguments for it. Since you do not need them, they are never

[PHP-DEV] PHP 4.0 Bug #9307 Updated: Numeric-looking array keys are forced to be integers

2001-03-06 Thread stas
ID: 9307 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Right, this is how PHP works. That's not a bug, that's an intended behaviour. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9576 Updated: Parse error with ($i%2) ? echo '':echo''

2001-03-06 Thread stas
ID: 9576 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: echo is a statement, not a function, thus cannot be used in an expression. You are right to use print. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9440 Updated: Bug in php.ini parser

2001-03-06 Thread stas
ID: 9440 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Scripting Engine problem Bug Type: Feature/Change Request Assigned To: Comments: Moving to RFE. Previous Comments: --- [2001-02-25 07:29

[PHP-DEV] PHP 4.0 Bug #9316 Updated: calling an external function in a loop

2001-03-06 Thread stas
ID: 9316 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Scripting Engine problem Assigned To: Comments: Could you post short self-contained standalone script that reproduces it? Previous Comments

[PHP-DEV] PHP 4.0 Bug #9446 Updated: CGI version echos first line

2001-03-06 Thread stas
ID: 9446 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Configuration Issues Assigned To: Comments: Putting this: zend_optimizer.enable_loader=0 in the php.ini should help you. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9366 Updated: bin2hex() outputs non-hex digits

2001-02-27 Thread stas
ID: 9366 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Function Specific Assigned To: Comments: As you see, I wrote this comment on Feb. 22th, so please try more recent version. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9478 Updated: Two different types compare problem!

2001-02-27 Thread stas
ID: 9478 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Math related Assigned To: Comments: Use === for exact comparison. == is 'numeric' comparison. Previous Comments: --- [2001

[PHP-DEV] PHP 4.0 Bug #9458 Updated: in_array() error

2001-02-26 Thread stas
ID: 9458 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Arrays related Assigned To: Comments: Do not see any problem here. in_array returns for me false, as it should. This bug seems to be fixed or you have some other problem. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9302 Updated: Fallo en la funcion sscanf

2001-02-25 Thread stas
ID: 9302 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Strings related Assigned To: Comments: Not a bug. Scanf delimits strings by whitespace, not by arbitrary symbol. Use [pe]reg_match or split if you need to delimit by arbitrary symbol. Previous

[PHP-DEV] PHP 4.0 Bug #9311 Updated: php -l causes segmentation fault

2001-02-22 Thread stas
ID: 9311 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: Fixed in CVS. Previous Comments: --- [2001-02-16 21:40:28] [EMAIL PROTECTED

[PHP-DEV] PHP 4.0 Bug #8466 Updated: Return status of executed command not passed correct in Exec() and System()

2001-02-22 Thread stas
ID: 8466 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Program Execution Assigned To: Comments: seems to be dup of #8992 Previous Comments: --- [2000-12-28 17:29:17] [EMAIL

[PHP-DEV] PHP 4.0 Bug #8732 Updated: execution function return always -1

2001-02-22 Thread stas
ID: 8732 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Program Execution Assigned To: Comments: see #8992 Previous Comments: --- [2001-01-21 04:44:11] [EMAIL PROTECTED

[PHP-DEV] PHP 4.0 Bug #8962 Updated: (8212) If the result of an exec() command is one character the result is empty.

2001-02-22 Thread stas
ID: 8962 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Unknown/Other Function Bug Type: Program Execution Assigned To: Comments: reclassify Previous Comments: --- [2001-01-28 00:15:46] [EMAIL

[PHP-DEV] PHP 4.0 Bug #9040 Updated: Exec sets return_val to -1 when compiled with --enable-sigchild

2001-02-22 Thread stas
ID: 9040 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Duplicate Bug Type: Program Execution Assigned To: Comments: see #8992 Previous Comments: --- [2001-01-31 16:38:35] [EMAIL PROTECTED] I

[PHP-DEV] PHP 4.0 Bug #9267 Updated: vars are set to instead of NULL

2001-02-22 Thread stas
ID: 9267 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Database Functions Assigned To: Comments: Could you provide a short example of a code that reproduces this? Previous Comments

[PHP-DEV] PHP 4.0 Bug #9366 Updated: bin2hex() outputs non-hex digits

2001-02-22 Thread stas
ID: 9366 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: *Function Specific Assigned To: Comments: Please see if current CVS snapshot fixes the problem. Previous Comments

[PHP-DEV] PHP 4.0 Bug #9404 Updated: disable_functions doesn't work properly

2001-02-22 Thread stas
ID: 9404 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Old-Bug Type: *Configuration Issues Bug Type: Feature/Change Request Assigned To: Comments: That's an intended feature. Otherwise you could override system-wide setting with your less restrictive private

[PHP-DEV] PHP 4.0 Bug #9321 Updated: eregi() crashes or runs terrible slow

2001-02-22 Thread stas
ID: 9321 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: *Regular Expressions Assigned To: Comments: Regexps with two .* is doing _a real lot_ of backtracking and is _VERY_ slow. In your example you can easily replace it with strstr and a bit

[PHP-DEV] PHP 4.0 Bug #9066 Updated: problem printing array

2001-02-22 Thread stas
ID: 9066 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Class/Object related Assigned To: Comments: Use "{$this-variable[0]}" Previous Comments: --- [2001-02-02 02:08:

[PHP-DEV] PHP 4.0 Bug #8965 Updated: Superclass constructor not invoked when subclass also contains a constructor

2001-02-22 Thread stas
ID: 8965 Updated by: stas Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Class/Object related Assigned To: Comments: This is by design. Previous Comments: --- [2001-01-28 06:25:03] [EMAIL

[PHP-DEV] PHP 4.0 Bug #1249 Updated: url_parse() is a bit too strict

2001-02-22 Thread stas
ID: 1249 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Bug Type: URL related Assigned To: Comments: I, personally, don't see why it has to parse such bogus URLs at all... Any arguments? Previous Comments

[PHP-DEV] PHP 4.0 Bug #8860 Updated: variable array not working

2001-01-23 Thread stas
ID: 8860 Updated by: stas Reported By: [EMAIL PROTECTED] Status: Open Old-Bug Type: Scripting Engine problem Bug Type: Feature/Change Request Assigned To: Comments: It is definitely not meant to work this way. 'test[2]' is not a variable name. $test is the variable (array), and $test[2