rfc:counterargument:deprecate_php_short_tags

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:counterargument:deprecate_php_short_tags [2019/08/05 23:08] – Add another reason to keep short tags zeevrfc:counterargument:deprecate_php_short_tags [2019/08/05 23:09] (current) zeev
Line 65: Line 65:
 === Reason #2:  Short tags are de-facto opt-in === === Reason #2:  Short tags are de-facto opt-in ===
  
-Even though short tags are enabled by default in most PHP binaries - in practice, they are disabled by default via configuration in virtually all mainstream PHP distributions.  This includes PHP in all mainstream Linux distros, XAMPP, macOS - and any distribution that uses one of the recommended INI files.  This means that in practice, users who want to use short tags need to take a concrete step to enable them - making it a lot less likely that they would be using them unintentionally in code that is meant to be portable.+Even though short tags are enabled by default in most PHP binaries - in practice, they are disabled by default via configuration in virtually all mainstream PHP distributions.  This includes PHP in all mainstream Linux distros, XAMPP, macOS - and any distribution that uses one of the recommended INI files. 
 + 
 +In practice, it means that users who want to use short tags need to take a concrete step to enable them - making it a lot less likely that they would be using them unintentionally in code that is meant to be portable.
  
 === Reason #3:  Removing short tags would bring needless headache to our users === === Reason #3:  Removing short tags would bring needless headache to our users ===
rfc/counterargument/deprecate_php_short_tags.txt · Last modified: 2019/08/05 23:09 by zeev