Unicode variable names: Difference between revisions

No edit summary
Line 147:
 
UTF-8 uses ASCII values for bytes which can be represented as ASCII and as result it's possible to insert <code>&lt;?php</code> mark at beginning. PHP sees your document as some 8-bit encoding (like ISO-8859-1), but it doesn't matter because UTF-8 doesn't use ASCII ranges for its values and calls to the variable are consistent.
 
Documentation: [http://php.net/manual/en/mbstring.php4.req.php http://php.net/manual/en/mbstring.php4.req.php], [http://php.net/manual/en/language.variables.basics.php http://php.net/manual/en/language.variables.basics.php]
 
<lang php><?php
Anonymous user