Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-8159

PHP Lambda / Anonymous Functions Produces Syntax Error

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.4.2
    • Fix Version/s: None
    • Component/s: PHP
    • Environment:

      Windows 7 Pro 64bit

      Description

      Schema::create('router', function ($table)

      { $table->increments('id'); $table->timstamps(); }

      );

      False-positive syntax error. Oddly enough you can slowly move the syntax error down your code by deleting the last }); then re-adding it - provided you have the lambda/anonymous function encapsulated within a larger code base.

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              jspringe Joe Springe
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code