3v4l.org

run code in 300+ PHP versions simultaneously
<?php $char_A_ring = "\xC3\x85"; // 'LATIN CAPITAL LETTER A WITH RING ABOVE' (U+00C5) $char_combining_ring_above = "\xCC\x8A"; // 'COMBINING RING ABOVE' (U+030A) $char_1 = normalizer_normalize( $char_A_ring, Normalizer::FORM_C ); $char_2 = normalizer_normalize( 'A' . $char_combining_ring_above, Normalizer::FORM_C ); echo urlencode($char_1); echo ' '; echo urlencode($char_2);
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.32, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
%C3%85 %C3%85
Output for 7.4.33
Fatal error: Uncaught Error: Call to undefined function normalizer_normalize() in /in/r07ij:5 Stack trace: #0 {main} thrown in /in/r07ij on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45
Fatal error: Call to undefined function normalizer_normalize() in /in/r07ij on line 5
Process exited with code 255.

preferences:
289.01 ms | 402 KiB | 416 Q