if else if php code reflect

Solutions on MaxInterview for if else if php code reflect by the best coders in the world

showing results for - "if else if php code reflect"
Charissa
17 Oct 2020
1<?php
2$a = [
3'Canceled' => 1,
4'Traded / Filled'=> 2,
5'(Not used currently)'=> 3,
6'Transit'=> 4,
7'Rejected'=> 5,
8'Pending'=> 6,
9];
10echo array_search("5",$a);
11?>
12