PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > Late static binding
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Late static binding

Réponse
 
LinkBack Outils de la discussion
Vieux 26/03/2008, 16h58   #1
Jeremy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Late static binding

I was reading through the manual looking for other things, and I
stumbled on this new entry in the OOP5 documentation:

http://www.php.net/manual/en/languag...c-bindings.php

This is really awesome, and solves a lot of redundant redefinitions I've
had to do in child classes. I just wanted to alert anyone who is
unaware (as I was) of this new feature that's coming in 5.3. Now I'm
pretty stoked on 5.3 being released (although even when it is released,
it will be ages before it makes it into debian stable. D'oh!)

Jeremy
  Réponse avec citation
Vieux 26/03/2008, 17h22   #2
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Late static binding

On Wed, 26 Mar 2008 16:58:52 +0100, Jeremy <jeremy@pinacol.com> wrote:

> I was reading through the manual looking for other things, and I
> stumbled on this new entry in the OOP5 documentation:
>
> http://www.php.net/manual/en/languag...c-bindings.php
>
> This is really awesome, and solves a lot of redundant redefinitions I've
> had to do in child classes. I just wanted to alert anyone who is
> unaware (as I was) of this new feature that's coming in 5.3. Now I'm
> pretty stoked on 5.3 being released (although even when it is released,
> it will be ages before it makes it into debian stable. D'oh!)



Yup, awaited with anticipation.
--
Rik Wasmus
  Réponse avec citation
Vieux 26/03/2008, 17h39   #3
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Late static binding

..oO(Jeremy)

>I was reading through the manual looking for other things, and I
>stumbled on this new entry in the OOP5 documentation:
>
>http://www.php.net/manual/en/languag...c-bindings.php


This and namespaces are the two most important new features in PHP 5.3
that were "backported" from PHP 6.

>This is really awesome, and solves a lot of redundant redefinitions I've
>had to do in child classes. I just wanted to alert anyone who is
>unaware (as I was) of this new feature that's coming in 5.3. Now I'm
>pretty stoked on 5.3 being released


Should be around April or May, AFAIK.

>(although even when it is released,
>it will be ages before it makes it into debian stable. D'oh!)


Compile your own, it's not that difficult. I'm already playing around
with a 5.3 snapshot, but there are still some nasty bugs in it ...

Micha
  Réponse avec citation
Vieux 26/03/2008, 20h46   #4
Jeremy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Late static binding

Michael Fesser wrote:
> .oO(Jeremy)
>
>> I was reading through the manual looking for other things, and I
>> stumbled on this new entry in the OOP5 documentation:
>>
>> http://www.php.net/manual/en/languag...c-bindings.php

>
> This and namespaces are the two most important new features in PHP 5.3
> that were "backported" from PHP 6.
>


Namespaces are coming to 5.3 as well? That is great news. Yeah, now I
see that they added a new entry for that as well. Sweet!

> <snip>
>
> Compile your own, it's not that difficult. I'm already playing around
> with a 5.3 snapshot, but there are still some nasty bugs in it ...
>
> Micha


Yeah, I have no problem with compiling it. But for our production
servers we've long since decided to stick with debian's stable packages
for reliability's sake. Maybe I'll make a package of 5.3 when the
source is released and secretly deploy it without telling anyone ;-)

Jeremy

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h22.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11269 seconds with 12 queries