|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/irtiweb/CATS/vendor/behat/mink/driver-testsuite/web-fixtures/ |
Upload File : |
<?php
function html_escape_value($data)
{
if (!is_array($data)) {
return htmlspecialchars($data, ENT_QUOTES, 'UTF-8', false);
}
$escapedData = array();
foreach ($data as $key => $value) {
$escapedData[html_escape_value($key)] = html_escape_value($value);
}
return $escapedData;
}