function coder_preprocessor_php in Coder 7.2
Same name and namespace in other branches
- 5.2 scripts/coder_format/coder_format.inc \coder_preprocessor_php()
- 5 scripts/coder_format/coder_format.inc \coder_preprocessor_php()
- 6.2 scripts/coder_format/coder_format.inc \coder_preprocessor_php()
- 6 scripts/coder_format/coder_format.inc \coder_preprocessor_php()
- 7 scripts/coder_format/coder_format.inc \coder_preprocessor_php()
Related topics
File
- scripts/
coder_format/ coder_format.inc, line 1177 - Coder format helper functions.
Code
function coder_preprocessor_php() {
return array(
'#title' => 'Always use <?php ?> to delimit PHP code, not the <? ?> shorthands.',
'#search' => '@<\\?(\\s)@',
'#replace' => "<?php\$1",
);
}