3v4l.org

run code in 300+ PHP versions simultaneously
<?php $decoded = html_entity_decode('&#65534;'); $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"); }

preferences:
66.27 ms | 402 KiB | 5 Q