3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Canonical. $latin_A_with_ring_above = "\xc3\x85"; // Not Canonical. $Angstrom = "\xE2\x84\xAB"; var_dump( $latin_A_with_ring_above, $Angstrom, normalizer_is_normalized($latin_A_with_ring_above), normalizer_is_normalized($Angstrom), bin2hex($latin_A_with_ring_above), bin2hex($Angstrom), bin2hex(normalizer_normalize($latin_A_with_ring_above)), bin2hex(normalizer_normalize($Angstrom)) );
based on 3X3cH
Output for 5.4.36 - 5.5.28, 5.5.31 - 5.5.33, 5.5.35 - 5.6.12, 5.6.16 - 5.6.19, 5.6.21 - 7.0.4, 7.0.6 - 7.2.6
string(2) "Å" string(3) "Å" bool(true) bool(false) string(4) "c385" string(6) "e284ab" string(4) "c385" string(4) "c385"
Output for 7.0.5
Fatal error: Uncaught Error: Call to undefined function normalizer_is_normalized() in /in/mosfi:9 Stack trace: #0 {main} thrown in /in/mosfi on line 9
Process exited with code 255.
Output for 5.0.0 - 5.4.35, 5.5.29 - 5.5.30, 5.5.34, 5.6.13 - 5.6.15, 5.6.20
Fatal error: Call to undefined function normalizer_is_normalized() in /in/mosfi on line 12
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: normalizer_is_normalized() in /in/mosfi on line 12
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: normalizer_is_normalized() in /in/mosfi on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: normalizer_is_normalized() in /in/mosfi on line 12