Skip to content

Instantly share code, notes, and snippets.

@ribafs
Created September 22, 2022 10:53
Show Gist options
  • Save ribafs/7a503172f721206b67e66bc93fcea607 to your computer and use it in GitHub Desktop.
Save ribafs/7a503172f721206b67e66bc93fcea607 to your computer and use it in GitHub Desktop.
Brincando com arrays múltiplos
Quer ver algo que me enrolava todo? Arrays múltiplos.
Como faço paga pegar alguns dos seus elementos?
Exemplo para diversão e aprendizado:
Array ( [0] => 1 [1] => Array ( [0] => App\Controllers\ProductController Object ( ) [1] => edit ) [2] => Array ( [table] => product [action] => edit [id] => 3 ) )
Preciso pegar o valor de:
table
action
id
Como faço isso?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment