|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #54123 Built-in LINQ-style query support for objects
Submitted: 2011-02-28 21:23 UTC Modified: 2018-03-26 14:57 UTC
Avg. Score:4.4 ± 0.8
Reproduced:2 of 3 (66.7%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: dave dot mulford at gmail dot com Assigned:
Status: Suspended Package: *Database Functions
PHP Version: 5.3.6RC1 OS: Linux / Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
50 - 42 = ?
Subscribe to this entry?

 [2011-02-28 21:23 UTC] dave dot mulford at gmail dot com
Having a php native LINQ-style of querying objects in PHP would make code more maintainable and readable. As of now, developers must loop through an array of objects and perform manual filtering, grouping, etc.

Here is a link to Microsoft's examples of using LINQ:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-02 14:25 UTC] id2639730 at gmail dot com
+1 for this feature. I would like to have the support custom LINQ provider like c# LinqToSql, LinqToXML, etc...
 [2012-12-02 16:00 UTC] dave dot mulford at gmail dot com
I had forgotten all about this request. If you're interested in trying it out, I 
have started a php LINQ project, called php-iq. Here is the github link for it:
 [2013-08-04 07:51 UTC] tomas dot madajevas at gmail dot com
 [2018-03-26 14:57 UTC]
-Status: Open +Status: Suspended
 [2018-03-26 14:57 UTC]
This would be a considerable feature addition, and as such
requires the RFC process[1].  Anybody is welcome to start it.  For
the time being, I'm suspending this ticket.

[1] <>
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Nov 27 00:03:13 2021 UTC