[PHP-DEV] Bug #12243 Updated: Large numbers not behaving as doubles

2001-07-18 Thread cynic
ID: 12243 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Variables related Operating System: FreeBSD 4.1.1-STABLE PHP Version: 4.0.6 New Comment: at your service Previous Comments: -

[PHP-DEV] Bug #11716 Updated: Segmentation fault(coredump) in Apache(DSO-enabled) startup

2001-07-18 Thread cmlee
ID: 11716 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Apache related Operating System: AIX 4.3.3 PHP Version: 4.0.6 New Comment: I tried to make php4-200107181935 snapshot. But now I have another problem which is an installation failure. $ ./co

[PHP-DEV] Bug #12243 Updated: Large numbers not behaving as doubles

2001-07-18 Thread matysekj
ID: 12243 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Variables related Operating System: FreeBSD 4.1.1-STABLE PHP Version: 4.0.6 New Comment: Absolutely. I've written just one test script with just those 2 lines in it. I copied this same file to

Re: [PHP-DEV] Bug #12243 Updated: Large numbers not behaving asdoubles

2001-07-18 Thread Sascha Schumann
On 19 Jul 2001 [EMAIL PROTECTED] wrote: > ID: 12243 > Updated by: cynic > Reported By: [EMAIL PROTECTED] > Old Status: Bogus > Status: Feedback > Bug Type: Variables related > Operating System: FreeBSD 4.1.1-STABLE > PHP Version: 4.0.6 > New Comment: > > are you sure you don't initialize the vari

[PHP-DEV] Bug #12243 Updated: Large numbers not behaving as doubles

2001-07-18 Thread cynic
ID: 12243 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Feedback Bug Type: Variables related Operating System: FreeBSD 4.1.1-STABLE PHP Version: 4.0.6 New Comment: are you sure you don't initialize the variable with 5 Million on the Linux box? Previous Comments:

[PHP-DEV] Reworking DOMXML

2001-07-18 Thread Joey Smith
There needs to be a decision made in order to complete the work on domxml, as it currently stands. I think it is a good idea to keep both the "procedural" and "object oriented" interfaces in the code. The way the module is currently written, it will take the least amount of work to just require

[PHP-DEV] Bug #12243 Updated: Large numbers not behaving as doubles

2001-07-18 Thread matysekj
ID: 12243 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Variables related Operating System: FreeBSD 4.1.1-STABLE PHP Version: 4.0.6 New Comment: If this is strictly hardware related, then how come when I run the exact same 2 lines on another box runnin

[PHP-DEV] Bug #12243 Updated: Large numbers not behaving as doubles

2001-07-18 Thread cynic
ID: 12243 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Variables related Operating System: FreeBSD 4.1.1-STABLE PHP Version: 4.0.6 New Comment: 1) longlong != double 2) the scale is HW-dependant, i. e. you need a 64-bit HW to get native support for 6

[PHP-DEV] Bug #12243 Updated: Large numbers not behaving as doubles

2001-07-18 Thread matysekj
ID: 12243 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Variables related Operating System: FreeBSD 4.1.1-STABLE PHP Version: 4.0.6 New Comment: I've verified that this behavior is relatively new. It does not happen in 4.03PL1, but does in 4.05 and 4.06

[PHP-DEV] Bug #12243: Large numbers not behaving as doubles

2001-07-18 Thread matysekj
From: [EMAIL PROTECTED] Operating system: FreeBSD 4.1.1-STABLE PHP version: 4.0.6 PHP Bug Type: Variables related Bug description: Large numbers not behaving as doubles $testnumber = 50; echo $testnumber; The result is 2147483647. The variable is of type integer

[PHP-DEV] Bug #12241 Updated: imap.so: undefined symbol: mxdriver in Unknown on line 0

2001-07-18 Thread jmmele
ID: 12241 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IMAP related Operating System: Linux core 2.4.0-test12 PHP Version: 4.0.6 New Comment: all the modules I compile are working but imap.so PHP Warning: Unable to load dynamic library '/usr/local/

[PHP-DEV] Bug #12241: imap.so: undefined symbol: mxdriver in Unknown on line 0

2001-07-18 Thread jmmele
From: [EMAIL PROTECTED] Operating system: Linux core 2.4.0-test12 PHP version: 4.0.6 PHP Bug Type: IMAP related Bug description: imap.so: undefined symbol: mxdriver in Unknown on line 0 all the modules I compile are working but imap.so PHP Warning: Unable to load dynamic

