My installation of Yii2 went well, I am running the local server with xampp.
Upon going to requirements.php, I have noticed this error:
Notice: Use of undefined constant INTL_ICU_VERSION - assumed ‘INTL_ICU_VERSION’ in C:\xampp\htdocs\project\vendor\yiisoft\yii2\requirements\requirements.php on line 67
I cannot find a great help online apart from websites that have the same error, any idea what this is please?
You’ll have to install the intl php extension.
However, the requirement checker should not show this notice, at least a check against the existence of that constant should be made, i.e:
'condition' => defined('INTL_ICU_VERSION') && version_compare(INTL_ICU_VERSION, '49', '>='),
So this also seems like a bug.
Ok I sorted it following those steps: