[wp-trac] [WordPress Trac] #20296: WP_Query implements Countable

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 25 15:28:17 UTC 2012


#20296: WP_Query implements Countable
-----------------------------+------------------------------
 Reporter:  hakre            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |
-----------------------------+------------------------------
Changes (by GaryJ):

 * keywords:  has-patch => has-patch close


Comment:

 Although in the default compilation since PHP 5.0, until PHP 5.3 PHP can
 be compiled without the SPL, so it's not guaranteed to have the interface
 always present. I suspect that referencing a non-defined interface would
 cause a fatal error for those (few) that don't have the SPL compiled in
 PHP.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20296#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list