Answers for "extract($user_input); alternative php"

PHP
5

extract($user_input); alternative php

$info = array('Doina', 'brown', 'long');

// Listing all the variables
list($she, $color, $hear) = $info;
echo "$she has $color eyes color and $hear black hair.\n";
Posted by: Guest on August-05-2020

Browse Popular Code Answers by Language