peterlck / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

callable() conflicts with "callable" keyword introduced by PHP 5.4 #172

Closed GoogleCodeExporter closed 10 years ago

GoogleCodeExporter commented 10 years ago
From "Amjad Mohamed" <andhos@gmail.com>

Hamcrest fails with the following error. Apparently a token called 'callable' 
has been introduced which conflicts with Hamcrest's callable function.

PHP Parse error:  syntax error, unexpected 'callable' (T_CALLABLE), expecting 
identifier (T_STRING) or '(' in /usr/share/php/Hamcrest/hamcrest.php on line 390

Original issue reported on code.google.com by dharkn...@gmail.com on 20 Jan 2012 at 6:44