Jump to content

php shorthand


Ninjakreborn

Recommended Posts

[!--quoteo(post=371061:date=May 3 2006, 03:45 PM:name=kenrbnsn)--][div class=\'quotetop\']QUOTE(kenrbnsn @ May 3 2006, 03:45 PM) [snapback]371061[/snapback][/div][div class=\'quotemain\'][!--quotec--]
The ".=" is not shorthand, but a defined way of using the operator. Just like "+=", "-=", "++", "--".

Use the language as it is defined and you will be fine.

Ken
[/quote]

ken is correct. And in regards to shorthand, I would say it is better practice not to use it if you plan to write something that may run on diferent servers in the future, where you may not have access to the PHP configuration.
Link to comment
https://forums.phpfreaks.com/topic/9006-php-shorthand/#findComment-33117
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.