You are here

protected function JSMin::isAlphaNum in Javascript Aggregator 6

Same name and namespace in other branches
  1. 5 jsmin.php \JSMin::isAlphaNum()
1 call to JSMin::isAlphaNum()
JSMin::min in ./jsmin.php

File

./jsmin.php, line 159

Class

JSMin
jsmin.php - PHP implementation of Douglas Crockford's JSMin.

Code

protected function isAlphaNum($c) {
  return ord($c) > 126 || $c === '\\' || preg_match('/^[\\w\\$]$/', $c) === 1;
}