Modify ↓
Opened 11 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: |
Description
Hi.
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 : http://www.autoitscript.com/forum/topic/157535-ternary-operator-clarification-1-0-b-0-b-1/page-2#entry1142730
And Miss trancexx explain the advantages in messages following the request.
Attachments (0)
Change History (2)
comment:1 Changed 11 years ago by TicketCleanup
- Version 3.3.10.2 deleted
comment:2 Changed 10 years ago by Melba23
- Resolution set to Rejected
- Status changed from new to closed
Rejected.
M23
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.
Note: See
TracTickets for help on using
tickets.
Automatic ticket cleanup.