PHP extract() — PHP Array To Variable Example Tutorial

--

Hi Guys,

In this blog, I will show you how to extract() function is used to import variables from an array into the current symbol table. It takes an associative array array and treats keys as variable names and values as variable values. For each key/value pair it will engender a variable in the current symbol table, subject to extract_type and prefix parameters.

more..
https://codingtracker.blogspot.com/2021/04/php-extract-php-array-to-variable.html

--

--

Bhavesh Sonagra
Bhavesh Sonagra

No responses yet