fork download
  1. <?php
  2.  
  3. $arr = range('A', 'Z');
  4. $item_remover = array_search('Y', $arr);
  5. unset($arr[$item_remover]);
  6.  
  7. echo implode(', ', $arr);
Success #stdin #stdout 0.01s 24400KB
stdin
Standard input is empty
stdout
A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Z