7 function rx_local($fn)[rx_local
] {
11 function rx_shallow($fn)[rx_shallow
] {
15 function rx($fn)[rx
] {
19 function pure($fn)[] {
25 $functions = vec
['non_rx', 'rx_local', 'rx_shallow', 'rx', 'pure'];
26 foreach ($functions as $caller) {
27 foreach ($functions as $callee) {
30 echo "$caller -> $callee: ok\n";
31 } catch (Exception
$e) {
32 echo "$caller -> $callee: ".$e->getMessage()."\n";