|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: dave dot mulford at gmail dot com
New email:
PHP Version: OS:


 [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: Wed Dec 01 16:03:34 2021 UTC