H A D | ebnf.php | 45 // input example 46 $input = <<<EOD 66 $input = $_GET['syntax']; 67 $input = stripslashes($input); variable 74 $tokens = ebnf_scan($input, true); 256 function ebnf_scan(&$input) { 258 $i = 0; $n = strlen($input); $m = count($ebnf_lexemes); $tokens = array(); 262 preg_match("/^{$ebnf_lexemes[$j]['expr']}/", substr($input,$i), $matches)==0) $j++; 47 $input = <<<EOD global() variable 68 $input = stripslashes($input); global() variable 257 ebnf_scan(& $input) global() argument
|