I want to make every entry of an array to a new instance variable with the same name as the names and values in the array.

Code:
  
	$variables = array(
		    array(
			"name" => $row[name],
			"value" => $row[value]
		    )
		    
		);
		// Printing all the keys and values one by one
		$keys = array_keys($variables);
		for($i = 0; $i < count($variables);
...