Skip to content
Advertisement

Tag: pattern-matching

Pattern Match on a Array Key

I need to get the stock values out of this array: I need to pattern match on this array, where the array key = “stock” + 1 wildcard character. I have tried using the array filter function to get every other value on the PHP manual but the empty values seem to throw it out. I tried alot of different

Advertisement