[PHP-DEV] Bug #15201: ('foo'==0) => equal ?

2002-01-24 Thread alberty
From: [EMAIL PROTECTED] Operating system: i688-gnu-linux PHP version: 4.0CVS-2002-01-24 PHP Bug Type: Variables related Bug description: ('foo'==0) => equal ? A simple condition with a strange result: result: $a and $b is equal, but if $b unequal zero the conditio

[PHP-DEV] Bug #11028: ip2long use now unsigned integer and long2ip doesnt work

2001-05-22 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0 Latest CVS (2001-05-22) PHP Bug Type: *Network Functions Bug description: ip2long use now unsigned integer and long2ip doesnt work ip2long puts under 4.0.6RC1 unsigned integers. now long2ip doesnt w

[PHP-DEV] Bug #11083: buildconf Undefined macros Zend/ylwrap

2001-05-24 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0 Latest CVS (2001-05-24) PHP Bug Type: *Install and Config Bug description: buildconf Undefined macros Zend/ylwrap buildconf results on my suse 7.0 distribution: buildconf: checking installation...

[PHP-DEV] Bug #11804: curl_error results strange strings

2001-06-30 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0 Latest CVS (2001-06-29) PHP Bug Type: cURL related Bug description: curl_error results strange strings Hi, - cURL 7.8, PHP CVS, Apache 1.3.20, linux-i686 curl_errno doesnt work with follow code:

[PHP-DEV] Bug #11901: CURLOPT_HEADERFUNCTION result wrong header

2001-07-05 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0 Latest CVS (2001-07-05) PHP Bug Type: cURL related Bug description: CURLOPT_HEADERFUNCTION result wrong header Hi, the code: function get_header($tmp1,$tmp2){ echo "R1:$tmp1R2:$tmp2"

[PHP-DEV] Bug #11908: Post not binary safe

2001-07-05 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0 Latest CVS (2001-07-05) PHP Bug Type: cURL related Bug description: Post not binary safe Hi, the code: $ch = curl_init ("http://www.php.net/";); $fp = fopen ("php_homepage.txt", "w"); for (

[PHP-DEV] Bug #12045: no content=cURL crashes sometimes

2001-07-11 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686 PHP version: 4.0.6 PHP Bug Type: cURL related Bug description: no content=cURL crashes sometimes Hi, sometimes cURL crashes when Server gives correct headers but no content. unfortunately the problem is difficult to repr

[PHP-DEV] Bug #12091: zlib uncompress buffer error/ inflate failed

2001-07-12 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-07-12 PHP Bug Type: Zlib Related Bug description: zlib uncompress buffer error/ inflate failed Hi, the follow code produces a deflated string which php can not inflate. php results:

[PHP-DEV] Bug #12091 Updated: zlib uncompress buffer error/ inflate failed

2001-07-13 Thread alberty
ID: 12091 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Closed Bug Type: Zlib Related Operating System: i686-pc-linux-gnu PHP Version: 4.0CVS-2001-07-12 New Comment: Hi Thies, thank you for your changes in zlib.c but you have not really fix the problem. If i incre

[PHP-DEV] Bug #12146: PHP warns if mysql have a special problem

2001-07-13 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: PHP warns if mysql have a special problem Hi, the follow 'wrong' MySQL statement produce not only a MySQL error number, it also makes a php warning

[PHP-DEV] Bug #14082: unserialize have problems with negative numbers

2001-11-16 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-11-16 PHP Bug Type: Variables related Bug description: unserialize have problems with negative numbers Hi, i have detect two annoyingly bugs ;-) with serialize/unserialize. The first b

[PHP-DEV] Bug #14162: wrong init with mcrypt_generic_init crashes php

2001-11-21 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-11-21 PHP Bug Type: Unknown/Other Function Bug description: wrong init with mcrypt_generic_init crashes php Hi, php crashes with libmcrypt (ive test it with 2.4.17) with the follow php s

[PHP-DEV] Bug #14237: reference calls in some cases very slow

2001-11-26 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-11-26 PHP Bug Type: Performance problem Bug description: reference calls in some cases very slow Hi, i have found a very critical behavior with references under php. The usage of references

[PHP-DEV] Bug #14237 Updated: reference calls in some cases very slow

2001-12-13 Thread alberty
ID: 14237 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Performance problem Operating System: i686-pc-linux-gnu PHP Version: 4.1.0 New Comment: I think, this is an very annoying behavior of the zend engine and also there are no warning or clue in the do

[PHP-DEV] Bug #12791: mcrypt doesnt work in 4.0.7 rc1 by this code

2001-08-16 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-08-16 PHP Bug Type: mcrypt related Bug description: mcrypt doesnt work in 4.0.7 rc1 by this code Hi all, mcrypt doesnt work in 4.0.7 with the following code: the following code produce

[PHP-DEV] Bug #12894: GD crashes PHP by using GD Format

2001-08-22 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0.6 PHP Bug Type: GD related Bug description: GD crashes PHP by using GD Format Hi, the follow 2 different scripts using ImageCreateFromGD & ImageGD2 and crashes PHP. (using gd2.0.1 and 4.0.6)

[PHP-DEV] Bug #12894 Updated: GD crashes PHP by using GD Format

2001-08-22 Thread alberty
ID: 12894 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: GD related Operating System: i686-pc-linux-gnu PHP Version: 4.0.6 New Comment: Sorry, my submitted PHP Version was wrong. I mean 4.0.7-dev from the latest CVS. The script crash under cvs version

[PHP-DEV] Bug #12894 Updated: GD crashes PHP by using GD Format

2001-08-27 Thread alberty
ID: 12894 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: GD related Operating System: i686-pc-linux-gnu PHP Version: 4.0.7-dev (latest CVS) New Comment: Hi Jani, here is the backtrace of the second script: Program received signa

[PHP-DEV] Bug #13284: Other behavior of chunk_split in 4.07

2001-09-13 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-09-13 PHP Bug Type: Strings related Bug description: Other behavior of chunk_split in 4.07 Hi, in the current cvs version (407|408) the following code have another result as in PHP <=40

[PHP-DEV] Bug #13287: MySQL, PHP and a random problem

2001-09-13 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-09-13 PHP Bug Type: MySQL related Bug description: MySQL, PHP and a random problem Hi, i have found a mystic behavior with MySQL and PHP. The follow code describes a problem which i h

[PHP-DEV] Bug #13287 Updated: MySQL, PHP and a random problem

2001-09-14 Thread alberty
ID: 13287 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: MySQL related Operating System: i686-pc-linux-gnu PHP Version: 4.0CVS-2001-09-13 New Comment: Yes, with mysql -e "select ID from footest order by rand() limit 8;" the same p

[PHP-DEV] Bug #12894 Updated: GD crashes PHP by using GD Format

2001-10-03 Thread alberty
ID: 12894 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Closed Status: Open Bug Type: GD related Operating System: i686-pc-linux-gnu PHP Version: 4.0.7-dev (latest CVS) New Comment: oops, i have post a message to this problem in php.dev under: "GD seg fault on save

[PHP-DEV] Bug #13561: --without-pear prevent install of php-config,phpize,...

2001-10-05 Thread alberty
From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-10-05 PHP Bug Type: *Configuration Issues Bug description: --without-pear prevent install of php-config,phpize,... Hi, a little configure bug. If you disable the pear installation with

[PHP-DEV] zend_hash_find,Z_OBJPROP and Zend2

2002-08-15 Thread Steve Alberty
Hi, i have problems with ming and the new zend2engine. Is it not possible to detect zend objects about the zend_hash_find method with the new zend engine? e.g.: in ming.c SWFgetProperty() zend_hash_find cant locate the objects which is defined with $movie=new SWFMovie(); (swfmovie_init())

[PHP-DEV] Predefined Classes in Zend2

2002-08-17 Thread Steve Alberty
Hi, is it possible that predefined classes no longer working in zend2 engine ? eg: in zend1: the incomplete message is written: Fatal error: The script tried to execute a method or access ... correct, but in zend2: object(__PHP_Incomplete_Class)(0) {} also the same example with ming: in z

[PHP-DEV] file_register_wrapper not binary safe?

2002-09-05 Thread Steve Alberty
hi, i've made some tests with file_register_wrapper and a possible "my-own-get-from-variable-instead-of-file-handle" wrapper, but i think that the stream_open function handler is not binary safe. Here a small code snip to demonstrate the problem: data=substr($path,11); $this->da

[PHP-DEV] Upload broken?

2002-10-24 Thread Steve Alberty
Hi, is in the cvs tree the file upload currently broken? I miss the $_FILES['myfile'] variables. Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] pcntl_signal problem

