PHP function extract()

Availability in PHP 4.0

Import variables into the current symbol table from an array

Parameters

Parameter Data type Default value Note
$var_array array not
$extract_type int null,
$prefix string null

Return values

int

the number of variables successfully imported into the symbol table.

Other resources

Official documentation for extract

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.