This only supports Php 5.3?

Comments

rszrama’s picture

As 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.

kaizerking’s picture

most 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

amateescu’s picture

Status: Active » Fixed

The PHP 5.3 requirement has been made official in this commit: http://drupalcode.org/project/entity_bundle_plugin.git/commitdiff/ae8692b

rszrama’s picture

Hah, 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.

amateescu’s picture

Well, that change introduced a usage of the Reflection class, which is not available in PHP 5.2 afaik :)

rszrama’s picture

Well there ya go. : D

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.