> Le 28 nov. 2023 à 20:56, Kamil Tekiela <tekiela...@gmail.com> a écrit :
> 
>> Convert your PHP source files to UTF-8.
> 
> If the solution is as easy as just converting the encoding of the
> source file, then why did we even need to have this setting at all?
> Why did PHP parser support encodings that demanded the introduction of
> this declare?

It is not necessary as simple: because your code base may contain literal 
strings, and changing the encoding of the source file will effectively change 
the contents of the strings.

—Claude

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to