When using
echo datefmt_create("en_US" ,IntlDateFormatter::FULL,IntlDateFormatter::FULL);
I got a call to undefined function error.
It was working fine on another machine with the same PHP version, I also tried to print phpinfo()
and it has no section of "intl"
adding php to the path in system variable solved the issue
steps: right click my computer -> advanced system settings -> then click environment variables button -> then in system variables find the path item and add your php.exe parent folder to it in my case it was "C:\wamp\bin\php\php5.5.12"