[PHP-DEV] Bug #12239 Updated: crashes on Mail()

2001-07-18 Thread TheUnforgiven
ID: 12239 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Debian Linux PHP Version: 4.0.6 New Comment: changing to exim/sendmail did not fix the problem i am qmail next. Previous Comments: -

[PHP-DEV] Bug #12239 Updated: crashes on Mail()

2001-07-18 Thread TheUnforgiven
ID: 12239 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Reproducible crash Operating System: Debian Linux PHP Version: 4.0.6 New Comment: i am getting these errors..[Wed Jul 18 18:48:52 2001] [notice] child pid 1251 exit signal Segmentation fault (11)

[PHP-DEV] Bug #12238 Updated: Double printing with echo and print

2001-07-18 Thread cynic
ID: 12238 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Open Status: Bogus Bug Type: Strings related Operating System: PHP Version: 4.0.6 New Comment: RTFM (Reading The Fine Manual) never killed anyone. You should try that. :) "System() is just like the C version of the functio

[PHP-DEV] Bug #12240: microtime.x

2001-07-18 Thread jiv
From: [EMAIL PROTECTED] Operating system: Slackware 7.0 PHP version: 4.0.6 PHP Bug Type: Any Bug description: microtime.x The problem: _ microtime.c: In function `php_if_getrusage': microtime.c:99: storage size of `usg' isn't known microtime.c:102: `RUSAG

[PHP-DEV] Bug #12239: crashes on Mail()

2001-07-18 Thread TheUnforgiven
From: [EMAIL PROTECTED] Operating system: Debian Linux PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: crashes on Mail() it crashes when i run mail() i have mysql.so and gd in my models list and i am running apache postfix (changing to sendmail now to s

[PHP-DEV] Bug #12238: Double printing with echo and print

2001-07-18 Thread mahk
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Strings related Bug description: Double printing with echo and print The following html/php script gives a duplicate of the last line. System name: returns the following html output.

Re: [PHP-DEV] Re: artificial constraints in php_mysql_get_field_name

2001-07-18 Thread Zeev Suraski
I think it would have a much broader effect. I used this function when I wrote a generic database interface years ago, so my guess is that quite a few people have used it since then as well. At 01:25 19/07/2001, Cynic wrote: >Well, were talking about a pretty specialized function, probably >u

Re: [PHP-DEV] Re: artificial constraints in php_mysql_get_field_name

2001-07-18 Thread Cynic
Well, were talking about a pretty specialized function, probably used only in programs like phpMyAdmin etc. On the other hand, software like phpMyAdmin needs real info, so... Looks like the constraint makes the function pretty useless: you'll get far more useful info from "show columns from table

Re: [PHP-DEV] Re: artificial constraints in php_mysql_get_field_name

2001-07-18 Thread Zeev Suraski
I think it'd break a huge amount of scripts, which is why I didn't even do it in the 3.0->4.0 move. Zeev At 00:55 19/07/2001, Cynic wrote: >Hi Zeev, > >thanks for the prompt reply. I don't think another function >is necessary if this gets changed in 4.1. what do you think? >could you add this t

Re: [PHP-DEV] Re: artificial constraints in php_mysql_get_field_name

2001-07-18 Thread Cynic
Hi Zeev, thanks for the prompt reply. I don't think another function is necessary if this gets changed in 4.1. what do you think? could you add this to the 4.1 TODO list? At 23:36 7/18/2001, Zeev Suraski wrote the following: -- >No goo

[PHP-DEV] Re: artificial constraints in php_mysql_get_field_name

2001-07-18 Thread Zeev Suraski
No good reason for that. When I wanted to change that, it was already too late in the game. It'd probably make good sense to add a mysql_get_field_name_ex() which returns a more accurate value. Zeev At 00:37 19/07/2001, Cynic wrote: >Hi there, > >could anyone tell me what is the reasoning beh

[PHP-DEV] artificial constraints in php_mysql_get_field_name

2001-07-18 Thread Cynic
Hi there, could anyone tell me what is the reasoning behind the constraints on the values returned by php_mysql_get_field_name()? I. e.: ... 1737case FIELD_TYPE_SHORT: 1738case FIELD_TYPE_LONG: 1739case FIELD_TYP

[PHP-DEV] Bug #12237: date("T") returns null

2001-07-18 Thread JamesHeinrich
From: [EMAIL PROTECTED] Operating system: Windows NT 4.0 Workstation (PWS) PHP version: 4.0.6 PHP Bug Type: Date/time related Bug description: date("T") returns null // this should print "EDT" or whatever // but it prints nothing. echo date("T"); -- Edit bug report at: ht

Re: [PHP-DEV] mail() and windows

2001-07-18 Thread Shane Caraveo
I recently submitted a patch to cvs that allows you to use an external mailer, just as the unix builds use sendmail. I tested using indigomail, which has a compatible command line syntax to sendmail. To use the external mailer, you specify the sendmail_path option in the ini file (leave blank to

[PHP-DEV] mail() and windows

2001-07-18 Thread colin mcdonald
hi there, I've been reading about (and experiencing) the problems with sending mail on windows. Question: Are there any plans in the near future to clean/rewrite this code? I keep seeing the comment that "mail() badly needs a rewrite on windows". Question(s): If there are no plans in the

[PHP-DEV] Bug #12236: session_start() inside a function destroys reference to $HTTP_SESSION_VARS

2001-07-18 Thread b . erdmann
From: [EMAIL PROTECTED] Operating system: any PHP version: 4.0.6 PHP Bug Type: Session related Bug description: session_start() inside a function destroys reference to $HTTP_SESSION_VARS The following code doesn't work while this one does Obviosly after session_

[PHP-DEV] Bug #12233: Result of Bzdecompress function

2001-07-18 Thread jose
From: [EMAIL PROTECTED] Operating system: debian linux 2.3 PHP version: 4.0.4pl1 PHP Bug Type: Bzip2 Related Bug description: Result of Bzdecompress function I don't know if this is really a bug but I don't have found any reference to this problem in the web (phpbuilder, php

[PHP-DEV] iconv related failure

2001-07-18 Thread Cynic
Hi there, seems like I've just tracked the iconv failure to a dbeu's commit. I'm not sure if ./configure should be looking for libiconv_open at all: looks like the function is actually called iconv_open. Now, I know nothing about the buildconf|autoconf|etc stuff, but it looks like it was trigg

[PHP-DEV] Send array from php to dll make in vb 6

2001-07-18 Thread Luiz Fernando \(Tuca\)
I make a dll in Vb6 and it have a funcition that have a variable of type VARIANT like parameter. In the program php I call this dll and your method and send a array make in php. Occurs a error : Invoke Failed : "Occured a exception", but if I pass a variable of type integer or string to other meth

[PHP-DEV] install failure w/ current CVS

2001-07-18 Thread Cynic
Me again, built a snapshot from last night (php4-200107171035) on FreeBSD4.3-RELEASE (GENERIC). make install failed: Making install in Zend Making install in main Making install in ext Making install in zlib Making install in bcmath Making install in libbcmath Making install in src Making insta

[PHP-DEV] missing symbol w/ current CVS && iconv

2001-07-18 Thread Cynic
Hi there, last night I built php4-200107171035 on FreeBSD 4.3RELEASE. The configure line included --with-iconv (iconv-2.0_1 installed from package), and configure test for libiconv_open failed (I've never touched libiconv before, but the page linked from the PHP manual mentions iconv_open, not l

[PHP-DEV] CVS Account Request

2001-07-18 Thread CVS Account Request
Full name: Sam McAdams Email: [EMAIL PROTECTED] ID:thyla Purpose: Assisting Documentation team with Documentation. Assisting completing documention for CCVS Module per request of module author. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PR

[PHP-DEV] Bug #12219 Updated: Command Line Arguments not being passed correctly

2001-07-18 Thread zak
ID: 12219 Updated by: zak Reported By: [EMAIL PROTECTED] Status: Analyzed Bug Type: Unknown/Other Function Operating System: Redhat 7.0 PHP Version: 4.0.5 New Comment: Ack! What was I doing? :) Thanks for catching this! Previous Comments: -

[PHP-DEV] Help wanted: Operator -> and a class in a PHP extension

2001-07-18 Thread David Eriksson
First, look att this piece of pure PHP code: a = 42; $s2 = new S(); $s2->a = 4711; $s2->x = $s1; echo $s1->a."\n"; $s3 = $s2->x; echo $s3->a."\n"; echo $s2->x->a."\n"; ?> All three of the "echo" lines above will output the value 42. Now consider

[PHP-DEV] call_user_function_ex problem.

2001-07-18 Thread BREGERAS Olivier
Hi I developpe an extension for PHP. I need to use "preg_match_all" through "call_user_function_ex" function. But the result of this function are returned by "reference". How can I get the result through "call_user_function_ex" or any other function. It's a very important step for my extension.

[PHP-DEV] Bug #12220 Updated: help

2001-07-18 Thread cynic
ID: 12220 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Old Bug Type: Unknown/Other Function Bug Type: Feature/Change Request Operating System: windows 98 PHP Version: 4.0.6 New Comment: Hartmut Holzgraefe: you have to check for file existance with file_exists()

[PHP-DEV] Bug #12219 Updated: Command Line Arguments not being passed correctly

2001-07-18 Thread cynic
ID: 12219 Updated by: cynic Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Analyzed Bug Type: Unknown/Other Function Operating System: Redhat 7.0 PHP Version: 4.0.5 New Comment: Zak, IIRC this _is_ a bug, or at least a misfeature. the TODO file says: * when used in standalone (sk

[PHP-DEV] Bug #12232: Unresolved symbol: __umoddi3

2001-07-18 Thread r . kalemba
From: [EMAIL PROTECTED] Operating system: HP 10.20 PHP version: 4.0.6 PHP Bug Type: Dynamic loading Bug description: Unresolved symbol: __umoddi3 Apache 1.3.20 Mysql 3.22.32 gcc 2.8.1 PHP 4.0.6 compile: ./configure --with-mysql=/usr/local/mysql --enable-track- vars --

[PHP-DEV] Bug #12231: about ldap_get_values_len

2001-07-18 Thread stsit
From: [EMAIL PROTECTED] Operating system: redhat7.0 PHP version: 4.0.6 PHP Bug Type: LDAP related Bug description: about ldap_get_values_len I have a binary data in LDAP,(the data is 570k) when i use $data=ldap_get_values_len() to get the data, i found that $data[0] has 33

[PHP-DEV] Bug #12230: Error with Object saved in Session

2001-07-18 Thread schmidt
From: [EMAIL PROTECTED] Operating system: HP Unix 10 PHP version: 4.0.5 PHP Bug Type: Session related Bug description: Error with Object saved in Session I have the follow Problem: Fatal error: The script tried to execute a method or access a property of an incomplete ob

[PHP-DEV] Batimat 2001---www.eurofo.com Time:17:02:24

2001-07-18 Thread jim_chen
Title: ÐÂÔö·þÎñÏîÄ¿¡ª¡ªÃâ·Ñ½¨Á¢×Ô¼ºµÄÆóÒµÍøÒ³ºÍ²úÆ·¿â ÐÂÔö·þÎñÏîÄ¿¡ª¡ªÃâ·Ñ½¨Á¢×Ô¼ºµÄÆóÒµÍøÒ³ºÍ²úÆ·¿â Ø  ÄúÊÇ·ñÒòΪÓʼĽ¨²ÄÑùÆ·µÄ·Ñʱ¡¢·ÑÁ¦¡¢·ÑÇ®¶øÍ·ÌÛ£¿ Ø  ÄúÊÇ·ñÒòÔڵ绰ÀïÎÞ·¨ÈöԷ½Ã÷°××Ô¼º²úÆ·µÄÌØÉ«¶ø¼±µÃÖ¸ÊÖ»®½Å£¬ÉùË»Á¦½ß£¿ ÏÖÔÚÓÐÁËÅ·ÂÞ¸£¹ú¼Ê½¨²Ä²É¹ºÍø£¬Äú²»±ØÔÙΪÕâЩÞÏÞζ

[PHP-DEV] Bug #12229 Updated: implicit_flush (off) causes mysql to see into the future

2001-07-18 Thread php-man
ID: 12229 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: RedHat 7.1 PHP Version: 4.0.6 New Comment: In addition; After removing debugging code (which included a top-of-script database open, loop'd fetch-array, close .

Re: [PHP-DEV] Strange printf

2001-07-18 Thread Stanislav Malyshev
LP>> IMHO, I think this is an artifact of PHP only supporting _signed_ LP>> integers. But printing signed binary numbers or octals, etc. is pretty meaningless - at least, I fail to see any use of it and no printf I know ever did that. This also doesn't exactly works right - thus I ask, would it b

Re: [PHP-DEV] Strange printf

2001-07-18 Thread Lars Povlsen
Stanislav Malyshev wrote: > > I have noticed that PHP printf threats non-decimal formats as signed. This > is pretty non-standard, since C printf, for example, has all non-decimal > formats as ungined, and so does Perl. The questions are: > > 1. What was the reason for this strange deviation fro

[PHP-DEV] Bug #12229: implicit_flush (off) causes mysql to see into the future

2001-07-18 Thread php-man
From: [EMAIL PROTECTED] Operating system: RedHat 7.1 PHP version: 4.0.6 PHP Bug Type: MySQL related Bug description: implicit_flush (off) causes mysql to see into the future I'll be the first to admit that this is weird ... but, after 11hours of debugging and recompiling I c

[PHP-DEV] Bug #12228: type convretion problem

2001-07-18 Thread noIdea
From: [EMAIL PROTECTED] Operating system: Windows 98 PHP version: 4.0.4pl1 PHP Bug Type: *General Issues Bug description: type convretion problem Easy to describe: echo odbc_result($ref, "column"); $a = (double) odbc_result($ref, "column"); echo " / " . $a; outpu

[PHP-DEV] more printf oddity

2001-07-18 Thread Stanislav Malyshev
I have also noticed that all values in functions php_sprintf_append*int are converted to int, though they were originally long. I know that on some systems (like Linux ix86) int == long, but I'm not sure we should mix those two types. Does anybody has an explanation for this? -- Stanislav Malysh

[PHP-DEV] Strange printf

2001-07-18 Thread Stanislav Malyshev
I have noticed that PHP printf threats non-decimal formats as signed. This is pretty non-standard, since C printf, for example, has all non-decimal formats as ungined, and so does Perl. The questions are: 1. What was the reason for this strange deviation from other languages? 2. Does anybody uses

[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 #12227 Updated: Output puffering causes Apache to SIGSEGV

2001-07-18 Thread brueckner
ID: 12227 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Output Control Operating System: Linux 2.2.16-SMP PHP Version: 4.0.6 New Comment: One more comment which I forgot before: This does NOT happen when I do not use auto_prepend_file and call my func

[PHP-DEV] Bug #12227: Output puffering causes Apache to SIGSEGV

2001-07-18 Thread brueckner
From: [EMAIL PROTECTED] Operating system: Linux 2.2.16-SMP PHP version: 4.0.6 PHP Bug Type: Output Control Bug description: Output puffering causes Apache to SIGSEGV When using ob_start() with a script included via auto_prepend_file and then doing something like this: ob_

Re: [PHP-DEV] Bug #12223: ldap rebind procedure implementation

2001-07-18 Thread Ron Chmara
[EMAIL PROTECTED] wrote: > > From: [EMAIL PROTECTED] > Operating system: any > PHP version: 4.0.6 > PHP Bug Type: LDAP related > Bug description: ldap rebind procedure implementation > > A ldap rebind procedure for automatical referral chase is > not provided in php4. The s

Re: [PHP-DEV] Bug #12220: help

2001-07-18 Thread Hartmut Holzgraefe
[EMAIL PROTECTED] wrote: > 09 10 $dir="username"; > 11 if(is_dir($dir)) > [...] > php return a error...NO SUCH DIRECTORY OR FILE ON LINE 11 ... you have to check for file existance with file_exists() before you try to probe for its filetype -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.

[PHP-DEV] Bug #12225: [XML] support for other encoding in utf8_decode , utf8_encode

2001-07-18 Thread M . Hankus
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.6 PHP Bug Type: Feature/Change Request Bug description: [XML] support for other encoding in utf8_decode , utf8_encode Functions utf8_encode utf8_decode support only ISO-8859-1. Support for other encodings woul

[PHP-DEV] Bug #12222 Updated: Unresolved symbol _umoddi3

2001-07-18 Thread rasmus
ID: 1 Updated by: rasmus Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Web Server problem Operating System: HPUX 10.20 PHP Version: 4.0.6 New Comment: This happens on systems where you have some libraries linked by a native compiler/linker and others linked by gcc

[PHP-DEV] Bug #12224: unsubscribe

2001-07-18 Thread irit-a
From: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: *General Issues Bug description: unsubscribe Hello, I'm doing all to unsubscribe from your list but I'm still getting mails from you. please unsubscribe me now. my email: [EMAIL PROTECTED] Tha

[PHP-DEV] Bug #12223: ldap rebind procedure implementation

2001-07-18 Thread enrik
From: [EMAIL PROTECTED] Operating system: any PHP version: 4.0.6 PHP Bug Type: LDAP related Bug description: ldap rebind procedure implementation A ldap rebind procedure for automatical referral chase is not provided in php4. The solution of #9704 doesn't work for ldap_add