"{$object->method()}" -calls
-
Eero af Heurlin
"{$object->method()}" -calls
Mon October 06 2008 08:30:18 UTC-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Are forbidden as per coding standards, use the proper concatenation:
"someting {$somevar} " . $object->method() . " more";
There are two major reasons for this:
1. code readability
2. backporting: branch-28 needs to be able to support php4 on the core
level and no component may cause syntax error by loading the interface
class (ie autoload_files may not call anything that uses php5-only syntax).
/Eero
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI6cyak2FlZlXdE74RA9+lAKCqIezMuZ0cQKyIfPwuRCZTZnnSvQCgkaIT
+EGOI6nJqVB72FbNv869nt4=
=+sCB
-----END PGP SIGNATURE-----
_______________________________________________
dev mailing list
dev@lists.midgard-project.org
http://lists.midgard-project.org/mailman/listinfo/dev
