Opened 10 years ago

Closed 10 years ago

#2620 closed Feature Request (Rejected)

Ternary operator and php 5.3 sugar syntax

Reported by: Tlem Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


Is it possible to use the sugar syntax for ternary operateur like in php 5.3?

$c = $a ? $a : $b

can be write like this :

$c = $a ?: $b

The subject was discussed here :
And Miss trancexx explain the advantages in messages following the request.

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by TicketCleanup

  • Version deleted

Automatic ticket cleanup.

comment:2 Changed 10 years ago by Melba23

  • Resolution set to Rejected
  • Status changed from new to closed



Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.