Lines Matching refs:echo
23 echo "Before binding", "\n";
24 $nonstaticUnscoped(); echo "\n";
25 $nonstaticScoped(); echo "\n";
27 echo "After binding, no instance", "\n";
28 $d = $nonstaticUnscoped->bindTo(null, "static"); $d(); echo "\n";
29 $d = $nonstaticScoped->bindTo(null, "static"); $d(); echo "\n";
33 echo "After binding, with same-class instance for the bound one", "\n";
34 $d = $nonstaticUnscoped->bindTo(new A, "static"); $d(); echo "\n";
35 $d = $nonstaticScoped->bindTo(new A, "static"); $d(); echo "\n";
37 echo "After binding, with different instance for the bound one", "\n";
38 $d = $nonstaticScoped->bindTo(new B, "static"); $d(); echo "\n";
40 echo "Done.\n";