HHVM compatibility: array sometimes can be Traversable
authorjaver <javer@argentum.ua>
Sun, 15 Sep 2013 18:42:04 +0000 (21:42 +0300)
committerjaver <javer@argentum.ua>
Sun, 15 Sep 2013 18:42:04 +0000 (21:42 +0300)
commitb1b1e3c3a9dcb2cef511169f825f0b0125a4e60c
treea7cc3c5b2a594f2b5a7ebf9a96bef138a68a42dd
parent4001f81a179e3971377ce1ac51b4ff9ea851b8ce
HHVM compatibility: array sometimes can be Traversable

All checks on instance of Traversable prepended with is_object check.

See facebook/hiphop-php#1034 for details.
lib/Twig/Extension/Core.php