Zend PHP 5.3 Certification Exam


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  • Question 3/34

    You run the following PHP script:

    
    <?php class Test {
      function __call$var1$var2 ) {
              $check " '$var1' called\n";
              $check.= print_r$var2true );
           return $check;
         }
    }
    $item = new Test();
    print $item->array"John""Maria""Jason" );
    ?>
    
    
    What is the work of the __call() method in the above script?