php how to generate dynamic list()?

前端 未结 4 1442

base on my understanding, this how list() work.

list($A1,$A2,$A3) = array($B1,B2,B3);

So with the help of list() we can assign val

4条回答
  •  死守一世寂寞
    2021-01-21 23:56

    You can create a lambda expression with create_function() for this. The list() will be only accessible within the expression.

提交回复
热议问题