Tag: make variable in loop in php

  • How can I build variable at run time in PHP?

    Mostly time we need to create some variables at run time. because we do not want to write same line. For example you have an array like : $user_details = array( ‘name’ => ‘test1′, ’email’ => ‘test@example.com’, ‘phone_number’ => ‘1234567890’ ); and you want to make run time variable like : $name = ‘test1’; $email…