StackOverflow Questions for Tag: array-walk

mickmackusa
mickmackusa

Reputation: 48031

Why should native sorting functions be called by array_walk() with explicit sorting function parameters?

Score: 3

Views: 79

Answers: 1

Read More
Works for a Living
Works for a Living

Reputation: 1293

Assignment of key variable inside array_walk() is not changing the value

Score: 0

Views: 343

Answers: 1

Read More
J HAED
J HAED

Reputation: 21

The return value in array_walk()'s callback is not affecting the original array

Score: 2

Views: 891

Answers: 2

Read More
John Cooper
John Cooper

Reputation: 7651

Why is the & symbol required for the value parameter of array_walk()'s callback function?

Score: 3

Views: 2606

Answers: 4

Read More
Allenph
Allenph

Reputation: 2015

How to use array_walk() with a function which belongs to a class?

Score: 1

Views: 2052

Answers: 1

Read More
Tadas
Tadas

Reputation: 331

Cannot iterate over iterator with array_walk since php 7.4

Score: 13

Views: 589

Answers: 2

Read More
EricP
EricP

Reputation: 1449

"Uncaught ArgumentCountError: stripslashes() expects exactly 1 argument" while calling stripslashes() by function name with array_walk_recursive()

Score: 0

Views: 400

Answers: 2

Read More
viher
viher

Reputation: 114

PHP Can't print all keys name in array with array_walk()

Score: 2

Views: 234

Answers: 1

Read More
codyfraley
codyfraley

Reputation: 99

How do I get the value of the first occurrence of array_walk_recursive in php

Score: 2

Views: 2426

Answers: 4

Read More
Drew Baker
Drew Baker

Reputation: 14450

Replace an element with a specific key in a multidimensional array of unknown depth

Score: 0

Views: 104

Answers: 1

Read More
Sandeepan Nath
Sandeepan Nath

Reputation: 10294

How do I use a class method as a callback function?

Score: 48

Views: 35501

Answers: 5

Read More
Rhecil Codes
Rhecil Codes

Reputation: 541

Put values in array outside of array_walk_recursive()

Score: 0

Views: 509

Answers: 1

Read More
Milad
Milad

Reputation: 51

walk through array with nested output in PHP

Score: 0

Views: 65

Answers: 1

Read More
user_1234
user_1234

Reputation: 771

How to pass multiple parameters in array_walk

Score: 0

Views: 212

Answers: 0

Read More
Indesh Prinja
Indesh Prinja

Reputation: 3

PHP Merge multiple multi-dimensional, also keep unique children

Score: 0

Views: 142

Answers: 1

Read More
user_1234
user_1234

Reputation: 771

Push key value in empty array using php

Score: 2

Views: 826

Answers: 1

Read More
Radon8472
Radon8472

Reputation: 4991

PHP 5.4 Call-time pass-by-reference - How to fix it?

Score: 0

Views: 973

Answers: 1

Read More
Elementor
Elementor

Reputation: 57

PHP - modify formatted array

Score: -1

Views: 76

Answers: 1

Read More
Anonymous
Anonymous

Reputation: 1094

Display array result in html table using array_walk or array_map

Score: 0

Views: 535

Answers: 1

Read More
MA Samad
MA Samad

Reputation: 73

Geeting error Undefined variable: desc even already defined as empty

Score: 0

Views: 132

Answers: 1

Read More
PreviousPage 1Next