2002-10-25 Thread Steve Alberty
Hi, i've a small problem with the signal handler. These short script demonstrate my problem. #!/usr/local/bin/php The problem is, that the script doesnt exit when i'm sending the TERM signal or pressing CTRL-C (INT signal). I've test it with the lastest cvs version. Any help? Regards, Ste

[PHP-DEV] html_error related to phpinfo() output

2002-10-29 Thread Steve Alberty
Hi, why result the functions phpinfo() and phpcredits() as plain text when i set the html_error = Off. I think this is not the correct behavior, or not? Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Changelog broken?

2002-11-11 Thread Steve Alberty
Hi, the Changelog file in the php4 cvs tree is unchanged since 7 days. Is the script (cvs2cl ?) broken? Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] readfile() suggestion

2002-11-22 Thread Steve Alberty
Hi, i've a small suggestion to improve the behavior of the readfile() function. First, since the command use the php streams, sometimes php crashes, especially with big files (>10MB). Also, if you output a file with readfile(), the memory consumption is excacly the same as the reading file. I

[PHP-DEV] TSRM Problem with dmalloc

2002-07-01 Thread Steve Alberty
Hi, when i compile php with dmalloc (because i develop an own extension), php crashes in combination with apache 2, but i think this is not a problem with apache 2 or with dmalloc. Maybe it is a problem with the --with-config-file-path option. I have set it to /etc/debug/php.ini ... here is the

[PHP-DEV] callback in classes?

2002-07-03 Thread Steve Alberty
Hi, how can i use a callback function in preg_replace_callback or set_error_handler; with functions in classes? e.g: What's the right syntax? Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: staybyte

2002-07-04 Thread Steve Alberty
Hi, i need cvs access, because i'm currently in the ming developer group and i have improve some functions in this extension and some adjustments of ming.c are required in the near future. Ming is currently very experimental and i hope i can improve the state. Also i'll complete the incompl

[PHP-DEV] Re: Pass by reference

2002-07-23 Thread Steve Alberty
Yes, see bug #14237 http://bugs.php.net/bug.php?id=14237 or http://phpxpath.sourceforge.net/benchmark/phpBench.php Regards, Steve -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] chunk_split seg fault: bt

2001-09-26 Thread Steve Alberty
Hi, chunk_split in the follow code snip produces sometimes a seg. fault. Here is the backtrace, i hope it helps a little bit: Program received signal SIGSEGV, Segmentation fault. 0x400cb007 in memcpy (dstpp=0x81926e0, srcpp=0x81922a8, len=135878960) at ../sysdeps/generic/memcpy.c:55 55

[PHP-DEV] GD seg fault on save: (bt) - 2.gd [0/1]

2001-09-26 Thread Steve Alberty
Hi, i have create a gd image with the gd tools and the follow code produces a seg fault. The problem is _not_ ImageJPEG! You can reproduce the problem also with ImagePNG. here is the backtrace: Program received signal SIGSEGV, Segmentation fault. gdImageJpegCtx (im=???, outfile=???, qu

[PHP-DEV] GD seg fault on save: (bt) - 2.gd [1/1]

2001-09-26 Thread Steve Alberty
begin 755 2.gd M__\`%0`:`?]_?W]_?W]_?W__ M__]_=>[!P']_?W]_?W]_?___ M_W]_?W]_?W]_?W]A\M+1 M+_7:V17LNKA'WHJ'>=EVJJ']_?W]_?___ M_W]_?W]_?W/BEY0`Y

[PHP-DEV] compile with cURL,ming,.. and apxs2 breaks

2001-10-03 Thread Steve Alberty
compile with cURL,ming,.. and apxs2 breaks Hi, What's wrong? Is the development on apache2 sapi stop? The current compile breaks if --with-apxs2 with Apache 2.0.26dev (prefork) is use with the follow configure options: --with-curl=shared,/usr/local/curl/current curl.c: In functi