Modify

Opened 12 years ago

Closed 12 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 by TicketCleanup, 12 years ago

Version: 3.3.10.2

Automatic ticket cleanup.

comment:2 by Melba23, 12 years ago

Resolution: Rejected
Status: newclosed

Rejected.

M23

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.