ord fonksiyonu

Php'de bir string karakterinin ASCII değerini nasıl bulabilirim?

<?php
$text "\nhello";
echo 
ord($text);  

?>

10