[PHP] get_defined_functions()

get_defined_functions() (funzione PHP) restituisce, sotto forma di array, tutte le funzioni predefinite (indice internal) nonché quelle definite dallo sviluppatore (indice user).

tips&tricks

Sintassi

get_defined_functions()
parametro descrizione
Nessuno

Esempi

function nomefunzione(){
	// codice
}
print_r(get_defined_functions());

/* RISULTATO
Array
(
    [internal] => Array
        (
            [0] => zend_version
            [omissis]
            [1136] => cli_get_process_title
        )

    [user] => Array
        (
            [0] => nomefunzione
        )

)
*/

Contenuti correlati

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • SQL
  • WORDPRESS

Fonti esterne

funzioni php, php

Related Articles

0 Comment