3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'pkrzysztofik'; $nazwisko = substr($string, 1); echo ucfirst($imie);
based on M6Idv
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
Notice: Undefined variable: imie in /in/4Jpnh on line 7
Output for hhvm-3.12.14 - 3.17.3
Notice: Undefined variable: imie in /in/4Jpnh on line 7 Warning: ucfirst() expects parameter 1 to be string, null given in /in/4Jpnh on line 7