At 01:23 23/08/2005, Rasmus Lerdorf wrote:
Greg Beaver wrote:
I just synced php-src/pear (PHP_5_0/PHP_5_1/PHP_4_4) with pear-core
(PEAR_1_3). May god bring the day when this is no longer necessary
sooner rather than later.
We'll get there. But we can't kill the 5.0 tree until we have a 5.1
On Tue, 23 Aug 2005, Zeev Suraski wrote:
At 01:23 23/08/2005, Rasmus Lerdorf wrote:
Greg Beaver wrote:
I just synced php-src/pear (PHP_5_0/PHP_5_1/PHP_4_4) with pear-core
(PEAR_1_3). May god bring the day when this is no longer necessary
sooner rather than later.
We'll get there.
On Tue, 23 Aug 2005, Lukas Smith wrote:
As for PHP 4.x I would expect that one to end sometimes in the first
part of next year.
Heh, no way :)
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
--
PHP Internals - PHP Runtime Development Mailing
Zeev Suraski wrote:
At 01:23 23/08/2005, Rasmus Lerdorf wrote:
Greg Beaver wrote:
I just synced php-src/pear (PHP_5_0/PHP_5_1/PHP_4_4) with pear-core
(PEAR_1_3). May god bring the day when this is no longer necessary
sooner rather than later.
We'll get there. But we can't kill the
Zeev Suraski wrote:
At 01:23 23/08/2005, Rasmus Lerdorf wrote:
Greg Beaver wrote:
I just synced php-src/pear (PHP_5_0/PHP_5_1/PHP_4_4) with pear-core
(PEAR_1_3). May god bring the day when this is no longer necessary
sooner rather than later.
We'll get there. But we can't kill the 5.0
Derick Rethans wrote:
As for PHP 4.x I would expect that one to end sometimes in the first
part of next year.
Heh, no way :)
It would be nice if updates to PHP4 tree did not introduce changes that
require all backwards compatible PHP5 code to be re-tested with PHP4 and
changes made!
MW function adder($a) {return function($b) {return $a+$b;}}
As opposed to:
function adder($a) { return create_function('$b', 'return
'.(integer)$a.'+$b;'); }
Former form may be a bit prettier, but no substantial difference here.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL
GS1) syntactical: the amount of escaping/funkyjunk you need to do to
GShave anonymous functions look like regular functions in their
GSdeclaration is huge (yes, you can use heredocs, but they have their
GS(big if you run up against them) limitations as well).
Well, this is right and valid,
At 11:00 23/08/2005, Derick Rethans wrote:
On Tue, 23 Aug 2005, Zeev Suraski wrote:
At 01:23 23/08/2005, Rasmus Lerdorf wrote:
Greg Beaver wrote:
I just synced php-src/pear (PHP_5_0/PHP_5_1/PHP_4_4) with pear-core
(PEAR_1_3). May god bring the day when this is no longer necessary
On Tue, 23 Aug 2005, Zeev Suraski wrote:
Look, I take no joy at committing to 4 branches any more than anybody else,
but let's be realistic here. The branch isn't going anywhere, and 5.0, which
was the best PHP version we offered as of mid 2004, will have to be supported
for critical fixes
Zeev Suraski wrote:
Look, I take no joy at committing to 4 branches any more than anybody
else, but let's be realistic here. The branch isn't going anywhere, and
5.0, which was the best PHP version we offered as of mid 2004, will have
to be supported for critical fixes for quite some time.
At 14:05 23/08/2005, Edin Kadribasic wrote:
Zeev Suraski wrote:
Look, I take no joy at committing to 4 branches any more than anybody
else, but let's be realistic here. The branch isn't going anywhere, and
5.0, which was the best PHP version we offered as of mid 2004, will have
to be
At 11:44 23/08/2005, Rasmus Lerdorf wrote:
I agree 4.4.x will live a long time due to the installed base and BC
problems going from 4 to 5. But I think 5.0 can go away once we get a
couple of releases into 5.1.x. The 5.0 installed base is small and the
5.0 to 5.1 migration is not difficult.
Hello everyone.. I woke up this morning with an idea, that I think would be
useful: a BC break list. I think that could benefit alot of people, and I
don't think it would be that much work to implent (I can do the scripting if
noone else cares to). I would need some input from you guys though,
:
http://files.derickrethans.nl/e_fatal-20050823.diff.txt
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
DvDmanDT wrote:
Hello everyone.. I woke up this morning with an idea, that I think would be
useful: a BC break list. I think that could benefit alot of people, and I
don't think it would be that much work to implent (I can do the scripting if
noone else cares to). I would need some input from
I would like to see Multiple Inheritance implemented in a future version. I
am not sure what obstacles got in the way (if any) for not implementing that
in PHP 5 but i would defenately like to see that in PHP 6 or 7
--
Joseph Crawford Jr.
Codebowl Solutions, Inc.
1-802-671-2021
[EMAIL
On 8/22/05, Stanislav Malyshev [EMAIL PROTECTED] wrote:
MB * Anonymous functions. The real stuff, not just some odd string
MB passed to create_function().
MB
MBThere were some others already asking for this, maybe we should at least
MBgive it a thought if it is doable at all, anybody?
Just
Comments / impl suggestions please.
TIA,
Rolland
--
[1] string substr_replace(string original, string new, int start[, int
length])
Returns string where original[start..length] is replaced with
new. Input args can be arrays, in which case case the operation is:
substr_replace(original[i],
Joseph Crawford wrote:
I would like to see Multiple Inheritance implemented in a future version. I
am not sure what obstacles got in the way (if any) for not implementing that
in PHP 5 but i would defenately like to see that in PHP 6 or 7
And if we had implemented MI, that would probably go
-Original Message-
From: Michael Walter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 23, 2005 10:18 AM
To: Stanislav Malyshev
Cc: Marcus Boerger; internals@lists.php.net
Subject: Re: [PHP-DEV] Re: PHP 6.0 Wishlist
On 8/22/05, Stanislav Malyshev [EMAIL PROTECTED] wrote:
On Aug 22, 2005, at 10:48 PM, Tex Texin wrote:
One more comment- We should take into account that most data will not
use combining characters and should optimize for that case.
Most text will consist of solely characters with combining class = 0.
We can therefore scan backwards, copying
I've got a one-line fix to allow internal functions to return by reference.
What happens currently is if (*return_value_ptr)-refcount = 2 at the end
of an internal function, then the _get_zval_ptr_ptr_var delrefs it down to
refcount==1 (removing is_ref in the process). With userspace functions
At 19:12 23/08/2005, Lukas Smith wrote:
Joseph Crawford wrote:
I would like to see Multiple Inheritance implemented in a future version.
I am not sure what obstacles got in the way (if any) for not implementing
that in PHP 5 but i would defenately like to see that in PHP 6 or 7
IIRC, it was
At 09:18 23/08/2005, Michael Walter wrote:
On 8/22/05, Stanislav Malyshev [EMAIL PROTECTED] wrote:
MB * Anonymous functions. The real stuff, not just some odd string
MB passed to create_function().
MB
MBThere were some others already asking for this, maybe we should at
least
MBgive it a
Hello George,
Monday, August 22, 2005, 9:53:02 PM, you wrote:
On Aug 22, 2005, at 2:08 PM, Stanislav Malyshev wrote:
MB * Anonymous functions. The real stuff, not just some odd stringĀ
MB passed to create_function().
MB
MBThere were some others already asking for this, maybe we should at
Hello Zeev,
Tuesday, August 23, 2005, 8:59:49 PM, you wrote:
At 19:12 23/08/2005, Lukas Smith wrote:
Joseph Crawford wrote:
I would like to see Multiple Inheritance implemented in a future version.
I am not sure what obstacles got in the way (if any) for not implementing
that in PHP 5 but i
Hello Rob,
what we need here is a temp hash table to store the names. var_dump would
grep them through get_properties...
Friday, August 19, 2005, 9:34:54 PM, you wrote:
There isn't a single method in DOM for this - have to write code to do
it. get_properties was not implemented in DOM due
At 18:47 23/08/2005, Dmitry Stogov wrote:
function adder($a) {return function($b) {return $a+$b;}}
function index($i) {return function($a) {return $a[$i];}}
I'm sure you can think of useful examples.
I like this syntax and expected behavior.
The only problem is implementation.
That's
On Aug 23, 2005, at 8:23 AM, Rolland Santimano wrote:
[1] string substr_replace(string original, string new, int start[, int
length])
Returns string where original[start..length] is replaced with
new. Input args can be arrays, in which case case the operation is:
substr_replace(original[i],
Likelihood is that we will have to release new versions of PHP 5.0
due to security issues. That said, I don't think we need to maintain
it far beyond that unless there's something exceptional.
Andi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
aborted. Major exceptions here
are ext/hwapi, ext/soap, ext/simplexml and ext/ming. These need to be
fixed. In some cases I added RETURN_FALSE or return.
I also updated some test cases. You can find the patch here:
http://files.derickrethans.nl/e_fatal-20050823.diff.txt
Derick
--
Derick Rethans
http
Zeev,
My only gripe with create_function() is the inherent dirt involved
in handing a code-containing string to a function. I've been living
in the app development world for some time now, so my example stash
is clean out, but my notion is that, for folks who have a real, novel
Guys,
Anonymous functions are really a niche feature and tend to lead to
pretty magical code. I really don't think that it's an important
enough feature which would be usable to the mainstream PHP users.
We really need to get a grip on the new features and not
overcomplicate the language.
We'll take a look at it as this should actually work today. As to
back porting, I don't think we should touch the stable branches.
Andi
At 11:47 AM 8/23/2005, Sara Golemon wrote:
I've got a one-line fix to allow internal functions to return by reference.
What happens currently is if
Again (I sound like a broken record), I don't think that we should
add language constructs to support delegation. We will be
overcomplicating things for PHP developers and it'll start to be hard
to read PHP code.
I do think it might be worth considering a user-land or internal
class such as a
We'll take a look at it as this should actually work today.
That's what I'd thought coming into this, but all my attempts to return a
reference failed:
My Arg Info struct:
static
ZEND_BEGIN_ARG_INFO_EX(php_sample_retref_arginfo, 0, 1, 0)
ZEND_END_ARG_INFO()
My reference linking:
if
OK thanks for the additional info. Will take a look.
At 05:05 PM 8/23/2005, Sara Golemon wrote:
We'll take a look at it as this should actually work today.
That's what I'd thought coming into this, but all my attempts to return a
reference failed:
My Arg Info struct:
static
There's some commented out code in there that refers to bug 34045:
/* We shouldn't fix bad extensions here,
because it can break proper ones (Bug #34045)
if (!EX(function_state).function-common.return_reference) {
EX_T(opline-result.u.var).var.ptr-is_ref = 0;
This looks good. When the unicode_semantics switch is turned on, it
provides Unicode everywhere development solution to PHP developers.
The output, input, and script encodings are all utf-8 by default.
The internal encoding is utf-16 which allows developers to handle
surrogate pairs correctly.
I
://files.derickrethans.nl/e_fatal-20050823.diff.txt
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Internals - PHP Runtime Development Mailing List
Zeev,
On 8/23/05, Zeev Suraski [EMAIL PROTECTED] wrote:
Real anonymous functions (as in, closures) should be able to capture
variables from its lexical environment, e.g.:
create_function() accepts a string, and that string is constructed with
full access to the lexical scope of the creating
Zeev,
On 8/24/05, Michael Walter [EMAIL PROTECTED] wrote:
On 8/23/05, Zeev Suraski [EMAIL PROTECTED] wrote:
Real anonymous functions (as in, closures) should be able to capture
variables from its lexical environment, e.g.:
create_function() accepts a string, and that string is
43 matches
Mail list logo