Advertisement
Guest User

Untitled

a guest
Sep 24th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. function type($num,$a) {
  2. if ( $num & 1 ) {
  3. echo position($num,$a).' digit is odd number<br/>';
  4. } else {
  5. echo position($num,$a).' digit is even number<br/>';
  6. }
  7. }
  8.  
  9. $array = array(
  10. 'f1' => hint($a2,$a),
  11. 'f2' => type($a2,$a),
  12. 'f3' => len($a2,$a),
  13. );
  14.  
  15. echo $array['f1'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement