Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:checkclasses

Load every declared class and report the ones PHP refuses to load.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/commands/checkclasses.md

On this page

exp:checkclasses

Load every declared class and report the ones PHP refuses to load.

Script bin/php/checkclasses.php, code in kernel/private/classes/commands/checkclasses.php. Run it from the installation root, as the user the web server runs as:

./console exp:checkclasses --help
php bin/php/checkclasses.php --help

Help text

Exponential class loader check
Loads every class this installation declares and reports the ones php refuses.

./bin/php/checkclasses.php

Options

OptionValueHelp
--kernelCheck the kernel classes as well as the extension ones. Slower, and they are the ones least likely to be wrong.
--testsInclude classes that live under a tests directory. Left out by default: they are usually written against whichever version of phpunit was current, and a test class that will not load breaks nothing anybody is looking at.
--quiet-okPrint nothing when everything loads.

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/checkclasses.php, kernel/private/classes/commands/checkclasses.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x