Details

    • Type: Technical task
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.2.0
    • Fix Version/s: None
    • Component/s: Content Assist, PHP
    • Labels:
      None

      Description

      This task is for adding the '__invoke' suggestion when declaring a function.

      PHP 5.4 now supports treating objects as functions.
      For example:

      <?php
      class MyClass{  
          function __invoke() {
              return print('hello!'); 
          }
      }
      $mine= new MyClass();
      echo $mine(); // Outputs: 'hello!'
      ?>
      

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              sgibly Shalom Gibly
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration