Re: ${} Variables Variables

From: Date: Wed, 20 Mar 2002 01:46:43 +0000
Subject: Re: ${} Variables Variables
References: 1 2 3  Groups: php.general.es 
Request: Send a blank email to general-es+get-20569@lists.php.net to get a copy of this message
Dimecres 20 Març 2002 01:55, seoane dixit: > Alguien sabe si en la version 3 de PHP se pueden usar las variables > variables no he encontrado ningun > comentario hacerca de eso pero no funciona en la version 3, pero en la > version 4 si. Puedes ver en http://www.zend.com/zend/whats-new.php la lista de novedades de PHP 4. Puede leerse al final de la página: Variable assignment by reference PHP 4.0 supports variable assignment by reference, that is, "linking" two variables such that when the value of either of the variables is changed (assigned), the value of the other variable is likewise changed. Variable reference within quoted strings PHP 4.0 enables full variable referencing within quoted strings. For example you can do the following, which was not possible in PHP 3.0: print "${a[0]->bingo}"; La lista completa de novedades que se han ido añadiendo a las diversas versiones de PHP 4 la tienes aquí: http://www.php.net/ChangeLog-4.php Saludos Àngel

« previous php.general.es (#20569) next »