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_GREGORIAN
CAL_JULIAN
CAL_JEWISH
CAL_FRENCH
CAL_NUM_CALS
CAL_DOW_DAYNO
CAL_DOW_SHORT
CAL_DOW_LONG
CAL_MONTH_GREGORIAN_SHORT
CAL_MONTH_GREGORIAN_LONG
CAL_MONTH_JULIAN_SHORT
CAL_MONTH_JULIAN_LONG
CAL_MONTH_JEWISH
CAL_MONTH_FRENCH
CAL_EASTER_DEFAULT
CAL_EASTER_ROMAN
CAL_EASTER_ALWAYS_GREGORIAN
CAL_EASTER_ALWAYS_JULIAN
CAL_JEWISH_ADD_ALAFIM_GERESH
CAL_JEWISH_ADD_ALAFIM
CAL_JEWISH_ADD_GERESHAYIM
E_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