Skip to the content
Documentation

exp:ezcheckphptag

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Check files for characters before the PHP start tag or after the end tag

Usage

./console exp:ezcheckphptag [options]
php bin/php/ezcheckphptag.php [options]

Help

The output of ./console help exp:ezcheckphptag (the script run with --help), without the standard options:

Usage: bin/php/ezcheckphptag.php [OPTION]... [PATH]...
Exponential PHP tag checker

Checks for characters before the PHP start tag and after the PHP end tag
and sets exit code based on the result
PATH can either be a file or a directory

ezcheckphptag.php lib


Options:
  --no-print  Do not print path for bad files

Options

Option Value Description
--no-print - Do not print path for bad files

Arguments

[path+]

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/ezcheckphptag.php, kernel/private/classes/commands/ezcheckphptag.php

See also

Generated example: exp:ezcheckphptag

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.