Lines Matching refs:b
7 function plus($a, $b) { argument
8 return $a + $b;
15 function minus($a, $b) { argument
16 return $a - $b;
23 function print_infix($name, $a, $b) { argument
24 return "$a $name $b";
27 function print_prefix($name, $a, $b) { argument
28 return "$name($a, $b)";
45 $b = isset($c[2]) ? $c[2]($a) : mt_rand(0, 9);
46 $bn = NUMS[$b];
61 $b = array_search($bn, NUMS, false);
63 if (empty($c) || $a === false || $b === false) return false;
65 return (NUMS[$c[0]($a, $b)] === $answer);