adding pmdynaform lib folder

This commit is contained in:
Fernando Ontiveros
2025-04-04 12:19:34 +00:00
parent 64be540376
commit 28c36b5c91
452 changed files with 405833 additions and 0 deletions

View File

@@ -220,6 +220,10 @@ class JSMin {
* @return bool
*/
protected function isAlphaNum($c) {
// Check if $c is null or not a string
if (!is_string($c) || strlen($c) === 0) {
return false; // Return false if $c is not a valid character
}
return ord($c) > 126 || $c === '\\' || preg_match('/^[\w\$]$/', $c) === 1;
}