3 ms·
So how do you go about using this in both PHP5 and PHP7 at the same time? Do you need to run a pre-processor to strip them out of the code that runs on PHP5, w
by ZeroGravitas 12y ago
So how do you go about using this in both PHP5 and PHP7 at the same time?
Do you need to run a pre-processor to strip them out of the code that runs on PHP5, while getting the benefit for testing on PHP7?
Trying it naively, PHP5 thinks you want to use a class called "int". And doesn't like the : for the return value.