Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function type($num,$a) {
- if ( $num & 1 ) {
- echo position($num,$a).' digit is odd number<br/>';
- } else {
- echo position($num,$a).' digit is even number<br/>';
- }
- }
- $array = array(
- 'f1' => hint($a2,$a),
- 'f2' => type($a2,$a),
- 'f3' => len($a2,$a),
- );
- echo $array['f1'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement