Closed (fixed)
Project:
Entity bundle plugin
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Jul 2012 at 12:15 UTC
Updated:
9 Oct 2012 at 17:31 UTC
This only supports Php 5.3?
Comments
Comment #1
rszrama commentedAs of right now, yes, this requires PHP 5.3 because of an anonymous function defined on line 47. This can be replaced with a callback, though, to support 5.2 - that or we can just update the .info file to force the 5.3 requirement.
Comment #2
kaizerking commentedmost of the modules are designed and developed for 5.2, many hosting providers are not yet providing php 5.3 I think it would be advisable to provide a fallback 5.2
Comment #3
amateescu commentedThe PHP 5.3 requirement has been made official in this commit: http://drupalcode.org/project/entity_bundle_plugin.git/commitdiff/ae8692b
Comment #4
rszrama commentedHah, yeah, I would've agreed w/ kaizerking that this would be easy enough to make PHP 5.2 compatible, unless we have some better reason than just wanting to use an anonymous function to go 5.3.
Comment #5
amateescu commentedWell, that change introduced a usage of the Reflection class, which is not available in PHP 5.2 afaik :)
Comment #6
rszrama commentedWell there ya go. : D