[PHP-DEV] PHP 4 Bug Summary Report
PHP 4 Bug Database summary - http://bugs.php.net Num Status Summary (630 total including feature requests) ===[*General Issues]== 40497 Feedback File-Upload does not work ===[*Programming Data Structures]= 40496 Assigned Test bug35239.phpt still fails ===[Apache2 related]== 38670 Open Whole 4.4.x branch has problem with open_basedir option nested from Apache2 38915 Open mod_php: system() (and similar) don't cleanup opened handles of Apache ===[Arrays related]=== 31114 Assigned foreach modify array (works with PHP 5.1) 37451 Open array_multisort fails to trigger by val copy of data (works in PHP 5.1) 39764 Suspended array_key_exists inconsistent behavior ===[CGI related]== 38476 Open PATH_INFO, ORIG_PATH_INFO, and PHP_SELF not set in Lighttpd1.4.11/PHP4.4.3 ===[Class/Object related]= 39254 Open Refcount error with static variables and object references (PHP4 only) 39681 Open this assignment outside class breaks static function call (PHP4 only) ===[COM related]== 37899 Assigned [PATCH] php_char_to _OLECHAR copies junk bytes 40453 Feedback Application Error in New COM (word.application) ===[Documentation problem] 29045 Suspended gzopen for URL 36663 Open unexpected difference between zlib.output_compression and ob_gzhandler 37009 Open I got wrong letter Å and å ! 37901 Verified Unable to find the wrapper file 39874 Open gztell returns incorrect file pointer number 39894 Open IniFilePath and PHPRC 40450 Open fastio.com hasn't been available for some time ===[EXIF related]= 39617 Assigned Erroneously uses the GPS version tag to determine byte order of GPS fields ===[FDF related]== 34811 Assigned fdf_get_value max size ===[Feature/Change Request]=== 3066 Open Parameter for dns functions to select different DNS 3799 Suspended default_charset brings small incompatibility 3830 Open Function to timeout/break off a function 5007 Analyzed enable no-resolve mode for here docs 5169 Open Missing recursive behavior 5311 Analyzed implement checkdnsrr() and getmxrr() on windows 5575 Open open_basedir to ~ 5601 Analyzed @function() should not turn of error reporting for critical errors 5748 Assigned use 'App Paths' registry key to specify path for supporting dlls 5804 Open parser error if any spaces follow indentifier in with here doc syntax 5883 Assigned --enable-trans-sid modification request 5954 Open Informix can't reliably figure if a text result column is NULL 5975 Open version of strip_tags() that specifies tags to strip (instead of tags to keep) 6118 Open Can not supress runtime warnings on foreach 6268 Open ternary op return only by value 6399 Open checkdate should be able to validate a time as well as a date (timestamp) 6427 Open func_get_arg() does not support references 6503 Open no support for multiple resultset query? 6512 Analyzed sort() Does not sort stings as expected 6574 Open SMTP functions via IMAP c-client library 6680 Open regexps (ereg*) ignores locale settings 6771 Assigned Import LIB files needed in Win32 distribution 6911 Open Problem with array_merge(_recursive) 6927 Suspended 6932 Open Filesize / File_exists and include_path 6993 Open uninstalling is a pain in the ass 7006 Open preg_replace ( string pattern, array replacement, string subject ); 7028 Analyzed xml=shared and wddx do not work together 7132 Assigned fsockopen doesn't report dns lookup failure 7398 Open Stored procedure error return values not passed through 7507 Open Better ODBC error reporting/fetching 7541 Open please consider also support HPUX shl_* 7553 Open RFC: Uplevel Block structure 7559 Open zend_hash_get_current_key_ex returning persistent strings 7578 Open next() and current() do not return referenceing arrays 7808 Open variable value triggerd by function 7923 Analyzed htmlentities doesn't work for ISO 8859-2 7930 Open List() constructor reference assignment 8100 Assigned extract(), extra feature 8108 Analyzed implement trans-sid as output handler 8295 Open absolute path in extension= directive in php.ini not recognized 8395 Open register_shutdown_function() error 8397 Open Multi-results sets are not suppported 8427 Analyzed
[PHP-DEV] PHP 5 Bug Summary Report
PHP 5 Bug Database summary - http://bugs.php.net Num Status Summary (664 total including feature requests) ===[*Compile Issues]== 39372 Suspended Incompatibility in the PHP API. ===[*Configuration Issues] 37919 Open PHP doesn't read the configurations propertly 40464 Assigned Session.save_path wont use default-value ===[*Directory/Filesystem functions] 39351 Open require and include fails to open file in current directory 40535 Open is_readable and file_exists give false negatives when euid != uid ===[Apache2 related]== 32220 Assigned [PATCH] thread_resources for thread not getting freed when apache kills thread 38141 Suspended $_SERVER['SCRIPT_NAME'] set incorrectly with mod_rewrite 39330 Assigned apache2handler does not call shutdown actions before apache child die 39484 Open intermittent include failure under symlinked virtual hosts 40524 Open undefined symbol: zend_qsort ===[Arrays related]=== 35163 Assigned Array elements can lose references. 40334 Open natsort() does not work for some numbers... 40509 Assigned key() function changed behaviour if global array is used within function ===[Bzip2 Related] 29521 Verified compress.bzip2 wrapper 40437 Assigned decompress.bzip2 is broken ===[Calendar related]= 40213 Open easter_date() returns wrong timestamp if ... ===[CGI related]== 28227 Assigned PHP CGI depends upon non-standard SCRIPT_FILENAME 31892 Verified PHP_SELF incorrect without cgi.fix_pathinfo, but turning on screws up PATH_INFO 40419 Open Trailing Slash in CGI request don't work ===[Class/Object related]= 33314 Open Child class variable change not propogated during function call 36694 Assigned unserialize method is not called on an object when session is restored 40248 Open Undefined members with combined operators produce no warning ===[COM related]== 31327 Assigned chinese char and word problem 32099 Assigned After opening ADO connection and closing it repeatedly, Apache stops service 33188 Assigned Cannot instantiate a DOTNET object 34253 Assigned COM binary object/array issue (question marks?) 35872 Assigned CLI errors upon exit if class is left on IE 35875 Assigned IE event failure upon scheduling script 36360 Assigned PHP crashes when accessing an object that was just create by parent object 36959 Open ReadRecords Method (Crystal Reports XI) Hangs 37562 Open Unable to lookup ParameterFieldDefinitions 37965 Assigned Multi-dimensional array between PHP and COM 38719 Assigned COM Error during accessing function VirtualMachines 40424 Open Fatal error when setting the value of COM object's property array 40478 Open skype dll problem Skype4COM.dll 40480 Open COM: Cannot pass parameter by reference error since 5.2.1 ===[Compile Failure]== 37462 Open install fails for sapi/cgi/php 37610 Assigned win32build has incorrect expat, PHP non-buildable 38762 Assigned build dir != src dir results in Zend/zend_language_parser.c: No such file 40474 Open Segmentation fault during install-pear-installer 40527 Open Can't compile with IMAP. ===[Compile Warning]== 38515 Suspended Warnings during compile 38702 Assigned Getting odbc warnings during compilations ===[Date/time related] 37358 Assigned date_sunrise() date_sunset() handle main zone offset but not count summer time 39139 Assigned Last month bug 39965 Assigned Latitude and longitude are backwards in date-sun-info 40037 Assigned Incorrect output from strtotime, when timestr is used with a relative term this 40100 Assigned strtotime() first occurance of weekday returns wrong date 40290 Assigned strtotime() returns unexpected result with particular timezone offset 40340 Assigned Creating a DateTime object using a string that is invalid due to DST transition ===[dBase related] 33285 Verified dbase functions return garbage on certain file ===[Directory function related]=== 35691 Assigned Can't change to another drive letter using chdir() ===[Documentation problem] 33606 Open IIS does not recognize
[PHP-DEV] PHP 6 Bug Summary Report
PHP 6 Bug Database summary - http://bugs.php.net Num Status Summary (43 total including feature requests) ===[*General Issues]== 26771 Suspended register_tick_funtions crash under threaded webservers 27372 Verified parse error loading browscap.ini at apache startup (new parser required) ===[*Programming Data Structures]= 39216 Assigned call_user_func and friends don't accept array($this, func) callback anymore ===[Arrays related]=== 35277 Suspended incorrect recursion detection ===[Class/Object related]= 33595 Assigned recursive references leak memory ===[Compile Failure]== 34089 Open Configure fails build test for libxml2 ===[Feature/Change Request]=== 20377 Open php_admin_value affects _only_ .htaccess 27618 Open curl_multi_info_read does not appear to work 29479 Suspended changing current process name 34211 Open PDO_OCI: Allow for data type TIMESTAMP(0) WITH LOCAL TIME ZONE 34252 Open Base functions extension and refactoring 34527 Open trim functions extension 34775 Open parse_url() provide better error description on failure 34882 Open Unable to access *original* posted variable name with dot in 35309 Open Database connection pooling 37081 Open Make the include-errors mention faulty permissions 37380 Open DOMDocument-createAttribute[NS] can't set value 37546 Open DOMDocumentFragment-appendXML namespace support 37796 Open t_is_not_identical for ? 37814 Open Php shoul have class friends 38622 Open Proposed new security scheme for shared hosting (safe mode substitute) 38946 Open pecl/docblock should be merged into ext/tokenizer 39946 Open Native Singleton Implementation 40013 Open php_uname() doesnt return nodename 40014 Open try, catch -- Let's Empower It, Please!!! 40499 Open filter sapi does not register any highlightning filter ===[Filesystem function related]== 27792 Assigned Functions fail on large files (filesize,is_file,is_dir) 40193 Open PHP crashes on start on Sparc (GCC 4.x only) ===[GD related]=== 34670 Assigned imageTTFText for Indian scripts (Devanagari) ===[IIS related]== 37238 Assigned fastcgi-isapi dll runs dynamic servers as filters rather than responders ===[OpenSSL related]== 25614 Suspended openssl_pkey_get_public() fails when given a private key ===[Other web server]= 26495 Suspended Using WebSite Pro 2.5 with ISAPI, cookies are not working ===[PDO related]== 35368 Suspended PDO query does not work properly with serialize 39171 Assigned pdo_mysql configure script sets empty default socket ===[PostgreSQL related]=== 40371 Assigned pg_set_client_encoding() and pg_client_encoding() are inconsistent ===[Program Execution] 39992 Open proc_terminate() leaves children of child running ===[Scripting Engine problem]= 29687 Open By-reference passed value inside foreach() is no longer working 33487 Assigned Memory allocated for objects created in object methods is not released ===[Session related]== 32330 Open session_destroy, Failed to initialize storage module, custom session handler ===[SimpleXML related] 37076 Assigned SimpleXML ignores .= ===[Unknown/Other Function]=== 39710 Open getprotobyname is not thread-safe ===[XSLT related]= 38218 Assigned php:functionString tries to access objects with their names in lowercase ===[Zlib Related]= 30153 Suspended FATAL erealloc() error when using gzinflate() Assigned bugs: (reminders sent) pollita 39216: call_user_func and friends don't accept array($this, func) callback anymore dmitry 33595: recursive references leak memory dmitry 33487: Memory allocated for objects created in object methods is not released wez 27792: Functions fail on large files (filesize,is_file,is_dir) wez 39171: pdo_mysql configure script sets empty default socket
[PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage
Hi, I'd like to suggest a change to how the read_property object handler operates. Wouldn't it be reasonable for the engine to use get_property_ptr_ptr() whenever it wants to modify a property and get rid of using read_property() for write access? That would make rather simple ops like concatenation, in-/decrementation etc work again with overloaded internal classes. Just make the engine use read_property() followed by a write_property() when there's no get_property_ptr_ptr(). Punish me if I'm really that far off. Thoughts? -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage
Hello, Does that fix the problem where: $object-theArray[] = (...); is invalid when 'theArray' is implemented using __get()? Whoever fixes that one could get all free drinks at PHP conferences: PHP Hacker: Hi, I'm the guy who made it so you can add items to an array which is returned through __get() PHP Fanboy: Dude that is so awesome, how could I ever repay you!? Can I buy you a beer? regards, Peter --- Michael Wallner [EMAIL PROTECTED] wrote: Hi, I'd like to suggest a change to how the read_property object handler operates. Wouldn't it be reasonable for the engine to use get_property_ptr_ptr() whenever it wants to modify a property and get rid of using read_property() for write access? That would make rather simple ops like concatenation, in-/decrementation etc work again with overloaded internal classes. Just make the engine use read_property() followed by a write_property() when there's no get_property_ptr_ptr(). Punish me if I'm really that far off. Thoughts? -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php Send instant messages to your online friends http://au.messenger.yahoo.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage
On 02/19/2007 02:23 PM, Peter Hodge wrote: Hello, Does that fix the problem where: $object-theArray[] = (...); is invalid when 'theArray' is implemented using __get()? Whoever fixes that one could get all free drinks at PHP conferences: PHP Hacker: Hi, I'm the guy who made it so you can add items to an array which is returned through __get() PHP Fanboy: Dude that is so awesome, how could I ever repay you!? Can I buy you a beer? I believe you can start buying drinks for Dmitry =) This code: ?php class test { private $var = array(); function __get($name) { /* note the */ return $this-$name; } } $t = new test; $t-var[] = first; $t-var[][] = second; $t-var[][][] = third; var_dump($t); ? produces the following output: object(test)#1 (1) { [var:private]= array(3) { [0]= string(5) first [1]= array(1) { [0]= string(6) second } [2]= array(1) { [0]= array(1) { [0]= string(5) third } } } } -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage
Peter Hodge wrote: Hello, Does that fix the problem where: $object-theArray[] = (...); is invalid when 'theArray' is implemented using __get()? No. It's about internal classes and information stored in C structures. Regards, -- Michael -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage
--- Antony Dovgal [EMAIL PROTECTED] wrote: On 02/19/2007 02:23 PM, Peter Hodge wrote: Hello, Does that fix the problem where: $object-theArray[] = (...); is invalid when 'theArray' is implemented using __get()? Whoever fixes that one could get all free drinks at PHP conferences: PHP Hacker: Hi, I'm the guy who made it so you can add items to an array which is returned through __get() PHP Fanboy: Dude that is so awesome, how could I ever repay you!? Can I buy you a beer? I believe you can start buying drinks for Dmitry =) Is that in 5.2.1? regards, Peter Send instant messages to your online friends http://au.messenger.yahoo.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] [PROPOSAL] Change (just slightly) read/write_property() and get_property_ptr_ptr() usage
On 02/19/2007 02:42 PM, Peter Hodge wrote: --- Antony Dovgal [EMAIL PROTECTED] wrote: I believe you can start buying drinks for Dmitry =) Is that in 5.2.1? Yes. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] CVS Account Request: rrr
Checking if this form is working -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] CVS Account Request: chm
To develop SCA components in SDO/SCA -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-DEV] Reference in the mail header
Hello everybody! As a webhost that offer PHP-support for hundreds of customers, I have a concern. The mail()-function is too easy to use for sending spam and even worse - there is (sometimes) almost impossible to trace the sender-account. I've been looking into the source code and one very easy but yet powerful solution to trace spam would be to force a reference into the header. As each vhost has its own config, a PHP-setting mail.reference would be enough. This would be of great value for all webhosts out there and since we all want to limit spam on internet, why not include this? You can find some (not tested) sample code below. I hope you understand what I mean. This is my first post here and I'm not familar with the PHP source code. // Kristoffer Hultenius Original code: fprintf(sendmail, To: %s\n, to); fprintf(sendmail, Subject: %s\n, subject); if (headers != NULL) { fprintf(sendmail, %s\n, headers); } fprintf(sendmail, \n%s\n, message); ret = pclose(sendmail); New code: char *reference = INI_STR(mail.reference); fprintf(sendmail, To: %s\n, to); fprintf(sendmail, Subject: %s\n, subject); if (reference) { fprintf(sendmail, X-PHP-REFERENCE: %s\n, reference); } if (headers != NULL) { fprintf(sendmail, %s\n, headers); } fprintf(sendmail, \n%s\n, message); ret = pclose(sendmail); -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] Reference in the mail header
Kristoffer Hultenius wrote: Hello everybody! As a webhost that offer PHP-support for hundreds of customers, I have a concern. The mail()-function is too easy to use for sending spam and even worse - there is (sometimes) almost impossible to trace the sender-account. You can solve this (mostly) in admin-space by setting the sendmail_path, creatively, in php.ini. For example, I can send mail with this: [EMAIL PROTECTED]:~$ php -d sendmail_path=/home/sean/bin/mailwrap uniquehosthere -r 'mail(sean, subject, message body here);' Here's /home/sean/bin/mailwrap: (echo X-host-tag: $1 ; cat -) | /usr/sbin/sendmail -t -i And here's the resulting mail: From [EMAIL PROTECTED] Mon Feb 19 11:54:22 2007 X-Original-To: sean X-host-tag: uniquehosthere To: [EMAIL PROTECTED] Subject: subject Date: Mon, 19 Feb 2007 11:54:22 -0500 (EST) From: [EMAIL PROTECTED] (Sean) message body here ... I'm not shooting down your idea, but there _is_ a way to solve this right away. (Perhaps I'm missing something obvious, but I don't see an obvious way to get around this tag in userspace.) The sendmail_path value could be set with php_admin_value in your VirtualHost config. S -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] RCs explained (draft)
Hello Antony, Friday, February 16, 2007, 11:39:00 AM, you wrote: On 02/16/2007 01:21 AM, Antony Dovgal wrote: We also can add a detailed description of what is release candidate, what's the difference comparing to a release etc. to qa.php.net and add a link to that page in the block. Actually, I'll try to write something tomorrow. Please comment and correct (if needed). Release Candidates -- Release candidates are development packages released to check if any critical problems have slipped into the code during the previous development period. Release candidates are NOT for production use, they are for testing purposes only even though in most cases there are (almost) no differences between the general availability (GA) release and the last RC. You can help us detect problems by installing and testing release candidates on your own (non-production!) server. This should read: You can help yourself... Installation problems. First of all, make sure the build process (on *nix only) and installation went fine for you. PHP supports quite a number of operating systems on different platforms and we continue to work on increasing this number. Although, you might encounter some problems during the installation and we would like to know about them. Test engine. When done with the build, please run the test engine by using the 'make test' command and send us the results (hit 'Y' when it asks you whether to send the report). This way we'll receive the required information about your system to fix the problems detected by the test suite (if any). Real-life tests. We would also appreciate if you install the RC on your development server and run your software. This would help us to detect any (unintentional) changes between the release candidates and general releases. Such real-life tests are the most valuable because our test suite obviously cannot cover every possible use case (but we're working on that). -- Wbr, Antony Dovgal Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] RCs explained (draft)
Hello Antony, Monday, February 19, 2007, 7:12:27 PM, you wrote: On 02/19/2007 08:40 PM, Marcus Boerger wrote: Release candidates are development packages released to check if any critical problems have slipped into the code during the previous development period. Release candidates are NOT for production use, they are for testing purposes only even though in most cases there are (almost) no differences between the general availability (GA) release and the last RC. You can help us detect problems by installing and testing release candidates on your own (non-production!) server. This should read: You can help yourself... I believe running the test engine and providing us with feedback users help _us_ in the first place. If they only help us they wouldn't do anything. So we need to make clear that they help themselves by running the tests and their own software. Installation problems. First of all, make sure the build process (on *nix only) and installation went fine for you. PHP supports quite a number of operating systems on different platforms and we continue to work on increasing this number. Although, you might encounter some problems during the installation and we would like to know about them. Test engine. When done with the build, please run the test engine by using the 'make test' command and send us the results (hit 'Y' when it asks you whether to send the report). This way we'll receive the required information about your system to fix the problems detected by the test suite (if any). Real-life tests. We would also appreciate if you install the RC on your development server and run your software. This would help us to detect any (unintentional) changes between the release candidates and general releases. Such real-life tests are the most valuable because our test suite obviously cannot cover every possible use case (but we're working on that). -- Wbr, Antony Dovgal Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] RCs explained (draft)
On 02/19/2007 10:01 PM, Marcus Boerger wrote: Hello Antony, Monday, February 19, 2007, 7:12:27 PM, you wrote: On 02/19/2007 08:40 PM, Marcus Boerger wrote: Release candidates are development packages released to check if any critical problems have slipped into the code during the previous development period. Release candidates are NOT for production use, they are for testing purposes only even though in most cases there are (almost) no differences between the general availability (GA) release and the last RC. You can help us detect problems by installing and testing release candidates on your own (non-production!) server. This should read: You can help yourself... I believe running the test engine and providing us with feedback users help _us_ in the first place. If they only help us they wouldn't do anything. So we need to make clear that they help themselves by running the tests and their own software. Well, saying that they help only themselves is not true. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DEV] RCs explained (draft)
Antony Dovgal write: On 02/19/2007 08:40 PM, Marcus Boerger wrote: If they only help us they wouldn't do anything. So we need to make clear that they help themselves by running the tests and their own software. Well, saying that they help only themselves is not true. You can help yourself and the PHP team detect problems by installing... I'd say that was more accurate and more likely to inspire people to contribute. Best, Mike Robinson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php