Re[2]: [PHP-ES] Declarar variables
| From: | Julio | Date: | Tue, 18 Sep 2001 10:35:53 +0000 |
| Subject: | Re[2]: [PHP-ES] Declarar variables | ||
| References: | 1 2 3 4 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-13938@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5
Hola Angel,
Monday, September 17, 2001, 11:16:39 PM, you wrote:
>> Existe alguna manera de 'obligar' la declaracion de variables ? Es decir el
>> equivalente al 'option explicit' de VB ??
AF> En PHP las variables no se declaran, ni siquiera voluntariamente, o sea que
AF> tampoco puede obligarse.
Si pones la variable error_reporting=15 en el PHP.INI, ya veras
como 'te obligas' a declararlas... XD
- --
Hasta Luego,
Julio mailto:julio@masbytes.es
MasBytes,SL http://www.masbytes.es
(+34) 902 15 29 15 - 948 84 80 31
FAX (+34) 948 84 81 58
Tudela - SPAIN
-----BEGIN PGP SIGNATURE-----
Version: 2.6
iQCVAwUAO6cji7NYh6RcF7s1AQE7wwP/etqStFfI78XDpFwPr40rmM0m0wgRy0WL
6X4p8vTK3rnC/FjMHCLFnW4bFnLEU8z0GvBfChtqBW3mlT3UT6oEExLcL5z3Gk0X
Tg4SvL8AavH1FBWoLHtikWnKyBDSCSxqVY1k0lS7KQDSg1flAvcLdiZOOMRbDp6I
HWF6R4aAKlw=
=rDMI
-----END PGP SIGNATURE-----