<?php $basename = "a\xFFnything"; print("Before: ".$basename.PHP_EOL); $basename = preg_replace('/[\x00-\x1F]/u', '_', $basename); print("After: ".array_flip(get_defined_constants(true)['pcre'])[preg_last_error()]);
You have javascript disabled. You will not be able to edit any code.