3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t=\Transliterator::create('Any-Fold'); $str=$t->transliterate('Ὀδυσσεύς'); var_dump($str); $t2=\Transliterator::create('Any-Upper'); $str=$t2->transliterate($str); var_dump($str); $str=$t->transliterate($str); var_dump($str); ?>
based on eL4Sc
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to a member function transliterate() on null in /in/e3G0j:4 Stack trace: #0 {main} thrown in /in/e3G0j on line 4
Process exited with code 255.
Output for 5.6.0 - 5.6.28
Fatal error: Call to a member function transliterate() on null in /in/e3G0j on line 4
Process exited with code 255.
Output for 5.5.0 - 5.5.38
Fatal error: Call to a member function transliterate() on a non-object in /in/e3G0j on line 4
Process exited with code 255.