3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function ಠ_ಠ(string $ಠ_ಠ) { var_dump($ಠ_ಠ); } $ಠ_ಠ = 'ಠ_ಠ'; ಠ_ಠ($ಠ_ಠ);
based on J6A32
Output for 7.0.0 - 7.2.0
string(7) "ಠ_ಠ"
Output for 5.3.19 - 5.6.28
Catchable fatal error: Argument 1 passed to ಠ_ಠ() must be an instance of string, string given, called in /in/gb3MR on line 7 and defined in /in/gb3MR on line 2
Process exited with code 255.