מדריך PHP
קודם
הבא
הערה:
Since version 4.0.5 this function returns the number of variables extracted.
הערה:
extract() checks each key to see whether it constitutes a valid variable name and also for collisions with existing variables in the symbol table.
The way invalid / numeric keys and collisions are treated is determined by extract_type.
Since PHP 4.0.5 this includes numeric ones as well.
A possible use for extract is to import into the symbol table variables contained in an associative array returned by wddx_deserialize().
דוגמה 1. extract() example
קודם
ראשי
הבא
למעלה