> 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
- [PHP-DEV] Deprecate declare(encoding='...') + zend.mult... Hans Henrik Bergan
- Re: [PHP-DEV] Deprecate declare(encoding='...') + ... Claude Pache
- Re: [PHP-DEV] Deprecate declare(encoding='...'... Kamil Tekiela
- Re: [PHP-DEV] Deprecate declare(encoding='...'... Dusk
- Re: [PHP-DEV] Deprecate declare(encoding='... Kamil Tekiela
- Re: [PHP-DEV] Deprecate declare(encodi... Claude Pache
- Re: [PHP-DEV] Deprecate declare(e... Hans Henrik Bergan
- Re: [PHP-DEV] Deprecate decla... Hans Henrik Bergan
- Re: [PHP-DEV] Deprecate d... youkidearitai
- Re: [PHP-DEV] Deprecate d... Hans Henrik Bergan
- Re: [PHP-DEV] Deprecate d... youkidearitai
- Re: [PHP-DEV] Deprecate d... Hans Henrik Bergan
- Re: [PHP-DEV] Deprecate d... Hans Henrik Bergan
- Re: [PHP-DEV] Deprecate d... youkidearitai
- Re: [PHP-DEV] Deprecate d... youkidearitai
- Re: [PHP-DEV] Deprecate d... Hans Henrik Bergan