#21666 [Opn->Bgs]: xsl:sort
ID: 21666 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: XSLT related Operating System: win2K server PHP Version: 4.3.0 New Comment: I'm putting this on bogus. You should ask this on one of the mailing lists. - Tularis Previous Comments: [2003-01-15 11:10:52] [EMAIL PROTECTED] Hi, as seen on bug 21539, the sablot.dll extension shipped with 4.3.0 didn't get the < xsl:sort > at all. I got it to work when I installed Expat-1.95.5, and some "I-don't-know-where-it-comes-from" sablot.dll that weighs 224ko and is dated 19 nov 2002. All other dlls come from latest distro of full sablot package (sablot-0.97, lib-iconv1.8). The sablot.dll from that distro never worked ... Could anyone tell us more about that strange sablot.dll story , and why features apparently went backward with new version of sablotron ? -- Edit this bug report at http://bugs.php.net/?id=21666&edit=1
#21692 [Opn->Bgs]: Gmtime first argument doesn't support vars
ID: 21692 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Win2k PHP Version: 4.3.0 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php both linked scripts return Thu 01 Jan, 22:18 to me... I don't see the bug =) *closing* Previous Comments: [2003-01-16 13:35:25] [EMAIL PROTECTED] See: http://www.games-workshop.nl/forum-kloon/php/time.php http://www.games-workshop.nl/forum-kloon/php/time.txt http://www.games-workshop.nl/forum-kloon/php/time2.php http://www.games-workshop.nl/forum-kloon/php/time2.txt File with the .txt-extentions include the source because phps isn't configured. [2003-01-16 13:24:09] [EMAIL PROTECTED] both show "Thu 01 Jan, 20:23" for me... Derick [2003-01-16 13:22:02] [EMAIL PROTECTED] gmtime sometimes doesn't support the first argument to be an var. Example: Gives at this moment: Thu 01 Jan, 20:17 Gives: Thu 16 Jan, 20:17 -- Edit this bug report at http://bugs.php.net/?id=21692&edit=1
#21696 [Opn]: Checkbox is strange in POST event
ID: 21696 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4.3.0 New Comment: I'm not sure if it'll make any difference, but try changing this line: echo ''; since ' is not supported as a valid HTML quote (that is, I THINK it isn't :S) Previous Comments: [2003-01-16 15:29:28] [EMAIL PROTECTED] (continue) In fact, the error is simplier: when I run in machine 1, it's ok!! But in machine 2, it returns Notice: Undefined variable: a in test.php on line 2 Any clues??? Thanks [2003-01-16 15:26:17] [EMAIL PROTECTED] I'm using PHP 4.3.0 as ISAPI in 2 WinXP machines, running Apache 2.0.43. PHP was installed at same folders and I'm using the same PHP.INI. In machine 1, everything works great. In machine 2, everything works great too BUT when I'm using checkbox inside form posting: echo ""; echo "Are married?"; echo ""; echo ""; the form2.php is: "; $married = $HTTP_POST_VARS["married"]; echo "married = ".$married; echo ""; ?> the response is: Notice: Undefined index: married in form2.php on line 2 In machine 1, forms with checkbox are working great, but in machine 2, it doesn't. Any ideas?? PHP.INI is the same, global_variables are OFF. Thanks in advance Ivan Pisa -- Edit this bug report at http://bugs.php.net/?id=21696&edit=1
#21696 [Opn]: Checkbox is strange in POST event
ID: 21696 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: Windows XP PHP Version: 4.3.0 New Comment: ARGH! actually, ignore that comment... I'm talking bs right now :| Previous Comments: [2003-01-16 15:39:54] [EMAIL PROTECTED] I'm not sure if it'll make any difference, but try changing this line: echo ''; since ' is not supported as a valid HTML quote (that is, I THINK it isn't :S) [2003-01-16 15:29:28] [EMAIL PROTECTED] (continue) In fact, the error is simplier: when I run in machine 1, it's ok!! But in machine 2, it returns Notice: Undefined variable: a in test.php on line 2 Any clues??? Thanks [2003-01-16 15:26:17] [EMAIL PROTECTED] I'm using PHP 4.3.0 as ISAPI in 2 WinXP machines, running Apache 2.0.43. PHP was installed at same folders and I'm using the same PHP.INI. In machine 1, everything works great. In machine 2, everything works great too BUT when I'm using checkbox inside form posting: echo ""; echo "Are married?"; echo ""; echo ""; the form2.php is: "; $married = $HTTP_POST_VARS["married"]; echo "married = ".$married; echo ""; ?> the response is: Notice: Undefined index: married in form2.php on line 2 In machine 1, forms with checkbox are working great, but in machine 2, it doesn't. Any ideas?? PHP.INI is the same, global_variables are OFF. Thanks in advance Ivan Pisa -- Edit this bug report at http://bugs.php.net/?id=21696&edit=1
#22044 [Opn]: Did a Complie and then running Make genrated Failure
ID: 22044 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Compile Failure Operating System: Sun Solaris PHP Version: 4.3.0 New Comment: How about, instead of only posting a lot of code, also posting your actual comment? It would help us a lot :) Previous Comments: [2003-02-04 09:18:18] [EMAIL PROTECTED] ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-apache2=/usr/local/apache/include --prefix=/usr/local/php --with-config-file-path=/usr/local/php /bin/sh libtool --silent --mode=compile gcc -Isapi/cli/ -I/usr/local/php/php-4.3.0/sapi/cli/ -DPHP_ATOM_INC -I/usr/local/php/php-4.3.0/include -I/usr/local/php/php-4.3.0/main -I/usr/local/php/php-4.3.0 -I/usr/local/apache/include -I/usr/local/php/php-4.3.0/Zend -I/usr/local/php/php-4.3.0/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/php/php-4.3.0/TSRM -g -O2 -prefer-pic -c /usr/local/php/php-4.3.0/sapi/cli/php_cli.c -o sapi/cli/php_cli.lo /bin/sh libtool --silent --mode=compile gcc -Isapi/cli/ -I/usr/local/php/php-4.3.0/sapi/cli/ -DPHP_ATOM_INC -I/usr/local/php/php-4.3.0/include -I/usr/local/php/php-4.3.0/main -I/usr/local/php/php-4.3.0 -I/usr/local/apache/include -I/usr/local/php/php-4.3.0/Zend -I/usr/local/php/php-4.3.0/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/php/php-4.3.0/TSRM -g -O2 -prefer-pic -c /usr/local/php/php-4.3.0/sapi/cli/getopt.c -o sapi/cli/getopt.lo /bin/sh libtool --silent --mode=compile gcc -Imain/ -I/usr/local/php/php-4.3.0/main/ -DPHP_ATOM_INC -I/usr/local/php/php-4.3.0/include -I/usr/local/php/php-4.3.0/main -I/usr/local/php/php-4.3.0 -I/usr/local/apache/include -I/usr/local/php/php-4.3.0/Zend -I/usr/local/php/php-4.3.0/ext/xml/expat -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/php/php-4.3.0/TSRM -g -O2 -prefer-pic -c main/internal_functions_cli.c -o main/internal_functions_cli.lo /bin/sh libtool --silent --mode=link gcc -export-dynamic -g -O2 -avoid-version -module -L/usr/ucblib -L/opt/GNUall/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 -R /usr/ucblib -R /opt/GNUall/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1 ext/ctype/ctype.lo ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo ext/mysql/libmysql/errmsg.lo ext/mysql/libmysql/net.lo ext/mysql/libmysql/violite.lo ext/mysql/libmysql/password.lo ext/mysql/libmysql/my_init.lo ext/mysql/libmysql/my_lib.lo ext/mysql/libmysql/my_static.lo ext/mysql/libmysql/my_malloc.lo ext/mysql/libmysql/my_realloc.lo ext/mysql/libmysql/my_create.lo ext/mysql/libmysql/my_delete.lo ext/mysql/libmysql/my_tempnam.lo ext/mysql/libmysql/my_open.lo ext/mysql/libmysql/mf_casecnv.lo ext/mysql/libmysql/my_read.lo ext/mysql/libmysql/my_write.lo ext/mysql/libmysql/errors.lo ext/mysql/libmysql/my_error.lo ext/mysql/libmysql/my_getwd.lo ext/mysql/libmysql/my_div.lo ext/mysql/libmysql/mf_pack.lo ext/mysql/libmysql/my_messnc.lo ext/mysql/libmysql/mf_dirname.lo ext/mysql/libmysql/mf_fn_ext.lo ext/mysql/libmysql/mf_wcomp.lo ext/mysql/libmysql/typelib.lo ext/mysql/libmysql/safemalloc.lo ext/mysql/libmysql/my_alloc.lo ext/mysql/libmysql/mf_format.lo ext/mysql/libmysql/mf_path.lo ext/mysql/libmysql/mf_unixpath.lo ext/mysql/libmysql/my_fopen.lo ext/mysql/libmysql/mf_loadpath.lo ext/mysql/libmysql/my_pthread.lo ext/mysql/libmysql/my_thr_init.lo ext/mysql/libmysql/thr_mutex.lo ext/mysql/libmysql/mulalloc.lo ext/mysql/libmysql/string.lo ext/mysql/libmysql/default.lo ext/mysql/libmysql/my_compress.lo ext/mysql/libmysql/array.lo ext/mysql/libmysql/my_once.lo ext/mysql/libmysql/list.lo ext/mysql/libmysql/my_net.lo ext/mysql/libmysql/dbug.lo ext/mysql/libmysql/strmov.lo ext/mysql/libmysql/strxmov.lo ext/mysql/libmysql/strnmov.lo ext/mysql/libmysql/strmake.lo ext/mysql/libmysql/strend.lo ext/mysql/libmysql/strfill.lo ext/mysql/libmysql/is_prefix.lo ext/mysql/libmysql/int2str.lo ext/mysql/libmysql/str2int.lo ext/mysql/libmysql/strinstr.lo ext/mysql/libmysql/strcont.lo ext/mysql/libmysql/strcend.lo ext/mysql/libmysql/bchange.lo ext/mysql/libmysql/bmove.lo ext/mysql/libmysql/bmove_upp.lo ext/mysql/libmysql/longlong2str.lo ext/mysql/libmysql/strtoull.lo ext/mysql/libmysql/strtoll.lo ext/mysql/libmysql/charset.lo ext/mysql/libmysql/ctype.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.lo ext/posix/posix.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/htm
#22108 [Fbk]: php doesn't ignore the utf-8 BOM
ID: 22108 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Output Control Operating System: windows 2000 PHP Version: 4.2.3 New Comment: sniper, imagine someone would want to echo some text in eg. French. In that case, if you'd save it as ascii, you would get corrupted output. So instead you'd have to save as utf-8. Which seems to cause problems (or so [EMAIL PROTECTED] tells us) Previous Comments: [2003-02-07 08:58:21] [EMAIL PROTECTED] And why an earth would you save PHP files in any other format than ascii? [2003-02-07 08:53:10] [EMAIL PROTECTED] What is a BOM ? Derick [2003-02-07 08:46:36] [EMAIL PROTECTED] Problem: When a php file is saved in utf-8 format with the UTF-8 BOM as the first three bytes of the file (EF BB BF), PHP doesn't ignore these bytes when loading and compiling the file, but instead considers them output coming prior to the http://bugs.php.net/?id=22108&edit=1
#21370 [Bgs]: FastCGI -b option doesn't work
ID: 21370 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Other web server Operating System: WinXP PHP Version: 4.3.0 New Comment: This bug has been resubmitted 6 times in total. PLEASE do not do this again!! Previous Comments: [2003-01-02 20:50:58] [EMAIL PROTECTED] Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the existing bug instead. Thank you for your interest in PHP. [2003-01-02 20:10:13] [EMAIL PROTECTED] I've downloaded the full Win32 PHP binary and the "-b" argument that should "Bind Path for external FASTCGI server mode" doesn't work. What happens is: c:\php>php -b 5000 Error in argument 1, char 2: option not found b Error in argument 1, char 2: option not found b Error in argument 1, char 2: option not found b I read on php.dev newsgroup that this is the right way to start FastCGI support since SAPI/FastCGI was discontinued. But it doesn't work. -- Edit this bug report at http://bugs.php.net/?id=21370&edit=1
#21386 [Opn->Csd]: Hebrew problem...
ID: 21386 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Win Nt PHP Version: 4.3.0 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: [2003-01-03 08:26:17] [EMAIL PROTECTED] Thank you very much, You helped me a lot. I don't understand why only this letter had this problem, but... It's working know so who cares. Thanks. [2003-01-03 08:17:29] [EMAIL PROTECTED] This might be a locale problem. Try setting your locale, e.g. like so: setlocale(LC_CTYPE,"Hebrew"); Without knowing your locale, PHP (or the underlying C library) has no chance of knowing which character codes are letters and which are punctuation (the letter you wrote looks like a division symbol in my locale with its ISO-8859-1 character set). [2003-01-03 05:42:02] [EMAIL PROTECTED] Hi, I'm from Israel and I have a problem with Hebrew + PHP. I am using the function PREG but one of the Hebrew letters, PHP doesn't recognize as a letter (The letter is "÷"). That makes the following problems: \b- if the letter start or finish a word PHP won't consider her. \w-PHP doesn't consider her as a letter and more I hope there is something to do about it. P.S Excuse me for any spelling problems, I don't write so good in English Thank you very much. Ido. -- Edit this bug report at http://bugs.php.net/?id=21386&edit=1
#21395 [Csd->Bgs]: [chm] bug on function.ftp-connect.html
ID: 21395 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Bogus Bug Type: Other web server Operating System: linux PHP Version: 4.2.3 Previous Comments: [2003-01-03 14:07:07] [EMAIL PROTECTED] This is NOT a bug. You need to enable FTP extension with --enable-ftp, then the functions will work. Thank for your report. [2003-01-03 14:05:19] [EMAIL PROTECTED] You should add a @ for the ftp_connect and ftp_login, etc . [2003-01-03 13:56:56] [EMAIL PROTECTED] I have found a bug on page function.ftp-connect.html [chm date: 2002-12-27]... http://bugs.php.net/?id=21395&edit=1
#21397 [Csd->Opn]: magic_quotes? or some thing is wrongfully modifying specific strings
ID: 21397 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type: Unknown/Other Function Operating System: FreeBSD 4.6 Stable PHP Version: 4.3.0 New Comment: I ran that script, and the output was as could be expected might I ask what version of PHP you are running? i might be a very old one which had a bug like that, though that is quite unlikely Previous Comments: [2003-01-03 14:46:24] [EMAIL PROTECTED] This seams to be something about my computer. I don't know what is causing it. It happens on IE/NS/Opera [2003-01-03 14:29:07] [EMAIL PROTECTED] Thank you for your time, if you have any questions about the script, or need to see it run on our system, please feel free to contact me. -daniel [2003-01-03 14:28:16] [EMAIL PROTECTED] Something about magic_qoutes (or the URL=>_GET) is adding extra '>' in specific situations. (As if it was trying to close the tags.) For example (magic quotes on). Input$_GET has <[< <[>< <-< <->< And in addition the ,"\n\n" seams to be adding its own '>'. A script showing this problem is below: "; echo "\n"; if ($_GET['text']) echo "htmlentities returns: ",htmlentities($_GET['text']),"\n"; ?> -- Edit this bug report at http://bugs.php.net/?id=21397&edit=1
#21399 [Asn]: strtotime() request
ID: 21399 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Assigned Bug Type:Feature/Change Request PHP Version: 4CVS-2003-01-03 (dev) Assigned To: derick New Comment: you're a famous man derick ;) Previous Comments: [2003-01-03 16:48:28] [EMAIL PROTECTED] blah blah blah do it yourself :-) (assigned to me) [2003-01-03 16:46:56] [EMAIL PROTECTED] Derick, Make strtotime() recognize "MMDDhhmmss [ZZZ]" strings. Pretty please. - Colin -- Edit this bug report at http://bugs.php.net/?id=21399&edit=1
#21401 [Opn->Fbk]: Apache doesn't start with php 4.3.0 php4ts.dll
ID: 21401 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache related Operating System: Windows XP Professional PHP Version: 4.3.0 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip After checking this on my own computer, I can only say that the CVS build works for sure. Previous Comments: [2003-01-03 18:42:12] [EMAIL PROTECTED] Windows XP Professional Service Pack 1, Apache 1.3.27, php 4.3.0 as apache-modul, phplib + tomcat 3.3.1 testing apache: httpd.conf Syntax O.K. But I can't start Apache with php 4.3.0 Starting Apache has as result only the Windows-Error-Massage: "Apache.exe hat ein Problem festgestellt und muss beendet werden.", what means: "Apache.exe has detected a problem and must be shut down" Problemsignatur: szAppName : Apache.exe szAppVer : 0.0.0.0 szModName : php4ts.dll szModVer : 4.3.0.0 offset : 000af8ee Files send to M$ C:\DOKUME~1\Michael\LOKALE~1\Temp\WERA.tmp.dir00\Apache.exe.mdmp C:\DOKUME~1\Michael\LOKALE~1\Temp\WERA.tmp.dir00\appcompat.txt If I substitute the php4ts.dll in C:\Windows\system32 with the "old" 4.2.3-version, everything works well, allthough the php.ini and all other *.dll-files are version 4.3.0. The failure is only with the php4ts.dll-file and Windows. I have downloaded the Zip-file from another mirror, because I thought, the file might be demaged. No result. I think the failure is rather Windows ?? than php and reportet the failure to M$ too. Thanks for help. If there is no solution I work with the old version. Michael. -- Edit this bug report at http://bugs.php.net/?id=21401&edit=1
#21433 [Opn->Bgs]: Generic expressions interpolation in strings
ID: 21433 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.2.2 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php I don't think this will be implemented, since this is partially why heredocs were created. The only thing I can tell you is, you should use stuff like: echo "it is: ".++$value; Previous Comments: [2003-01-05 10:35:03] [EMAIL PROTECTED] I'm relatively new to PHP. Previously I used to program a lot in Perl. What I really lack in PHP is Perl's ability to interpolate any expression inside a string. For example: Perl: "Next value is @{[ $value + 1 ]}!" PHP: "Next value is " . $value + 1 . "!" In this simple case it's not a great problem, but it becomes more awkward when using the heredoc operator. In this cases I'm often forced to use temporary variables: $tempvar = $value + 1; print <<< END Here it is the next value $tempvar Other text... END; I propose to extend the Variable Parsing syntax to evaluate ANY expression instead of variables only. I propose the following syntax: print <<< END Here it is the next value {$= $value + 1 } Other text... END; Using "{=" would be more readable but it would cause too many backward compatibility problems... What do you think of this? Thanks. -- Edit this bug report at http://bugs.php.net/?id=21433&edit=1
#21436 [Bgs]: Call to undefined function: imagecreatefromjpeg()
ID: 21436 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: GD related Operating System: Linux PHP Version: 4.3.0 New Comment: make sure php is configured WITH the gd library... Previous Comments: [2003-01-05 13:22:51] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. [2003-01-05 13:15:21] [EMAIL PROTECTED] function resize($file) //voici la fonction qui redimensionne les images { $size = getimagesize("test/$file"); $dest_width = ($size[0]/6); //détermine la taille $dest_eight = ($size[1]/6); $src_img = imagecreatefromjpeg("test/$file"); $dst_img = imagecreatetruecolor($dest_width,$dest_eight); imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0,$dest_width, $dest_eight, $size[0], $size[1]); // la fonction qui redimensionne les photos imagejpeg($dst_img, "test/mini_$file",100); imagedestroy($src_img); imagedestroy($dst_img); } resize("oras.jpg"); ?> Call to undefined function: imagecreatefromjpeg() './configure' '--with-apxs2=/newapache/bin/apxs' -- Edit this bug report at http://bugs.php.net/?id=21436&edit=1
#21442 [Opn->Bgs]: empty recipient for mail() function crashed Apache
ID: 21442 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Windows NT4 Server PHP Version: 4.3.0 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Previous Comments: [2003-01-05 14:57:44] [EMAIL PROTECTED] A script like crashed Apache server (1.3.26). PHP is installed as a Apache module. -- Edit this bug report at http://bugs.php.net/?id=21442&edit=1
#21442 [Bgs]: empty recipient for mail() function crashed Apache
ID: 21442 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Reproducible crash Operating System: Windows NT4 Server PHP Version: 4.3.0 New Comment: it is sendmail that should handle this, not php... Previous Comments: [2003-01-05 16:11:30] [EMAIL PROTECTED] I can certainly send email if a valid email address is specified. The problem is that passing an empty string as the first parameter of mail() in Windows version of PHP 4.3.0 and Apache crashed (Dr. Watson popped up and said address violation) is not normal. I expect some error messages are sent to the browser instead of crashing Apache. [2003-01-05 15:52:56] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. [2003-01-05 14:57:44] [EMAIL PROTECTED] A script like crashed Apache server (1.3.26). PHP is installed as a Apache module. -- Edit this bug report at http://bugs.php.net/?id=21442&edit=1
#22984 [Opn->Bgs]: Date Function returning incorrect NAME of month
ID: 22984 Updated by: [EMAIL PROTECTED] Reported By: jeremyrimer at yahoo dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: win2kadvsrv PHP Version: 4.3.1 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. I'm pretty sure this is NOT a bug Previous Comments: [2003-03-31 11:05:57] jeremyrimer at yahoo dot com So I have some code that prints out this and next month's calendar and populates the cells with the day's events. Sometimes, and I can't find root cause except to say that there MUST be a bug in the date() function or the mktime() function because I have a line of code to produce NEXTmonth's month name in text, and it is producing the month TWO months later instead of 1, despite my +1 increment... $tyear = date("Y"); // the year - 4 digit $nyear = date("Y")+1; $tmonth = date("n");// the month - no leading 0's $nmonth = date("n")+1; $tday = date("j"); // the day as a number date("F",mktime(0,0,0,$nmonth,$tday,$tyear)); This line can produce not the NEXT month, but TWO months later... Driving me crazy... -Jeremy -- Edit this bug report at http://bugs.php.net/?id=22984&edit=1
#26181 [Opn->Bgs]: Problems with POST and GET variables
ID: 26181 Updated by: [EMAIL PROTECTED] Reported By: gabriel at zunto dot com -Status: Open +Status: Bogus Bug Type: Output Control Operating System: Windows 2000 Professional PHP Version: 4.3.4 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php if you'd have read the documentation right, you'd have noticed that it works using if(!isset($_POST['delivered'])){ [...] Previous Comments: [2003-11-08 17:28:49] gabriel at zunto dot com Description: With PHP 4.3.4 is no possible to verify if POST or GET variables is undefineds because the global variable $_POST is a Array, therefore the index of Array $_POST is not found. Reproduce code: --- Expected result: Show the string "Yes" Actual result: -- Notice: Undefined index: delivered in c:\\file.php on line 2 Yes -- Edit this bug report at http://bugs.php.net/?id=26181&edit=1
#16461 [Bgs]: Can't compile php4.1.2 with Apache2.0.35
ID: 16461 Updated by: [EMAIL PROTECTED] Reported By: marat at nihol dot com Status: Bogus Bug Type: Apache2 related Operating System: Linux Slackware 8.0 PHP Version: 4.1.2 New Comment: First of all, your problem has nothing to do with this (bogus) bugreport, instead you might want to ask on one of the newsgroups. Then, the errors you are seeing, or to be more precise, the path you are seeing is the path to the directory where the C sourcecode-file was while being compiled. Seen as you are using a PHP snapshot, that was compiled on one of the php.net servers, it will point to a local path there. Don't worry about that. I suggest you get a new snapshot though, PHP 4.3.7 is the latest release, and has much better support for... everything... than 4.2.3 Previous Comments: [2004-07-13 11:45:15] nemeth-peter at np dot hu I have winXP, Apache 2.0.50 and PHP 4.2.3. When I try to load PHP as module and I restart my Apache server, the Apache find an error: module "c:\\php4build\\snap\\apache2_filter\\sapi_apache2.c" is not compatible with this version of Apache (found:2002682, need:2002963). Please contact the vendor for the correct version. I don't find the directory "c:\\(!?)php4build\\..." , and I don't know what can I do... __ Németh Péter Hungary [2004-07-08 06:02:18] aslam_11 at engineer dot com But cant we compile PHP4.1.2 with Apache2. I was trying php is throughing same error. Is there any way to do that? Please suggest me. Aslam [2002-04-06 11:04:57] [EMAIL PROTECTED] You need to wait for RC3 since the patch which fixes this was applied after RC2 was released. Or get the latest CVS snapshot from http://snaps.php.net/ [2002-04-06 10:51:29] marat at nihol dot com I'm trying 4.2.0.RC2 from www.php.net/~derick: make[3]: Entering directory `/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter' /bin/sh /home/marat/apache2/php-4.2.0RC2/libtool --silent --mode=compile gcc -I. -I/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter -I/home/marat/apache2/php-4.2.0RC2/main -I/home/marat/apache2/php-4.2.0RC2 -I/usr/local/apache2/include -I/home/marat/apache2/php-4.2.0RC2/Zend -I/home/marat/apache2/mysql-3.23.49-pc-linux-gnu-i686/include -I/home/marat/apache2/php-4.2.0RC2/ext/xml/expat -D_REENTRANT -I/home/marat/apache2/php-4.2.0RC2/TSRM -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c sapi_apache2.c: In function `php_apache_sapi_ub_write': sapi_apache2.c:58: too few arguments to function `apr_brigade_create' sapi_apache2.c:61: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c: In function `php_apache_sapi_flush': sapi_apache2.c:174: too few arguments to function `apr_brigade_create' sapi_apache2.c:175: too few arguments to function `apr_bucket_flush_create' sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:257: too few arguments to function `apr_brigade_create' sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:331: too few arguments to function `apr_brigade_create' sapi_apache2.c:386: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c:395: too few arguments to function `apr_bucket_eos_create' make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/marat/apache2/php-4.2.0RC2/sapi' make: *** [all-recursive] Error 1 [EMAIL PROTECTED]:~/apache2/php-4.2.0RC2# PHP: ./configure --with-mysql=../mysql-3.23.49-pc-linux-gnu-i686/ --with-apxs2=/usr/local/apache2/bin/apxs APACHE: ./configure --enable-so --enable-MODULE=shared :( In file: php-4.2.0RC2/sapi/apache2filter/sapi_apache2.c, line 58: bb = apr_brigade_create(ctx->f->r->pool); But in file: httpd-2.0.35/srclib/apr-util/include/apr_buckets.h, line 646, declaration of this function: APU_DECLARE(apr_bucket_brigade *) apr_brigade_create(apr_pool_t *p, apr_bucket_alloc_t *list); [2002-04-06 10:16:28] [EMAIL PROTECTED] We know that, you'll need 4.2.0 to compile with Apache 2.x You can try RC2 from www.php.net/~derick The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16461 -- Edit this bug report at http://bugs.php.net/?id=16461&edit=1
#16461 [Bgs]: Can't compile php4.1.2 with Apache2.0.35
ID: 16461 Updated by: [EMAIL PROTECTED] Reported By: marat at nihol dot com Status: Bogus Bug Type: Apache2 related Operating System: Linux Slackware 8.0 PHP Version: 4.1.2 New Comment: First of all, your problem has nothing to do with this (bogus) bugreport, instead you might want to ask on one of the newsgroups. Then, the errors you are seeing, or to be more precise, the path you are seeing is the path to the directory where the C sourcecode-file was while being compiled. Seen as you are using a PHP snapshot, that was compiled on one of the php.net servers, it will point to a local path there. Don't worry about that. I suggest you get a new snapshot though, PHP 4.3.7 is the latest release, and has much better support for... everything... than 4.2.3 Previous Comments: [2004-07-13 12:12:04] [EMAIL PROTECTED] First of all, your problem has nothing to do with this (bogus) bugreport, instead you might want to ask on one of the newsgroups. Then, the errors you are seeing, or to be more precise, the path you are seeing is the path to the directory where the C sourcecode-file was while being compiled. Seen as you are using a PHP snapshot, that was compiled on one of the php.net servers, it will point to a local path there. Don't worry about that. I suggest you get a new snapshot though, PHP 4.3.7 is the latest release, and has much better support for... everything... than 4.2.3 [2004-07-13 11:45:15] nemeth-peter at np dot hu I have winXP, Apache 2.0.50 and PHP 4.2.3. When I try to load PHP as module and I restart my Apache server, the Apache find an error: module "c:\\php4build\\snap\\apache2_filter\\sapi_apache2.c" is not compatible with this version of Apache (found:2002682, need:2002963). Please contact the vendor for the correct version. I don't find the directory "c:\\(!?)php4build\\..." , and I don't know what can I do... __ Németh Péter Hungary [2004-07-08 06:02:18] aslam_11 at engineer dot com But cant we compile PHP4.1.2 with Apache2. I was trying php is throughing same error. Is there any way to do that? Please suggest me. Aslam [2002-04-06 11:04:57] [EMAIL PROTECTED] You need to wait for RC3 since the patch which fixes this was applied after RC2 was released. Or get the latest CVS snapshot from http://snaps.php.net/ [2002-04-06 10:51:29] marat at nihol dot com I'm trying 4.2.0.RC2 from www.php.net/~derick: make[3]: Entering directory `/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter' /bin/sh /home/marat/apache2/php-4.2.0RC2/libtool --silent --mode=compile gcc -I. -I/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter -I/home/marat/apache2/php-4.2.0RC2/main -I/home/marat/apache2/php-4.2.0RC2 -I/usr/local/apache2/include -I/home/marat/apache2/php-4.2.0RC2/Zend -I/home/marat/apache2/mysql-3.23.49-pc-linux-gnu-i686/include -I/home/marat/apache2/php-4.2.0RC2/ext/xml/expat -D_REENTRANT -I/home/marat/apache2/php-4.2.0RC2/TSRM -g -O2 -pthread -DZTS -prefer-pic -c sapi_apache2.c sapi_apache2.c: In function `php_apache_sapi_ub_write': sapi_apache2.c:58: too few arguments to function `apr_brigade_create' sapi_apache2.c:61: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c: In function `php_apache_sapi_flush': sapi_apache2.c:174: too few arguments to function `apr_brigade_create' sapi_apache2.c:175: too few arguments to function `apr_bucket_flush_create' sapi_apache2.c: In function `php_input_filter': sapi_apache2.c:257: too few arguments to function `apr_brigade_create' sapi_apache2.c: In function `php_output_filter': sapi_apache2.c:331: too few arguments to function `apr_brigade_create' sapi_apache2.c:386: too few arguments to function `apr_bucket_transient_create' sapi_apache2.c:395: too few arguments to function `apr_bucket_eos_create' make[3]: *** [sapi_apache2.lo] Error 1 make[3]: Leaving directory `/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/marat/apache2/php-4.2.0RC2/sapi/apache2filter' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/marat/apache2/php-4.2.0RC2/sapi' make: *** [all-recursive] Error 1 [EMAIL PROTECTED]:~/apache2/php-4.2.0RC2# PHP: ./configure --with-mysql=../mysql-3.23.49-pc-linux-gnu-i686/ --with-apxs2=/usr/local/apache2/bin/apxs APACHE: ./configure --enable-so --enable-MODULE=shared :( In file: php-4.2.0RC2/sapi/apache2filter/sapi_apache2.c, line 58: bb = apr_brigade_create(ctx->f->r->pool); But in file: httpd-2.0.35/srclib/apr-util/include/apr_buckets.h, line 646, declaration of this functi
#29180 [Opn]: Client crash
ID: 29180 Updated by: [EMAIL PROTECTED] Reported By: tila at home dot nl Status: Open Bug Type: PostgreSQL related Operating System: Linux 2.4.24 PHP Version: 5.0.0 New Comment: does it also crash when NOT using the PEAR::DB class? Previous Comments: [2004-07-16 00:40:32] tila at home dot nl new code, I am sorry. I cannot provide a link to the server. open it with ?id=5 as parameter. query($QUERY); $total = $result->numRows(); $offset = $_GET['id']?$_GET['id']:0; $perpage = 10; for ($i = $offset; (($i < $total) && ($i < ($offset + $perpage))); $i++) { $row = $result->fetchRow(DB_FETCHMODE_ASSOC, $i); } echo $offset; ?> [2004-07-15 11:50:43] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. [2004-07-15 11:03:20] tila at home dot nl Description: The client crash on the following code when offset > 0; I don't get an error message. Reproduce code: --- $result = $db->query($QUERY); $total = $result->numRows(); $back = max (0, $offset - $perpage); $forward = min (($offset + $perpage), max (0, (($perpage * ceil ($total / $perpage)) - $perpage))); $end = max (0, (($perpage * ceil ($total / $perpage)) - $perpage)); $overviewtemplate->setVariable("back", $back); $overviewtemplate->setVariable("forward", $forward); $overviewtemplate->setVariable("end", $end); for ($i = $offset; (($i < $total) && ($i < ($offset + $perpage))); $i++) { $row = $result->fetchRow(DB_FETCHMODE_ASSOC, $i); while (list($key, $value) = each($row)) { $row[$key] = stripslashes(trim($row[$key])); } } -- Edit this bug report at http://bugs.php.net/?id=29180&edit=1
#45882 [Opn->Bgs]: echo ''.var_dump($this->db); prints only array :)
ID: 45882 Updated by: [EMAIL PROTECTED] Reported By: shock at spamavert dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Windows / nix PHP Version: 5.3.0alpha1 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Please see the documentation of var_dump, without the second parameter it will automatically send the dump to the output buffer, return *nothing*, append *nothing* to '' and THEN output that. All expected behaviour. Previous Comments: [2008-08-21 16:16:13] shock at spamavert dot com Description: When i try to use this contruct: '.var_dump($db); ?> then its doing same that: but ';var_dump($db); ?> Work fine :) -- Edit this bug report at http://bugs.php.net/?id=45882&edit=1
#45885 [Opn->Bgs]: header function problem in Internet Explorer
ID: 45885 Updated by: [EMAIL PROTECTED] Reported By: jeffshadap at gmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows XP PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. If it works in FF and does not in IE, then that means it's a browser-issue. Make sure to update your browser to the latest version, and make sure your HTML is actually standards-compliant (no, currently it's not). It should work just fine once you do. This is not a bug in PHP itself. Previous Comments: [2008-08-21 18:11:24] jeffshadap at gmail dot com Description: The header function behavior in Internet Explorer 6.0 is broken Reproduce code: --- Expected result: Firefox and Internet Explorer Clicking on GET, and POST should redirects to the same page Actual result: -- Firefox: Clicking on GET, and POST redirects to the same page[correct] Internet Explorer: Clicking on GET redirects to the same page[correct] Clicking on POST displays the page with title "The page cannot be displayed"[incorrect] -- Edit this bug report at http://bugs.php.net/?id=45885&edit=1
#45898 [Opn->Csd]: Implement a string class
ID: 45898 Updated by: [EMAIL PROTECTED] Reported By: j dot stutterheim at hccnet dot nl -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: OS X 10.5.4 PHP Version: 6CVS-2008-08-23 (CVS) New Comment: This has been discussed on the internals list before, and the support for it seems to be minimal at best. You can read the last discussion about it on this thread: http://marc.info/?l=php-internals&m=119673254908065&w=2 Previous Comments: [2008-08-23 13:28:05] j dot stutterheim at hccnet dot nl Description: Adding a string class to PHP would be greatly appreciated. It would allow for direct operations on a string: subString(0, 5); ?> Of course it would support a whole lot more string operations. See C# or Java as reference for example. It should also be compatible with the current string functions. PHP 6 would be a nice target for this feature. If for some reason it's not possible to combine this with the current approach, consider looking at Objective-C's solution. It requires an @ to be appended before the string, so it becomes a NSString instead of a regular C string. -- Edit this bug report at http://bugs.php.net/?id=45898&edit=1
#45898 [Csd]: Implement a string class
ID: 45898 Updated by: [EMAIL PROTECTED] Reported By: j dot stutterheim at hccnet dot nl Status: Closed Bug Type: Feature/Change Request Operating System: OS X 10.5.4 PHP Version: 6CVS-2008-08-23 (CVS) New Comment: If you need more info about this, ask on the internals list. Previous Comments: [2008-08-23 18:46:05] [EMAIL PROTECTED] This has been discussed on the internals list before, and the support for it seems to be minimal at best. You can read the last discussion about it on this thread: http://marc.info/?l=php-internals&m=119673254908065&w=2 [2008-08-23 13:28:05] j dot stutterheim at hccnet dot nl Description: Adding a string class to PHP would be greatly appreciated. It would allow for direct operations on a string: subString(0, 5); ?> Of course it would support a whole lot more string operations. See C# or Java as reference for example. It should also be compatible with the current string functions. PHP 6 would be a nice target for this feature. If for some reason it's not possible to combine this with the current approach, consider looking at Objective-C's solution. It requires an @ to be appended before the string, so it becomes a NSString instead of a regular C string. -- Edit this bug report at http://bugs.php.net/?id=45898&edit=1
#45904 [Opn->Bgs]: extends from a class which is extends from another cause executor failed
ID: 45904 Updated by: [EMAIL PROTECTED] Reported By: laruence at yahoo dot com dot cn -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: rhel-4.x PHP Version: 5.2.6 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Duplicate of bug #45903 Previous Comments: [2008-08-25 03:50:16] laruence at yahoo dot com dot cn sorry , but I found that the realy reson is: top_statement: statement ... | class_declaration_statement { zend_do_early_binding(TSRMLS_C); } ... ; while the : void zend_do_early_binding(TSRMLS_D){ ... ... if (zend_lookup_class(Z_STRVAL_P(parent_name), Z_STRLEN_P(parent_name), &pce TSR MLS_CC) == FAILURE) { return; } ... ... } so, early_binding couldn't add the class a in to class_table ,because the class b is also a drived class and its parent class c is defined last in the script , so when zend_do_early_binding processing class b declaration, it will not be able to find class c in class_table . so the ZE delay the process until executing process , while the declaration of class a is on the same way . I think this must be the really reason ... ;) [2008-08-24 18:33:19] laruence at yahoo dot com dot cn Description: I found when I extends from a class which is also extended from a class cause the complie failed . the parsing process: starr: top_statement_list ; top_statement_list: top_statement_list //æçç¥ ; top_statement: //æçç¥ | class_declaration_statement //æçç¥ ; class_declaration_statement: unticked_class_declaration_statement ; unticked_class_declaration_statement: class_entry_type T_STRING extends_from //æçç¥ ; class_entry_type: T_CLASS //æçç¥ ; extends_from: /* empty */ | T_EXTENDS fully_qualified_class_name //æçç¥ ; fully_qualified_class_name: T_STRING { zend_do_fetch_class(&$$, &$1 TSRMLS_CC); } ; but if class with named fully_qualified_class_name is also a inherited class , it cause executor failed. after I tracing the parser, I found the reason maybe: when opcode ZEND_FETCH_CLASS(op2 is b) which is used to generated class a was executed. the class b was not in the class table yet, because class b is a drived class too ,it also need ZEND_DECLARE_INHERITED_CLASS belong to its to be executed for add itself to class_table. so ,I think this should be a bug, am I wrong? Reproduce code: --- Expected result: PHP Fatal error: Class 'b' not found in /home/xinchen/1.php on line 2 Fatal error: Class 'b' not found in /home/xinchen/1.php on line 2 Actual result: -- http://www.laruence.com/2008/08/24/427.html -- Edit this bug report at http://bugs.php.net/?id=45904&edit=1
#45930 [Opn->Bgs]: Problem in Singletion object creation
ID: 45930 Updated by: [EMAIL PROTECTED] Reported By: waxtonmax at yahoo dot com -Status: Open +Status: Bogus Bug Type: Session related Operating System: windows vista PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: [2008-08-27 06:18:24] waxtonmax at yahoo dot com Description: Hi I have problem in singleton object creation. I having Apache and PHP 5.2.5 Below is the singleton code. == CODE === POSTED HERE == CODE === Problem: i have opened a new browser and triggered this class, for the first time the result is fine, ie output was Intializing Now for the second time when i refreshed the page agiain it is displaying the same output, it is not entering the else part in the "static function getInstance() ". Also i have opened another browser at the same time , and again trigger this class , and also i am getting same dam.. output.. === Doubts 1) will PHP create a singleton object for per session or for entire engine (like singleton object in java for entire JVM). 2) if the singleton object is for entire engine , why it is getting initialized when i triggered the same class from some other browser,(ie) it should not echo "initializing ..." , it should echo "Already init ()". === Doubts Please describe me what is happening here. Regards waxtonmax Reproduce code: --- "; if(Logger::$singleton == null) { echo "Intializing "."";; Logger::$singleton = new Logger(); } else { echo " Already init ()"."";; } return Logger::$singleton; } /** * */ public function logWriter($serverity , $errMsg) { // DO SOME THING } } Logger::getInstance()->logWriter(1, "This is the file content" ); ?> Expected result: Same instance should used across all the session. ie where new request come from different user, the same instance which is instantiated first should be used Actual result: -- But new instance is created for every new request for the same session . -- Edit this bug report at http://bugs.php.net/?id=45930&edit=1
#45936 [Opn->Bgs]: Appending undeclared array should generate a notice
ID: 45936 Updated by: [EMAIL PROTECTED] Reported By: php at bouchery dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: All PHP Version: 5.2.6 New Comment: why? You assign a new array (and its first value) to a variable. What's wrong with that? If you see $array[] this as: $array = array('string'); would you expect it to fire an E_NOTICE ? no ? then why would this do so, if it has 100% the same meaning. Previous Comments: [2008-08-27 15:30:47] php at bouchery dot com Description: When error_reporting is set to "E_ALL" and trying append an undeclared array, PHP should generate a "NOTICE" error. Reproduce code: --- Expected result: Notice: Undefined variable: array in /var/www/script.php on line 4 Actual result: -- no error. -- Edit this bug report at http://bugs.php.net/?id=45936&edit=1
#45946 [Opn->Bgs]: table exist in the database, but mysql_query return false
ID: 45946 Updated by: [EMAIL PROTECTED] Reported By: s_khreiss at hotmail dot com -Status: Open +Status: Bogus Bug Type: *Database Functions Operating System: windows XP PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. PHP doesn't have any code which could influence this. Please try a mysql mailinglist / forum to help you find out what you're doing wrong. Previous Comments: [2008-08-29 10:25:54] s_khreiss at hotmail dot com Description: after connecting to my database using mysql_connect() and then select the database mysql_select_db("database_name"); mySql_query($qry); ($qry= "INSERT INTO $table...) returns: database_name.$table doesn't exist. but the table exist in the database. in the database i have 20 tables, it doesn't work on 4 of them and for the other it works properly. please if anyone can help me thankyou. PHP version 5.1.2, windows XP, wamp5 server. Actual result: -- query failed: database_name.table doesn't exist -- Edit this bug report at http://bugs.php.net/?id=45946&edit=1
#45958 [Opn->Fbk]: PHP has encountered an Access Violation at 010ACE38
ID: 45958 Updated by: [EMAIL PROTECTED] Reported By: tashvighi1 at yahoo dot com -Status: Open +Status: Feedback Bug Type: PDO related Operating System: windowds xp PHP Version: 5.2.6 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: [2008-08-31 10:27:25] tashvighi1 at yahoo dot com Description: Error In connection to database. -- Edit this bug report at http://bugs.php.net/?id=45958&edit=1
#45976 [Opn]: SPL fails to load if simplexml is not loaded
ID: 45976 Updated by: [EMAIL PROTECTED] Reported By: development at domain51 dot com Status: Open Bug Type: SPL related Operating System: OS X PHP Version: 5.3CVS-2008-09-02 (CVS) New Comment: What exactly is bugged about this according to you? SPL requires simpleXML, which you explicitly disallow. Seems pretty straightforward to me? enable simpleXML and SPL will load just fine again. Previous Comments: [2008-09-02 16:52:18] development at domain51 dot com Description: When the SimpleXML extension is not loaded, SPL fails to load. Reproduce code: --- $ ./configure --disable-simplexml && make && make install $ php -v Expected result: PHP 5.3.0alpha3-dev (cli) (built: Sep 2 2008 11:09:22) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies Actual result: -- PHP Warning: Cannot load module 'SPL' because required module 'simplexml' is not loaded in Unknown on line 0 PHP 5.3.0alpha3-dev (cli) (built: Sep 2 2008 11:09:22) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies -- Edit this bug report at http://bugs.php.net/?id=45976&edit=1
#45979 [Opn->Bgs]: Select and Delete Mysql
ID: 45979 Updated by: [EMAIL PROTECTED] Reported By: d dot durieux at siprossii dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: FreeBSD 7.0 AMD64 PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: [2008-09-03 06:30:38] d dot durieux at siprossii dot com It's on FreeBSD 7.0 i386 and not AMD64 [2008-09-03 06:28:11] d dot durieux at siprossii dot com Description: There is a problem when I select a line in mysql table and afet I delete it. Reproduce code: --- It works : $sql = 'SELECT * FROM sous_domaine WHERE id="10" '; $req = mysql_query($sql) or die('Erreur SQL !'.$sql.''.mysql_error()); while($data = mysql_fetch_assoc($req)) { echo $data['id']; } $sql2 = 'DELETE FROM sous_domaine WHERE id="10" '; $req2 = mysql_query($sql2) or die('Erreur SQL !'.$sql2.''.mysql_error()); It don't work : $sql = 'SELECT * FROM sous_domaine WHERE id="'.$_GET['id'].'" '; $req = mysql_query($sql) or die('Erreur SQL !'.$sql.''.mysql_error()); while($data = mysql_fetch_assoc($req)) { echo $data['id']; } $sql2 = 'DELETE FROM sous_domaine WHERE id="'.$_GET['id'].'" '; $req2 = mysql_query($sql2) or die('Erreur SQL !'.$sql2.''.mysql_error()); Expected result: In first case (it works) : I see the id get in mysql and it delete it after In second case (it don't work) : I don't see id get in mysql. It's like if it delete it first and after select. I have not error in php log. -- Edit this bug report at http://bugs.php.net/?id=45979&edit=1
#45992 [Opn->Bgs]: \t in include_path is parsed as tabulator
ID: 45992 Updated by: [EMAIL PROTECTED] Reported By: ckl at ecw dot de -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Windows XP SP 3 PHP Version: 5.3.0alpha2 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php \t is still a special-character: the tab. Just like \r is a Carriage-Return and \n is a newline. It has always been this way, and is completely expected. These characters simply need to be escaped in double-quoted strings: ".;C:\\ckl\\dev\\lang\\php\\lib\\trunk" Previous Comments: [2008-09-04 11:45:50] ckl at ecw dot de Description: I know that the include_path should contain forward slashes, but PHP 5.2.x still accepted backslashes in path. If you use a backslash in your path, the next character is interpreted as an metachar (\trunk is interpreted as \t => tab). Reproduce code: --- include_path = ".;C:\ckl\dev\lang\php\lib\trunk" Expected result: echo get_include_path() => .;C:\ckl\dev\lang\php\lib\trunk Actual result: -- echo get_include_path() => .;C:\ckl\dev\lang\php\lib runk -- Edit this bug report at http://bugs.php.net/?id=45992&edit=1
#45994 [Opn->Bgs]: "\" directive in php.ini, DISABLES ALL non-built-in php extensions
ID: 45994 Updated by: [EMAIL PROTECTED] Reported By: ipseno at yahoo dot com -Status: Open +Status: Bogus Bug Type: *Configuration Issues Operating System: Windows XP SP3 PHP Version: 5.3.0alpha2 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php You're escaping your ending quote (\" is an escape sequence for a double-quote character). Compare the same to a php-script which does Under windows xp sp3 Apache/2.2.9b, parse it by php-cgi.exe Now skip to upload_tmp_dir section, of generated page and look at a HUGE part of php.ini copied in that filed! That is..., everything from line upload_tmp_dir = "E:\", till the end of php.ini Commenting it out in php.ini. ;upload_tmp_dir = "E:\" OR shifting slash!!! upload_tmp_dir = "E:/" ...fixes it and enables all extensions again! Actual result: -- This is VERY POSSIBLE SOLUTION to: Bug #13290 extension_dir directive is not working -- Edit this bug report at http://bugs.php.net/?id=45994&edit=1
#45991 [Opn->Fbk]: parse_ini_file returns empty array if config.ini is saved as UTF-8
ID: 45991 Updated by: [EMAIL PROTECTED] Reported By: ckl at ecw dot de -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: Windows XP SP 3 PHP Version: 5.3.0alpha2 New Comment: Would that be UTF-8 with the BOM? or without? Previous Comments: [2008-09-04 10:13:38] ckl at ecw dot de Description: parse_ini_file returns an empty array while trying to parse any ini-file which is saved as UTF-8. ISO-8859-1 saved ini-files works as expected. Reproduce code: --- ; Saved as UTF-8 [production] application.base_url = application.data_url = "data" database.type = pdo_mysql database.host = 192.168.0.78 database.username = root database.password = database.name = blog Expected result: Get an array.. Actual result: -- array() -- Edit this bug report at http://bugs.php.net/?id=45991&edit=1
#45991 [Fbk]: parse_ini_file returns empty array if config.ini is saved as UTF-8
ID: 45991 Updated by: [EMAIL PROTECTED] Reported By: ckl at ecw dot de Status: Feedback -Bug Type: Filesystem function related +Bug Type: *Configuration Issues Operating System: Windows XP SP 3 PHP Version: 5.3.0alpha2 New Comment: changing to configuration issue Previous Comments: [2008-09-04 14:29:19] [EMAIL PROTECTED] Would that be UTF-8 with the BOM? or without? [2008-09-04 10:13:38] ckl at ecw dot de Description: parse_ini_file returns an empty array while trying to parse any ini-file which is saved as UTF-8. ISO-8859-1 saved ini-files works as expected. Reproduce code: --- ; Saved as UTF-8 [production] application.base_url = application.data_url = "data" database.type = pdo_mysql database.host = 192.168.0.78 database.username = root database.password = database.name = blog Expected result: Get an array.. Actual result: -- array() -- Edit this bug report at http://bugs.php.net/?id=45991&edit=1
#46004 [Opn->Bgs]: A non stict condition with 0 return true
ID: 46004 Updated by: [EMAIL PROTECTED] Reported By: roland dot dufour at multiprog dot net -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows Vista Ultimate French PHP Version: 5.2.6 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Please read the documentation: http://www.php.net/manual/en/types.comparisons.php It clearly states: (int) 0 == (string) "php" (or any string for that matter), this is due to PHP's loose typing auto-converting both to integers (and "php" changes to (int) 0; 0 == 0, so true) Previous Comments: [2008-09-05 15:36:48] roland dot dufour at multiprog dot net With a non strict condition, the expected result is : bool(true) bool(false) bool(true) And, with a strict condition, the expected result is : bool(false) bool(false) bool(true) [2008-09-05 15:33:49] roland dot dufour at multiprog dot net Description: When I try a non strict condition 0 == 'test', PHP return true. Reproduce code: --- // Non-strict condition var_dump((0 == 'test')); var_dump((1 == 'test')); var_dump(('test' == 'test')); // Strict condition var_dump((0 === 'test')); var_dump((1 === 'test')); var_dump(('test' === 'test')); Expected result: bool(false) bool(false) bool(true) I don't understand why a condition 0 == 'test' return true. I discovered this "bug" by exploring the keys of a table via the instruction "foreach". My code was then: $options = array( array(), // an array array(), // an other array 'refProduct' => 'test' // a value ); foreach ($options as $k => $option) { if ('refProduct' == $k){ continue; } // Instructions... } Curiously, only my secondary table ("an other array") was executed by "Instructions...". Actual result: -- bool(true) bool(false) bool(true) -- Edit this bug report at http://bugs.php.net/?id=46004&edit=1
#46008 [Opn->Bgs]: odbc_execute throws sql error code 01S02.
ID: 46008 Updated by: [EMAIL PROTECTED] Reported By: jiunarayan at gmail dot com -Status: Open +Status: Bogus Bug Type: ODBC related Operating System: linux PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: [2008-09-06 14:00:17] jiunarayan at gmail dot com Description: I wanted to get the stored procedure of SQL Server2000 using odbc driver.My system configuration is Linux where I used freeTDS to connect to odbc, PHP version 5.2. I used the odbc_prepare() and odbc_execute() method to access the stored procedure but it throws the SQL error code 01S02. I have tried in many ways to solve this out but I failed. Can anyone help me out? Has any one called the stored procedures of SQL Server2000 using odbc, in Linux Reproduce code: --- Expected result: The stored procedure in SQL Server2000-[ phptestproc =ALTER procedure phptestprocnew @name varchar(20),@age int as insert into phptest values(@name,@age) ] gets successfully updated Actual result: -- connected TO DB *** odbc_prepare ***Resource id #2 Warning: SQL error: [unixODBC][Driver Manager]Option value changed, SQL state 01S02 in SQLExecute in /home/projects/php_project/aphp.php on line 18 -- Edit this bug report at http://bugs.php.net/?id=46008&edit=1
#46016 [Opn->Bgs]: display_errors = Off doesn't work
ID: 46016 Updated by: [EMAIL PROTECTED] Reported By: php at jamesvalero dot com -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Windows 2003 R2 STD PHP Version: 5.2.6 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Previous Comments: [2008-09-07 09:18:02] php at jamesvalero dot com Description: The box is a W2k3 R2 STD using IIS. The error seems to be related to FastCGI as display_errors works when using php5isapi.dll. phpinfo(); shows that c:\windows\php.ini is being loaded and display_errors is off in both Local & Master under PHP Core. Again, this occurs when using php-cgi.exe Reproduce code: --- Expected result: Show only normal phpinfo(); output Actual result: -- The normal phpinfo(); output and PHP Notice: Use of undefined constant asdf - assumed 'asdf' in D:\Domains\itgstats-dev.domain.com\public_html\phpinfo.php on line 4 FWIW, when enabling display_errors, I get more errors Notice: Use of undefined constant asdf - assumed 'asdf' in D:\Domains\itgstats-dev.hottopic.com\public_html\phpinfo.php on line 4 PHP Notice: Use of undefined constant asdf - assumed 'asdf' in D:\Domains\itgstats-dev.hottopic.com\public_html\phpinfo.php on line 4 -- Edit this bug report at http://bugs.php.net/?id=46016&edit=1
#46027 [Opn->Bgs]: extra
ID: 46027 Updated by: [EMAIL PROTECTED] Reported By: thebeanieman at gmail dot com -Status: Open +Status: Bogus Bug Type: Output Control Operating System: Windows XP SP3 PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: [2008-09-09 03:13:27] thebeanieman at gmail dot com Description: Hi, This is my code: 0 && is_numeric(mb_substr($chemString,$k,1))){ if (preg_match("/^[A-Z]+$/",mb_substr($chemString,$k-1,1))){ $tempStr .= substr($chemString,$offset,1); $tempStr .= "".substr($chemString,$offset+1,1).""; $offset = $offset+3; echo "ggg".strlen($offset)."sss"; } } echo "".$k; } ?> This is the source: 0ggg1sss123456ggg1sss789101112ggg1sss13141516ggg2sss1718192021ggg2sss22232425ggg2sss262728293031ggg2sss323334ggg2sss35 Expected result: There is an extra tag. I know it's hard to see, but looks like a bug. i.e "0ggg1sss1" --- the in the middle came from nowhere!! -- Edit this bug report at http://bugs.php.net/?id=46027&edit=1
#46120 [Opn->Bgs]: Suggestion for expansion of function variable syntax
ID: 46120 Updated by: [EMAIL PROTECTED] Reported By: mephtu at yahoo dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Ubuntu Linux PHP Version: 5.2.6 New Comment: That has never worked, not even for variables. All of the following will work fine: $t = 'do_'.$tag; $t(); Your problem is that your syntax is basically impossible. It can not distinguish between: $'do_' . tag(); which might be either something remotely looking like a variable (parse error'd of course) followed by a concatenation operator, followed by a function call to function tag(). OR which might be that you want to concatenate everything together, and THEN execute the function by that name. The thing is, the parser can't differentiate between those two, so it doesn't even try. You can already execute "ad hoc function variables", as long as you use proper syntax. It is unfortunate that something like: ${'do_'.$tag}(); does not work, but instead returns Fatal error: Function name must be a string Anyway, marking as bogus since you already can do this. Previous Comments: [2008-09-19 03:09:01] mephtu at yahoo dot com Description: I want to be able to execute ad hoc function variables. Reproduce code: --- Expected result: Hello, world! Actual result: -- Error. -- Edit this bug report at http://bugs.php.net/?id=46120&edit=1
#46136 [Opn]: DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID xxx already defined
ID: 46136 Updated by: [EMAIL PROTECTED] Reported By: mathieu dot lagana at gmail dot com Status: Open Bug Type: DOM XML related Operating System: windows PHP Version: 5.2.6 New Comment: Could you please explain what you believe the actual BUG is here? "Set warning on anchor id" by itself doesn't tell me anything. Please explain _why_ you believe what you see is wrong. Previous Comments: [2008-09-20 11:41:24] mathieu dot lagana at gmail dot com Description: Set warning on anchor id DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID xxx already defined in http://www.w3.org, line: 428 Reproduce code: --- loadHTMLFile("http://www.w3.org";); //idem for loadHTML() Expected result: nothhing Actual result: -- DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID technologies already defined in http://www.w3.org, line: 94 DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID news already defined in http://www.w3.org, line: 264 DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID search already defined in http://www.w3.org, line: 315 DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID contents already defined in http://www.w3.org, line: 332 DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID Offices already defined in http://www.w3.org, line: 428 DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID systems already defined in http://www.w3.org, line: 482 DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID donors already defined in http://www.w3.org, line: 493 DOMDocument::loadHTMLFile() [domdocument.loadhtmlfile]: ID footnotes already defined in http://www.w3.org, line: 496 -- Edit this bug report at http://bugs.php.net/?id=46136&edit=1
#46152 [Opn->Bgs]: Exit() don't stop execute
ID: 46152 Updated by: [EMAIL PROTECTED] Reported By: paszczak at thecamels dot org -Status: Open +Status: Bogus Bug Type:*General Issues PHP Version: 5.2.6 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Destructors are called after request finishes and are meant to handle any cleanup required (ie. closing database connections). This is intended behaviour. Previous Comments: [2008-09-22 12:55:02] paszczak at thecamels dot org Description: Why exit don't stop execute of PHP script? Reproduce code: --- class innaklasa { public function __construct() { print "inna klasa"; } public function zrob() { print "inna klasa zrob"; } } class klasa { public function __construct() { print "konstruktor"; } public function __destruct() { print "destruktor"; $innaklasa = new innaklasa; $innaklasa->zrob(); } } $c = new klasa; exit; Expected result: konstruktor Actual result: -- konstruktor inna klasa inna klasa zrob -- Edit this bug report at http://bugs.php.net/?id=46152&edit=1
#46150 [Opn->Bgs]: File Upload does not work after upgarde from 4.X
ID: 46150 Updated by: [EMAIL PROTECTED] Reported By: npandey2 at sapient dot com -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Windows Server 2003 PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. http://nl.php.net/manual/en/features.file-upload.errors.php Previous Comments: [2008-09-22 11:46:14] npandey2 at sapient dot com Description: We upgraded out Data Hosting platform from PHP Version 4.4.2 to 5.2.6 and after that the script to upload files keeps failing. The relevent settings in PHP.ini file open_basedir = NOT Set safe_mode = On file_uploads = On upload_tmp_dir = C:\Windows\Temp Cannot submit URL as the installation is curerntly at the integration environment Reproduce code: --- PHP Script : DataUpload per PHP "; echo "fileuploads: " . get_cfg_var('file_uploads') . ""; echo "upload_tmp_dir: " . get_cfg_var('upload_tmp_dir') . ""; echo "file_dir: " . $file_dir . ""; echo "userfile: " . $userfile . ""; echo "tmp :" . $tmp . ""; if ($_POST['submit'] == "Senden") { if ($_FILES["file"]["error"] > 0){ echo "Return Code: " . $_FILES["file"]["error"] . ""; } elseif (file_exists($file_dir.$userfile)) { die ("File does not exists!"); } elseif (move_uploaded_file($tmp, $file_dir.$userfile)) { die ("Data file $userfile copied"); } else{ die ("Data Upload failed!"); }} else { ?> Data File: Expected result: PHP Script : phpversion: 5.2.4 fileuploads: 1 upload_tmp_dir: C:\Windows\Temp file_dir: ./files/ userfile: 2.txt tmp :C:\WINDOWS\Temp\php8487.tmp Data file 2.txt copied Actual result: -- PHP Script : phpversion: 5.2.4 fileuploads: 1 upload_tmp_dir: C:\Windows\Temp file_dir: ./files/ userfile: 2.txt tmp : Return Code: 6 Data Upload failed! -- Edit this bug report at http://bugs.php.net/?id=46150&edit=1
#46154 [Opn->Bgs]: Un expexted result of empty string key of array
ID: 46154 Updated by: [EMAIL PROTECTED] Reported By: akam at akameng dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows XP SP2 PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. This is completely expected. First of all, '' === "", seriously, there is 0 difference between those two. Next, I think you misunderstood the manual. It just says you CAN use an empty string, and it WILL work. If an empty string is already defined as a key, it will simply overwrite it. $test = array('zero' => '1', '' => '2', "" => '3' ); echo $test['zero']."\n"; //outputs: 1 echo $test['']."\n"; //outputs: 3 echo $test[""]."\n"; //outputs: 3 '' = empty string "" = exact same empty string you could even use a heredoc to make such an empty string. They are all exactly the same. Read up on single and double quotes to find out how they differ. Previous Comments: [2008-09-22 21:01:01] akam at akameng dot com Actual result: -- php.net php.net php.net $key = zero and $value = php.net $key = and $value = php.net [2008-09-22 20:50:32] akam at akameng dot com Description: due to this line of php manual: "Using the empty string as a key will create (or overwrite) a key with the empty string and its value;" but empty string key will work. Reproduce code: --- 'php.net', '' => 'php.net', "" => 'php.net' ); //test echo $test['zero']."\n"; //output: php.net echo $test['']."\n"; //output: php.net echo $test[""]."\n"; //output: php.net foreach ($test as $key => $value ){ echo "\$key = $key and \$value = $value \n"; } //out put /* $key = zero and $value = php.net $key = and $value = php.net */ ?> Expected result: php.net php.net Actual result: -- php.net php.net php.net php.net php.net -- Edit this bug report at http://bugs.php.net/?id=46154&edit=1
#46163 [Opn->Bgs]: PhpInfo
ID: 46163 Updated by: [EMAIL PROTECTED] Reported By: david dot barkie at gmail dot com -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Windows XP Pro PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. It's not a phpinfo() issue. That works fine, your problem is that it uses the default php.ini values, which it sees as "c:\windows". If you put your php.ini file in the proper place (depends on what sapi you're using, if any), it will use it and show THAT it uses it. For more information, see: http://www.php.net/manual/en/configuration.php Previous Comments: [2008-09-23 20:26:55] david dot barkie at gmail dot com This is phpinfo() issue [2008-09-23 20:04:11] david dot barkie at gmail dot com Description: I have tried many times to get phpInfo() to display the correct Configuration File (php.ini) location; however, it is still displaying C:\WINDOWS and Loaded Configuration File equals (none). Where in the php.ini file is this file being read from?Is the value stored in the registry? Environment Variable PATH? I changed my PATH variable and bounced the server and phpInfo() did not capture the new values? why is this? Someone please help, if possible? PS.I tried creating IniFilePath variable in registry; however, this just stopped all phpinfo() from displaying. -- Edit this bug report at http://bugs.php.net/?id=46163&edit=1
#46091 [Opn->Bgs]: php.ini not found in C:\windows
ID: 46091 Updated by: [EMAIL PROTECTED] Reported By: linda_petty at shelter dot org dot uk -Status: Open +Status: Bogus Bug Type: Windows Installer Operating System: windows 2003 SP2 PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Please read the manual: http://www.php.net/manual/en/configuration.php Previous Comments: [2008-09-25 13:54:54] linda_petty at shelter dot org dot uk on the 1st line of description I said windows 2003 (SP4) I meant (SP2) [2008-09-16 09:07:34] linda_petty at shelter dot org dot uk Description: Installing AMP on windows 2003 (SP4). I found a BUG in this version of the windows PHP, apparently in the installer: PHP Version 5.2.6 (5.2 build 3790). We found the installation went fine on XP with this installer. BUT on windows 2003 (SP2)I found these values on the PHPINFO page after install: Configuration File (php.ini) Path: C:\WINDOWS Loaded Configuration File: (none) PHP had IGNORED my PHP.ini file which, as instructed by the install documentation, I had carefully placed in C:\WINDOWS I found it would only load my php.ini file if I placed it in C:\PHP5 (which is the default install directory). Once the php.ini file was in C:\PHP5, after restarting Apache, at last I see:- Loaded Configuration FileC:\PHP5\php.ini quite a timewaster! :0) Reproduce code: --- install with Zip installer on windows 2003 (SP2) using install directory C:\PHP to reproduce the problem Expected result: I would have expected Loaded Configuration FileC:\WINDOWS\php.ini Actual result: -- Loaded Configuration File: (none) -- Edit this bug report at http://bugs.php.net/?id=46091&edit=1
#46187 [Opn->Bgs]: pathinfo null
ID: 46187 Updated by: [EMAIL PROTECTED] Reported By: ne1on at idt dot com -Status: Open +Status: Bogus Bug Type: Variables related Operating System: Centos 5.1 PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. This is a server-issue. Such things are not set by PHP itself, but rather retrieved from Apache/Lightppd/lightty/etc. Previous Comments: [2008-09-26 21:51:21] ne1on at idt dot com Description: this is a repost of bug: http://bugs.php.net/bug.php?id=38476 i'm using 5.2.6 with lightty 1.4.19 and have done all the suggested setting and _SERVER["PATH_INFO"] is still NULL compile: ./configure --prefix=/usr/local/php --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-zlib --with-config-file-path=/etc --with-mysql=/usr/local/mysql php.ini: cgi.fix_pathinfo = 1 i search and search for hours and path_info is still has "no value" in phpinfo() Reproduce code: --- echo $_SERVER['PATH_INFO']; --> null [2008-09-26 21:48:57] ne1on at idt dot com Description: this is a repost of bug: http://bugs.php.net/bug.php?id=38476 i'm using 5.2.6 with lightty and have done all the suggested setting and _SERVER["PATH_INFO"] is still NULL compile: ./configure --prefix=/usr/local/php --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-zlib --with-config-file-path=/etc --with-mysql=/usr/local/mysql php.ini: cgi.fix_pathinfo = 1 i search and search for hours and path_info is still has "no value" in phpinfo() Reproduce code: --- echo $SERVER['PATH_INFO']; --> null -- Edit this bug report at http://bugs.php.net/?id=46187&edit=1
#46193 [Bgs]: str_replace() generates unexpected results
ID: 46193 Updated by: [EMAIL PROTECTED] Reported By: muqtada at hotmail dot com Status: Bogus Bug Type: Strings related Operating System: windows PHP Version: 5.2.6 New Comment: It's still bogus. do an echo "wwwroot\test\wp2"; and you'll see why (\t is a , you need to escape it properly if you don't want to have a tab there. If you do, your replace will work as you expect it.). str_replace works correctly and as intended. The bug is in your understanding, not the engine. Previous Comments: [2008-09-28 21:41:28] muqtada at hotmail dot com oops, i am sorry, yes i know it takes three arguments, i used following script print str_replace('\\',"/","wwwroot\test\wp2"); [2008-09-28 21:32:36] [EMAIL PROTECTED] I'm not sure what you did but the script you show can't work. str_replace takes three arguments and you have to use "\\" and not "\". [2008-09-28 21:25:44] muqtada at hotmail dot com Description: i tried following script print str_replace("wwwroot/test/wp","\"); its results in wwwroot est/wp same time fuction is working fine on other orguments like print str_replace("wwwroot/mycode/wp","\"); its results in wwwroot\mycode\wp Expected result: wwwroot/test/wp -- Edit this bug report at http://bugs.php.net/?id=46193&edit=1
#46193 [Bgs]: str_replace() generates unexpected results
ID: 46193 Updated by: [EMAIL PROTECTED] Reported By: muqtada at hotmail dot com Status: Bogus Bug Type: Strings related Operating System: windows PHP Version: 5.2.6 New Comment: Please stop using the bugs system for these kinds of problems. that's NOT what it is for. If you need help understanding what you're doing wrong, check out the php.general mailinglist or any other of the links here: http://www.php.net/support.php Previous Comments: [2008-09-28 22:10:36] muqtada at hotmail dot com Ok, but when i use echo addslashes("wwwroot\test\wp"); it still prints wwwroot est\\wp so even if use following $url= addslashes("wwwroot\test\wp"); echo str_replace("\\","/",$url); I would have put an exta slash if knew the string always :), since it is variable, i am be having problem at undersating, but i am getting my expected results using str_replace(); Thanks [2008-09-28 21:57:22] muqtada at hotmail dot com I guess it becuase of escape sequence, as wwwroot\test\wp has \t in it, I also tried other strings like wwwroot\nest\wp, it also produce same result and when i put an extra slash wwwroot\\test\wp then it gives me good result [2008-09-28 21:52:46] [EMAIL PROTECTED] It's still bogus. do an echo "wwwroot\test\wp2"; and you'll see why (\t is a , you need to escape it properly if you don't want to have a tab there. If you do, your replace will work as you expect it.). str_replace works correctly and as intended. The bug is in your understanding, not the engine. [2008-09-28 21:41:28] muqtada at hotmail dot com oops, i am sorry, yes i know it takes three arguments, i used following script print str_replace('\\',"/","wwwroot\test\wp2"); [2008-09-28 21:32:36] [EMAIL PROTECTED] I'm not sure what you did but the script you show can't work. str_replace takes three arguments and you have to use "\\" and not "\". The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/46193 -- Edit this bug report at http://bugs.php.net/?id=46193&edit=1
#46199 [Opn->Fbk]: Bug in xml_parser example
ID: 46199 Updated by: [EMAIL PROTECTED] Reported By: josef dot buk at volny dot cz -Status: Open +Status: Feedback Bug Type: *XML functions Operating System: Win XP Pro SP3 PHP Version: 5.2.6 New Comment: I must be missing something, but "There is an error in the first example from 24-May-2008 05:30." points to some kind of example... Where would this example be exactly? The documentation? If so, could you give us the URL you found it at ? Previous Comments: [2008-09-29 19:37:18] josef dot buk at volny dot cz Description: There is an error in the first example from 24-May-2008 05:30. The result gives: Reproduce code: --- Try this: just a copy of the class definition and $xml=new xx_xml("aaa11aaa2ccc13","contents"); print_r($xml->data); Expected result: Array ( [aa] => Array ( [data] => Array ( [0] => aaa1 [1] => aaa2 [2] => aaa3 ) ) [aa|bb] => Array ( [databb] => xbxb [data] => Array ( [0] => 1 ) ) [aa|cc] => Array ( [data] => Array ( [0] => ccc1 ) ) Actual result: -- Array ( [aa] => Array ( [data] => Array ( [0] => aaa1 ) ) [aa|bb] => Array ( [databb] => xbxb [data] => Array ( [0] => 1 [1] => aaa2 ) ) [aa|cc] => Array ( [data] => Array ( [0] => ccc13 ) ) -- Edit this bug report at http://bugs.php.net/?id=46199&edit=1
#46208 [Opn->Bgs]: Comparing integer to string loses leading 0's
ID: 46208 Updated by: [EMAIL PROTECTED] Reported By: brennan at reverseproductions dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: OSX PHP Version: 5.2.6 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php 05 is an integer, not a string. And as far as integers go, 5 === 05 === 5. If you want it to be a string, declare it as a string: '05'. Previous Comments: [2008-10-01 06:19:08] brennan at reverseproductions dot com Description: When comparing an integer with a string any leading 0's in the integers are ignored. Reproduce code: --- $day = "05"; echo "05 == 05: "; if (!(strcmp(05, $day))) echo "equal"; else echo "not equal"; echo ""; echo "07 == 05: "; if (!(strcmp(07, $day))) echo "equal"; else echo "not equal"; Expected result: 05 == 05: equal 07 == 05: not equal Actual result: -- 05 == 05: not equal 07 == 05: not equal -- Edit this bug report at http://bugs.php.net/?id=46208&edit=1
#46284 [Opn->Bgs]: Error parsing C:\Programmi\PHP\php.ini
ID: 46284 Updated by: [EMAIL PROTECTED] Reported By: iok2 at libero dot it -Status: Open +Status: Bogus Bug Type: *Configuration Issues Operating System: Windows XP PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: [2008-10-12 22:42:12] iok2 at libero dot it . [2008-10-12 22:38:17] iok2 at libero dot it Description: I've a problem with PHP 5.2.6 configuration. I use Apache 2.2.6 with this configuration for PHP in httpd.conf: PHPIniDir "C:/Programmi/PHP/" LoadModule php5_module "C:/Programmi/PHP/php5apache2_2.dll" In the php.ini file I've this instruction in the line 3: PHPIniDir "C:\\Programmi\\PHP\\" If I do not use that instruction (PHPIniDir "C:\\Programmi\\PHP\\" , or similar path) in the php.ini file, PHP don't work, but I've the parsing error message at the start of Apache service. I've PHP path environment variable enabled. How can I fix the parsing error? Reproduce code: --- [PHP] PHPInidir "C:\\Programmi\\PHP\\" ;;; ; About php.ini ; ;;; ; This file controls many aspects of PHP's behavior. In order for PHP to ; read it, it must be named 'php.ini'. PHP looks for it in the current ; working directory, in the path designated by the environment variable ; PHPRC, and in the path that was defined in compile time (in that order). ; Under Windows, the compile-time path is the Windows directory. The ; path in which the php.ini file is looked for can be overridden using ; the -c argument in command line mode. ; ; The syntax of the file is extremely simple. Whitespace and Lines ; beginning with a semicolon are silently ignored (as you probably guessed). ; Section headers (e.g. [Foo]) are also silently ignored, even though ; they might mean something in the future. ; ; Directives are specified using the following syntax: ; directive = value ; Directive names are *case sensitive* - foo=bar is different from FOO=bar. ; ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo"). ; ; Expressions in the INI file are limited to bitwise operators and parentheses: ; |bitwise OR ; &bitwise AND ; ~bitwise NOT ; !boolean NOT ; ; Boolean flags can be turned on using the values 1, On, True or Yes. ; They can be turned off using the values 0, Off, False or No. ; ; An empty string can be denoted by simply not writing anything after the equal ; sign, or by using the None keyword: ; ; foo = ; sets foo to an empty string ; foo = none; sets foo to an empty string ; foo = "none" ; sets foo to the string 'none' ; ; If you use constants in your value, and these constants belong to a ; dynamically loaded extension (either a PHP extension or a Zend extension), ; you may only use these constants *after* the line that loads the extension. ; ; ;;; ; About this file ; ;;; ; This is the recommended, PHP 5-style version of the php.ini-dist file. It ; sets some non standard settings, that make PHP more efficient, more secure, ; and encourage cleaner coding. ; ; The price is that with these settings, PHP may be incompatible with some ; applications, and sometimes, more difficult to develop with. Using this ; file is warmly recommended for production sites. As all of the changes from ; the standard settings are thoroughly documented, you can go over each one, ; and decide whether you want to use it or not. ; ; For general information about the php.ini file, please consult the php.ini-dist ; file, included in your PHP distribution. ; ; This file is different from the php.ini-dist file in the fact that it features ; different values for several directives, in order to improve performance, while ; possibly breaking compatibility with the standard out-of-the-box behavior of ; PHP. Please make sure you read what's different, and modify your scripts ; accordingly, if you decide to use this file instead. ; ; - register_long_arrays = Off [Performance] ; Disables registration of the older (and deprecated) long predefined array ; variables ($HTTP_*_VARS). Instead, use the superglobals that were ; introduced in PHP 4.1.0 ; - display_errors = Off
#46314 [Opn->Bgs]: sending e-mail through SMTP fail
ID: 46314 Updated by: [EMAIL PROTECTED] Reported By: s_khreiss at hotmail dot com -Status: Open +Status: Bogus Bug Type: Mail related Operating System: Windows XP PHP Version: 5.2.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: [2008-10-16 12:51:37] s_khreiss at hotmail dot com Description: Dear, In our Website we have an option to send an e-mail..where I'am using the send_email function to send via SMTP. the function was working correctly and e-mails were sent, but today when trying to send an e-mail, it gives me: 'error: send e-mail failed. SMTP is up and running. (we re-start it and we re-start the IIS server but nothing change) please I need help to know why mail are not sent. (here is the function) thank you, Sincerely, Reproduce code: --- function send_email($to, $subject, $message, $from, $name) { require("includes/class.phpmailer.php"); $mail = new PHPMailer(); $mail->IsSMTP(); // send via SMTP $mail->Host = "localhost"; // SMTP servers $mail->SMTPAuth = false; // turn on SMTP authentication $mail->From = $from; $mail->FromName = $name; $mail->AddAddress($to);// optional name $mail->AddReplyTo($to,""); $mail->WordWrap = 50; // set word wrap $mail->IsHTML(true); // send as HTML $mail->Subject = $subject; $mail->Body = $message; $mail->AltBody = $message; if(!$mail->Send()) { print" alert('error: send e-mail failed'); window.close() "; echo "Mailer Error: " . $mail->ErrorInfo; } else { print" alert('e-mail sent successfully'); window.close() "; } } -- Edit this bug report at http://bugs.php.net/?id=46314&edit=1
#46335 [Opn->Bgs]: DOMText::splitText doesn't handle multibyte characters
ID: 46335 Updated by: [EMAIL PROTECTED] Reported By: sites at hubmed dot org -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: OS X PHP Version: 5.2.6 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php in PHP < 6, this is expected behaviour. PHP < 6 just isn't unicode-aware by default. It should work in PHP 6 however. If not, let us know. Previous Comments: [2008-10-17 17:10:20] sites at hubmed dot org Description: Using the DOMText function splitText() on a text node containing multibyte characters results in the node being split at the wrong position. Reproduce code: --- $text = 'This is an example of using DOM splitText'; $start = 30; $length = 3; $dom = new DOMDocument('1.0', 'UTF-8'); $node = $dom->createTextNode($text); $dom->appendChild($node); print "Text: $node->textContent\n"; print 'Expected (mb_substr): ' . mb_substr($text, $start, $length, 'UTF-8') . "\n"; $matched = $node->splitText($start); $matched->splitText($length); print "Actual (splitText): $matched->textContent\n"; Expected result: Text: This is an example of using DOM splitText Expected (mb_substr): DOM Actual (splitText): DOM Actual result: -- Text: This is an example of using DOM splitText Expected (mb_substr): DOM Actual (splitText): ing -- Edit this bug report at http://bugs.php.net/?id=46335&edit=1
#46403 [Opn->Bgs]: backslash namespace delimiter sucks
ID: 46403 Updated by: [EMAIL PROTECTED] Reported By: nospam at yandex dot ru -Status: Open +Status: Bogus Bug Type:Feature/Change Request PHP Version: 5.3.0alpha2 New Comment: The bugtracker is for BUGS, not for your complaints. Go take them somewhere else. Previous Comments: [2008-10-27 14:34:10] nospam at yandex dot ru Description: Backslash delimiter is absolutely unreadable (example: MVl\V\_L\J::$x ) and doesn't corresponds to C/Java syntax style of PHP. Most of russian phpclub.ru forum members are annoyed by this news (http://phpclub.ru/talk/showthread.php?s=&postid=821935). -- Edit this bug report at http://bugs.php.net/?id=46403&edit=1
#46476 [Opn->Bgs]: initial property value can't be different than primitive type?!!
ID: 46476 Updated by: [EMAIL PROTECTED] Reported By: info at netmosfera dot it -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: irrelevant PHP Version: 5.3.0alpha2 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Please check the documentation, this is a known limitation. Previous Comments: [2008-11-04 08:48:29] info at netmosfera dot it Description: hello i think there is a logic problem with php's fields/properties initial values they can be only int float string boolean or null! please see the code thank you Reproduce code: --- class Config { private static $defaultLanguage = new Lang("en"); private static $objectsUrl = new Path("my/path/"); private static $look = new LookAndFeel("default"); } --- the only way i can set initial static values is --- class Config { private static $defaultLanguage; private static $objectsUrl; private static $look; public static __unbelievable_static_constructor() //!!! { self::$defaultLanguage = new Lang("en"); self::$objectsUrl = new Path("my/path/"); self::$look = new LookAndFeel("default"); } } Config::__unbelievable_static_constructor(); Actual result: -- unexpected NEW -- Edit this bug report at http://bugs.php.net/?id=46476&edit=1
#46554 [Opn->Bgs]: tokenizer.c undeclared yycINITIAL during build
ID: 46554 Updated by: [EMAIL PROTECTED] Reported By: mark at dynom dot nl -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: Linux PHP Version: 6CVS-2008-11-12 (CVS) New Comment: marking this as bogus then. Previous Comments: [2008-11-14 10:46:15] mark at dynom dot nl I have no idea what's going on.. I deleted my local copy and checked out PHP6-CVS again. I installed flex 2.5.4a (since 4 is considerably less then 35, 2.5.4 vs 2.5.35). And it build fine! (Problem solved, or so I thought). So just to test it I installed flex 2.5.35 and tried to build it again, and now also builds fine... So either the inital checkout went bezerk, or something fishy is going on. But either way, I can build again, still no idea what caused it though.. [2008-11-12 20:19:45] [EMAIL PROTECTED] Try using re2c 0.13.5. [2008-11-12 10:36:36] mark at dynom dot nl Description: Building gives the following error: ext/tokenizer/tokenizer.c: In function 'zif_token_get_all': ext/tokenizer/tokenizer.c:181: error: 'yycINITIAL' undeclared (first use in this function) ext/tokenizer/tokenizer.c:181: error: (Each undeclared identifier is reported only once ext/tokenizer/tokenizer.c:181: error: for each function it appears in.) Using: autoconf-2.63 automake-1.10.1 libtool-2.2.6a flex-2.5.35 re2c-0.13.3 bison-2.3 Reproduce code: --- cvs up Zend/ cvs up ./cvsclean ./buildconf rm -rf mybuild mkdir mybuild cd mybuild/ ../configure make -- Edit this bug report at http://bugs.php.net/?id=46554&edit=1