function coder_preprocessor_php in Coder 5
Same name and namespace in other branches
- 5.2 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.2 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 857
Code
function coder_preprocessor_php() {
return array(
'#title' => 'Always use <?php ?> to delimit PHP code, not the <? ?> shorthands.',
'#search' => '/<\\?(\\s)/',
'#replace' => "<?php\$1",
);
}