<?php function convData($i){ } echo convData('21/04/2017'); echo '-----'; echo convData('2017/04/21');
Standard input is empty
2017/04/21-----21/04/2017
PHP Notice: Only variables should be passed by reference in /home/VTibjw/prog.php on line 5 PHP Notice: Only variables should be passed by reference in /home/VTibjw/prog.php on line 5