Paste Search Dynamic
platform channel array
  1. <?php
  2.  
  3. // your code goes here
  4. $platform = 1;
  5. $channel = array('iOS', 'Android')[$platform];
  6. echo $channel;
  7.  
  8.  
  9. ?>
Parsed in 0.004 seconds