spyworld Posted May 22, 2017 Share Posted May 22, 2017 After upgrade to PHP 7.1, I receive an error message: Constant expression contains invalid operations pack("c*", 56, 94, 129, 23, 143, 52, 187, 82); Link to comment Share on other sites More sharing options...
requinix Posted May 22, 2017 Share Posted May 22, 2017 You cannot define a constant using const with an expression (such as a function call). Use define for a global constant or find another way to do what you want for a class constant. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.