Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352855 - Anonymous function syntax unknown
Summary: Anonymous function syntax unknown
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-22 08:56 EDT by Anders Lindén CLA
Modified: 2020-05-14 11:36 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Lindén CLA 2011-07-22 08:56:42 EDT
Build Identifier: 20100617-1415

When I add this code:

$this->find('input')->each(function($element)
{
});

The IDE marks the 1st and the 2nd as having an error.

Reproducible: Always
Comment 1 Toshihiro Izumi CLA 2011-07-22 19:01:23 EDT
You need to set PHP Version (Preferences > PHP > PHP Interpreter) to "PHP 5.3".
Comment 2 Anders Lindén CLA 2011-07-23 07:39:26 EDT
Thanks for the information! So the bug is then that I can pick another php version than the last one!
Comment 3 Roy Ganor CLA 2011-07-26 08:56:13 EDT
please create another bug with a detailed workflow. I don't see where this bug is going to (we changed the default to 5.3 in PDT Indigo 3.0)
Comment 4 Kalin CLA 2011-07-27 07:30:52 EDT
No longer reproducible. Tested in PHP 5.3 project
Closing...