Zend Weekly Summaries Issue #134
TLK: PHP in CVS
TLK: Status of 4.3.2 RC 2
TLK: building for hosting
NEW: get_class() for ZE2
NEW: stream filter patch
FIX: broken array pointer
TLK: PHP in CVS
Please note: if you are compiling the
development version of PHP from CVS, you will require the following:
- Flex version 2.5.4 (or 2.5.4a)
- Bison version 1.28, 1.35 or 1.75
Any other version of these pieces of software will ensure compilation errors.
Thanks to Sebastian Bergmann for that information.
TLK: Status of 4.3.2 RC 2
A brief discussion on the list is
pointing to the fact that the next release candidate for 4.3.2 is probably not very
far away. It seems there are only 9 issues remaining of the original 20 that were
targeted for fixing, so it is likely we will see the next RC soon.
TLK: building for hosting
Wez Furlong has pointed out an issue
for anyone compiling their own custom version of PHP, or using a code-compiled one
intended for hosting.
If you plan on having the following extensions available:
- Zlib
- Pcre
- Openssl
then it would be optimal to have them compiled directly into PHP, not as shared
extensions. Having them as shared extensions will result in reduced functionality in
the core of PHP.
NEW: get_class() for ZE2
Timm Friebe has made
"http://www.zend.com/lists/php-dev/200304/msg00355.html">a patch for Zend Engine 2
to be much more get_class friendly.
His code allows get_class to return the fully qualified class name, to avoid
confusion in situations like the following:
namespace Foo {
class Bar { }
}
namespace Baz {
class Bar { }
}
The fully qualified name will include the namespace if one is codesent.
NEW: stream filter patch
Moriyoshi Koizumi
"http://www.zend.com/lists/php-dev/200304/msg00334.html">has modified the stream_filter_append()
function to allow the use of an internal zval variable, instead of just a string.
This means it will be possible to pass arguments to the function that are of any
valid type without being limited to strings only.
At this time it is unknown as to whether or not this will be headed into either
4.3.X or 5.0.
FIX: broken array pointer
Bug 23195 documents the following problem as causing an infinite loop:
<?php
$arr = array('a', 'b');
while (each($arr)) $arr2 = $arr;
?>
This is due to the fact that if an array is being copied, its internal pointer to
the current value is reset to the first value. Ilia has come up with
"http://www.zend.com/lists/php-dev/200304/msg00415.html">a fix that stops this
from happening, but it is not yet final as to whether or not it will be included
due to backwards compatibility issues – which might better be solved via the manual.

