| nome | descrizione breve |
|---|---|
PHP_EOL |
Crea un ‘a capo’ multi-piattaforma |
PHP_OS |
Restituisce informazioni sul server php |
__DIR__ |
Restituisce il percorso della directory in cui si trova il file corrente |
__FILE__ |
Restituisce il percorso (path) del file corrente |
__CLASS__Contiene il nome della classe corrente.__FUNCTION__Contiene il nome della funzione che stiamo utilizzando.__LINE__Contiene il numero di riga corrente.__METHOD__Contiene il nome del metodo corrente.__NAMESPACE__Contiene il nome del namespace corrente.__TRAIT__Contiene il nome del trait corrente.CAL_GREGORIANCAL_JULIANCAL_JEWISHCAL_FRENCHCAL_NUM_CALSCAL_DOW_DAYNOCAL_DOW_SHORTCAL_DOW_LONGCAL_MONTH_GREGORIAN_SHORTCAL_MONTH_GREGORIAN_LONGCAL_MONTH_JULIAN_SHORTCAL_MONTH_JULIAN_LONGCAL_MONTH_JEWISHCAL_MONTH_FRENCHCAL_EASTER_DEFAULTCAL_EASTER_ROMANCAL_EASTER_ALWAYS_GREGORIANCAL_EASTER_ALWAYS_JULIANCAL_JEWISH_ADD_ALAFIM_GERESHCAL_JEWISH_ADD_ALAFIMCAL_JEWISH_ADD_GERESHAYIME_ERROR(1) Fatal run-time errors. These indicate errors that can not be recovered from, such as a memory allocation problem. Execution of the script is halted.E_WARNING(2) Run-time warnings (non-fatal errors). Execution of the script is not halted.E_PARSE(4) Compile-time parse errors. Parse errors should only be generated by the parser.E_NOTICE(8) Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script.E_CORE_ERROR(16) Fatal errors that occur during PHP’s initial startup. This is like an E_ERROR, except it is generated by the core of PHP.E_CORE_WARNING(32) Warnings (non-fatal errors) that occur during PHP’s initial startup. This is like an E_WARNING, except it is generated by the core of PHP.E_COMPILE_ERROR(64) Fatal compile-time errors. This is like an E_ERROR, except it is generated by the Zend Scripting Engine.E_COMPILE_WARNING(128) Compile-time warnings (non-fatal errors). This is like an E_WARNING, except it is generated by the Zend Scripting Engine.E_USER_ERROR(256) User-generated error message. This is like an E_ERROR, except it is generated in PHP code by using the PHP function trigger_error().E_USER_WARNING(512) User-generated warning message. This is like an E_WARNING, except it is generated in PHP code by using the PHP function trigger_error().E_USER_NOTICE(1024) User-generated notice message. This is like an E_NOTICE, except it is generated in PHP code by using the PHP function trigger_error().E_STRICT(2048) Enable to have PHP suggest changes to your code which will ensure the best interoperability and forward compatibility of your code. Since PHP 5 but not included in E_ALL until PHP 5.4.0E_RECOVERABLE_ERROR(4096) Catchable fatal error. It indicates that a probably dangerous error occurred, but did not leave the Engine in an unstable state. If the error is not caught by a user defined handle (see also set_error_handler()), the application aborts as it was an E_ERROR. Since PHP 5.2.0E_DEPRECATED(8192) Run-time notices. Enable this to receive warnings about code that will not work in future versions. Since PHP 5.3.0E_USER_DEPRECATED(16384) User-generated warning message. This is like an E_DEPRECATED, except it is generated in PHP code by using the PHP function trigger_error(). Since PHP 5.3.0E_ALL(32767) All errors and warnings, as supported, except of level E_STRICT prior to PHP 5.4.0.
Costanti di calendario predefinite
Costanti di errore e log predefinite
0 Comment