I have this code when I declaring function I have check if variable null or not null
with this code I have problem :
private function addDepartementField(FormInterface $form, ?Region $region) { .... }
problem is :
Parse Error: syntax error, unexpected '?', expecting variable (T_VARIABLE)
how to use ? in php 5 , I use php 5.6
thanks advanced