(from: number, to: number)
| 226 | function phpCodeOnly(source: string): string { |
| 227 | const out = source.split(''); |
| 228 | const blank = (from: number, to: number): void => { |
| 229 | for (let k = from; k < to && k < out.length; k++) if (out[k] !== '\n' && out[k] !== '\r') out[k] = ' '; |
| 230 | }; |
| 231 | const n = source.length; |
| 232 | let i = 0; |
| 233 | let inPhp = false; |