3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "TT"; Var_dump(ord($a), ord($a[0]).ord($a[1]));
based on K9pRX
Output for 5.6.0 - 7.3.0alpha1
int(84) string(4) "8484"