- var_dump: documentation ( source)
- preg_match: documentation ( source)
- html_entity_decode: documentation ( source)
<?php
$decoded = html_entity_decode('');
$result = preg_match('/./su', $decoded, $matches);
var_dump($result);
var_dump($matches);
var_dump(PCRE_VERSION);
if (!preg_match('/./su', $decoded))
{
throw new \InvalidArgumentException("Received invalid UTF-8 for string column");
}