Regex to match string that contains substrings separated with dots

后端 未结 0 504
野趣味
野趣味 2021-01-13 23:25

I need to get a value from an array using the dot notation. For example:

$arr = [
    \'first\' => [
        \'second\' => [
            \'third\' =>         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题