Php ord mengonversi byte pertama dari string ke nilai antara 0 dan 255
<?php
$str = "\n";
if (ord($str) == 10) {
echo "The first character of \$str is a line feed.\n";
}
?>
SAMER SAEID