How to pass a variable in a foreach .. to get all the indexes of an array [closed]
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 7 years ago . Not sure if this is possible but here goes... i need to get all of the indexes of an array contained within an object foreach <?php foreach($all_orders