<?php $pattern = "/\\s/"; $characters = array( 0x09 /*HT*/, 0x0A /*LF*/, 0x0B /*VT*/, 0x0C /*FF*/, 0x0D /*CR*/, 0x20 /*SP*/ ); foreach ($characters as $code) { echo sprintf("0x%02X: %s\n", $code, preg_match($pattern, chr($code))); }
You have javascript disabled. You will not be able to edit any code.