Robert Thompson | 1 Oct 05:29 2007

[PHP-DEV] CVS Account Request: ab5602

Help debug and fix continuing issues with respect to PHP + Solaris.   In the position of debugging and fixing
Solaris + PHP issues almost exclusively for my job.  In particular, I would like to contribute to code fixes
and configuration checks for the many issues PHP is facing with respect to Solaris's shifty getcwd() and
realpath() bugs.

--

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

internals | 1 Oct 11:00 2007
Picon
Picon

[PHP-DEV] PHP 4 Bug Summary Report

 PHP 4 Bug Database summary - http://bugs.php.net

 Num Status     Summary (634 total including feature requests)
===============================================[*Programming Data Structures]=
40496 Assigned   Test bug35239.phpt still fails (works in PHP 5)
===============================================[*Regular Expressions]=========
42283 Open       problem in regular expressions
===============================================[Apache2 related]==============
38670 Open       Whole 4.4.x branch has problem with open_basedir option nested from Apache2
===============================================[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
42177 Open       Warning "array_merge_recursive(): recursion detected" comes again...
===============================================[CGI related]==================
42180 Open       php in fastcgi environment periodicaly get 90% of CPU
42701 Open       php4-cgi under fastcgi does not respect -d argument
===============================================[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)
===============================================[Compile Failure]==============
42807 Open       Can't find php_session.h if using non-standard location.
===============================================[Date/time related]============
42671 Open       ext/standard/tests/time/002.phpt fails due to AIX not supporting TZ=US/Eastern
===============================================[Documentation problem]========
29045 Suspended   gzopen for URL
36663 Open       unexpected difference between "zlib.output_compression" and "ob_gzhandler"
===============================================[FDF related]==================
34811 Assigned   fdf_get_value max size
===============================================[Feature/Change Request]=======
(Continue reading)

internals | 1 Oct 11:30 2007
Picon
Picon

[PHP-DEV] PHP 5 Bug Summary Report

 PHP 5 Bug Database summary - http://bugs.php.net

 Num Status     Summary (866 total including feature requests)
===============================================[*Configuration Issues]========
42294 Assigned   round will not use PHP_ROUND_FUZZ on 64bit CPUs
===============================================[*Directory/Filesystem functions]
35980 Assigned   touch() works on files but not on directories (on Linux this works perfectly)
41822 Assigned   include()/require() cause permission denied error (bug #39351 not fixed!)
42594 Open       fopen doesn't work with ocfs2 cdsl (ocfs2 == Oracle Cluster Filesystem 2)
42778 Open       realpath() adds trailing slash
===============================================[*General Issues]==============
38245 Assigned   File Upload Problem When magic_quotes_gpc = On
42722 Assigned   display_errors setting ignored for E_PARSE and HTTP 500 page
42749 Open       error_reporting() does not have any affect (sometimes)
42755 Open       date() returns incorrect time by +1 hour
===============================================[Apache related]===============
40661 Assigned   cwd is reset when shutdown handler runs
41531 Assigned   [PATCH] apache and apache_hooks config.w32 incorrect
===============================================[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
42404 Open       PHP drops APR_EGENERAL from ap_get_brigade
42473 Open       ob_start php://output and headers
42552 Open       apache_getenv() doesn't return value of SSL_CLIENT_S_DN_OU_n
42666 Open       virtual() causing Apache to segfault.
42779 Open       Incorrect forcing from HTTP/1.0 request to HTTP/1.1 response
===============================================[Arrays related]===============
35163 Assigned   Array elements can lose references.
42655 Open       array_walk_recursive() leaves references
===============================================[Bzip2 Related]================
(Continue reading)

internals | 1 Oct 12:00 2007
Picon
Picon

[PHP-DEV] PHP 6 Bug Summary Report

 PHP 6 Bug Database summary - http://bugs.php.net

 Num Status     Summary (62 total including feature requests)
===============================================[*General Issues]==============
26771 Suspended  register_tick_funtions crash under threaded webservers
===============================================[*Unicode Issues]==============
42163 Open       fgetcvs gives different output with and without Unicode
42731 Open       strcspn() gives incorrect output with mask as empty string with unicode on
42746 Open       '\u' char in single quotes gets interepreted.
===============================================[Apache2 related]==============
42209 Open       fail on make for sapi/apache2handler/apache_config.lo
===============================================[Arrays related]===============
35277 Suspended  incorrect recursion detection
41758 Assigned   SORT_LOCALE_STRING broken for sort() in PHP6
===============================================[Class/Object related]=========
33595 Assigned   recursive references leak memory
41461 Assigned   E_STRICT notice when overriding methods not defined by an Interface in hierarchy
===============================================[Compile Failure]==============
42606 Open       unicode/constants.c relies on ICU draft api
===============================================[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
(Continue reading)

Antony Dovgal | 1 Oct 12:39 2007

Re: [PHP-DEV] CVS Account Request: ab5602

On 01.10.2007 07:29, Robert Thompson wrote:
> Help debug and fix continuing issues with respect to PHP + Solaris.   
> In the position of debugging and fixing Solaris + PHP issues almost exclusively for my job. 
> In particular, I would like to contribute to code fixes and configuration checks for the 
> many issues PHP is facing with respect to Solaris's shifty getcwd() and realpath() bugs.

While I absolutely appreciate your effort to improve PHP's Solaris support 
(which is not in the best shape atm), I have to say that we usually do not give CVS accounts right away.
CVS account is not necessary for sending patches and discussing them in the list, 
which is the best way to make yourself known to the community.

Btw, I believe discussion would be required in most cases since Solaris problems affect quite major parts
of PHP.

So please send you patches to internals <at> lists.php.net, we'd be happy to discuss and apply them.

-- 
Wbr, 
Antony Dovgal

--

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Paul Biggar | 1 Oct 13:20 2007
Picon

[PHP-DEV] Re: Compiled variables and backpatching

Hi,

Stanislav wrote me a very useful reply to my CV questions. I wonder if
anyone has time to give me a quick note on backpatching, and what that
is?

On 9/23/07, Paul Biggar <paul.biggar <at> gmail.com> wrote:
> What is backpatching?
> Is it related to compiled variables, or are they different concepts?
> Why was backpatching necessary?
> Is this performance related, and what performance impact does backpatching have?

Thanks a lot,
Paul

-- 
Paul Biggar
paul.biggar <at> gmail.com

--

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Johannes Schlüter | 1 Oct 13:24 2007
Picon
Picon

Re: [PHP-DEV] T_IMPORT vs. T_USE

Hi Sebastiann et al.,

On Sun, 2007-09-30 at 18:06 +0200, Sebastian Bergmann wrote:
> When we removed the namespace implementation that was scheduled for
>  PHP 5.0 before PHP 5.0's release we kept the T_NAMESPACE and T_USE
>  tokens for forward-compatibility.

T_NAMESPACE is new, only T_USE wasn't removed back then. afaik. ;-)

>  The new namespace implementation in HEAD and PHP_5_3 uses the the new
>  T_IMPORT token instead of T_USE thus breaking code as "import" is now
>  a reserved word.
> 
>  We should, IMHO, drop T_IMPORT and change the namespace implementation
>  to use T_USE.
> 
>  Thoughts?

Well, import seems to be a word used quite often in PHP for method
names, after I found some code breaking I did a short test using
Google's Codesearch[1] to look for method calls using "->import(" and
got "about 300" results including major apps like horde, tikiwiki, typo3
and wordpress.

Therefor I think it's worth to at least think about using the already
reserved, but not used, keyword "use". From taking a look at the
language (the English one in this case ;-)) a sentence like "use
Namespace::SomeClass as SomeClass" makes perfect sense to me - but I
don't know much about the concept of Perl's (and other language's)
meaning of "use", BUT, we're neither Java nor Perl but PHP so we should
(Continue reading)

Dmitry Stogov | 1 Oct 13:25 2007

RE: [PHP-DEV] [patch] Late static bindings (LSB)

Hi Robin,

Thank you for catching this issue.
static:: make no sense in compile-time constants.
I've just forbidden it there.

Thanks. Dmitry.

> -----Original Message-----
> From: Robin Fernandes [mailto:rewbs.soal <at> gmail.com] 
> Sent: Friday, September 28, 2007 6:45 PM
> To: internals <at> lists.php.net
> Cc: Stanislav Malyshev; Baptiste Autin; Zoe Slattery; Dmitry 
> Stogov; Marcus Boerger; Lukas Kahwe Smith; Michael Lively; 
> Etienne Kneuss; Andi Gutmans
> Subject: Re: [PHP-DEV] [patch] Late static bindings (LSB)
> 
> 
> Sorry to persist with this, but I think it could be really 
> useful to clarify the meaning of static:: outside of method 
> bodies... particularly since parent:: and self:: can already 
> behave very strangely in such scenarios (see 
> http://news.php.net/php.internals/32443 ).
> 
> For example, I find the following behaviour with the current patch
> counter-intuitive:
> 
> <?php
> // NOTE: X is not related to A.
> class X  {
(Continue reading)

Alexey Zakhlestin | 1 Oct 13:30 2007
Picon

[PHP-DEV] substr/array_slice in []

Here http://www.php.net/~derick/meeting-notes.html#cleanup-for-vs is a
phrase "For both strings and arrays, the [] operator will support
substr()/array_slice() functionality"

will it appear in php5.x (php 5.3)?

-- 
Alexey Zakhlestin
http://blog.milkfarmsoft.com/

--

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Ilia Alshanetsky | 1 Oct 14:32 2007

Re: [PHP-DEV] substr/array_slice in []

This was not on the table and the time of the 5.3 discussion, I for  
one think its a bit too much magic.

On 1-Oct-07, at 7:30 AM, Alexey Zakhlestin wrote:

> Here http://www.php.net/~derick/meeting-notes.html#cleanup-for-vs is a
> phrase "For both strings and arrays, the [] operator will support
> substr()/array_slice() functionality"
>
> will it appear in php5.x (php 5.3)?
>
>
> -- 
> Alexey Zakhlestin
> http://blog.milkfarmsoft.com/
>
> -- 
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Ilia Alshanetsky

--

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


Gmane